Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 124.5 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 190.7 kB / 21.4 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 51.92 kB / 366.8 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1099, allocations: 52.14 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.009297/0.1192, allocations: 4.75 MB / 423.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.1228, allocations: 1.301 MB / 425 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005189/0.1233, allocations: 31.88 kB / 425.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008706/0.1242, allocations: 222.4 kB / 425.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.1254, allocations: 350 kB / 425.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.126, allocations: 215.6 kB / 425.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002519/0.1285, allocations: 1.533 MB / 427.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.1299, allocations: 0.719 MB / 428.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.1311, allocations: 0.6425 MB / 428.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.1327, allocations: 0.7744 MB / 429.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003331/0.133, allocations: 164 kB / 429.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.1334, allocations: 164 kB / 429.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006026/0.134, allocations: 438.8 kB / 430.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.1351, allocations: 0.7312 MB / 431 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.1381, allocations: 2.09 MB / 433.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1382, allocations: 0 / 433.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1382, allocations: 0 / 433.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.713e-05/0.1382, allocations: 0 / 433.1 MB, free: 13.89 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004559/0.1427, allocations: 1.676 MB / 434.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1428, allocations: 12.02 kB / 434.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.1432, allocations: 144 kB / 434.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.1454, allocations: 0.9469 MB / 435.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.24e-05/0.1454, allocations: 70.38 kB / 435.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.1457, allocations: 108.1 kB / 436 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003829/0.1495, allocations: 1.439 MB / 437.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.1496, allocations: 0 / 437.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.1497, allocations: 43.94 kB / 437.5 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-05/0.1498, allocations: 41.98 kB / 437.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.1531, allocations: 1.3 MB / 438.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009799/0.1629, allocations: 4.313 MB / 443.1 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/0.1661, allocations: 1.892 MB / 445 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.1681, allocations: 0.6961 MB / 445.7 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.323e-05/0.1682, allocations: 8.656 kB / 445.7 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.1695, allocations: 0.5937 MB / 446.3 MB, free: 144 kB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 3.476e-06/0.1695, allocations: 4 kB / 446.3 MB, free: 140 kB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.2515/0.421, allocations: 2.794 MB / 449.1 MB, free: 30.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.4211, allocations: 114 kB / 449.2 MB, free: 30.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.4221, allocations: 0.818 MB / 450.1 MB, free: 30.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.4222, allocations: 46.12 kB / 450.1 MB, free: 30.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.4225, allocations: 499.2 kB / 450.6 MB, free: 29.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.4227, allocations: 253.5 kB / 450.8 MB, free: 29.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.4229, allocations: 137.4 kB / 451 MB, free: 29.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.423, allocations: 392.4 kB / 451.4 MB, free: 29.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006672/0.4237, allocations: 392.4 kB / 451.7 MB, free: 29.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008458/0.4245, allocations: 0.5451 MB / 452.3 MB, free: 29.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.4259, allocations: 0.9167 MB / 453.2 MB, free: 29.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.4259, allocations: 1.094 kB / 453.2 MB, free: 29.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002444/0.4284, allocations: 1.282 MB / 454.5 MB, free: 28.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.4284, allocations: 7.984 kB / 454.5 MB, free: 28.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.4284, allocations: 4.688 kB / 454.5 MB, free: 28.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.4295, allocations: 475.1 kB / 455 MB, free: 28.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003609/0.4299, allocations: 89.53 kB / 455.1 MB, free: 28.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006442/0.4363, allocations: 5.579 MB / 460.6 MB, free: 25.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006218/0.437, allocations: 91.69 kB / 460.7 MB, free: 25.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.437, allocations: 27.67 kB / 460.8 MB, free: 25.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0006607/0.4377, allocations: 463.8 kB / 461.2 MB, free: 24.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.4378, allocations: 92.67 kB / 461.3 MB, free: 24.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.438, allocations: 109.2 kB / 461.4 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.438, allocations: 6.625 kB / 461.4 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.438, allocations: 1.703 kB / 461.4 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.438, allocations: 7.969 kB / 461.4 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/0.4418, allocations: 2.581 MB / 464 MB, free: 23.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4418, allocations: 0 / 464 MB, free: 23.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.4421, allocations: 65.88 kB / 464.1 MB, free: 23.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009374/0.443, allocations: 461 kB / 464.5 MB, free: 23.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.4431, allocations: 14.7 kB / 464.5 MB, free: 23.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006031/0.4491, allocations: 5.507 MB / 470 MB, free: 20.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4491, allocations: 2.625 kB / 470 MB, free: 20.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.4516, allocations: 1.896 MB / 471.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.452, allocations: 279.3 kB / 472.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.4521, allocations: 11.78 kB / 472.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.4525, allocations: 47.61 kB / 472.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.4527, allocations: 69.36 kB / 472.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.4527, allocations: 25.52 kB / 472.4 MB, free: 18.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006974/0.4534, allocations: 0.5878 MB / 472.9 MB, free: 18.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4534, allocations: 0 / 472.9 MB, free: 18.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001033/0.4545, allocations: 348.9 kB / 473.3 MB, free: 18.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001679/0.4546, allocations: 129.5 kB / 473.4 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.4566, allocations: 1.248 MB / 474.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.4566, allocations: 0 / 474.7 MB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.4578, allocations: 0.7977 MB / 475.5 MB, free: 17.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.4589, allocations: 280.8 kB / 475.7 MB, free: 17.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/0.4625, allocations: 2.357 MB / 478.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005749/0.463, allocations: 1.298 MB / 479.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.4632, allocations: 54.84 kB / 479.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4632, allocations: 0 / 479.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of Templates: time 0.02271/0.4859, allocations: 20.74 MB / 0.4885 GB, free: 11.36 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.609625968849286]