Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001847/0.001847, allocations: 95.59 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002804/0.002804, allocations: 156.9 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.656/1.656, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.759e-05, allocations: 6.312 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007481/0.007509, allocations: 4.693 MB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.01033, allocations: 1.355 MB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.01065, allocations: 43.62 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006716/0.01132, allocations: 222.4 kB / 278.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008927/0.01221, allocations: 381.5 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.01267, allocations: 235.5 kB / 279.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.01457, allocations: 1.607 MB / 280.7 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008847/0.01546, allocations: 0.5477 MB / 281.3 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.01679, allocations: 0.9707 MB / 282.3 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.01802, allocations: 0.756 MB / 283 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002621/0.01828, allocations: 167.9 kB / 283.2 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006039/0.01889, allocations: 168 kB / 283.4 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005082/0.01939, allocations: 466.7 kB / 283.8 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007208/0.02012, allocations: 0.5067 MB / 284.3 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.02269, allocations: 2.158 MB / 286.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.0227, allocations: 4 kB / 286.5 MB, free: 3.426 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.0227, allocations: 0 / 286.5 MB, free: 3.426 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.549e-05/0.02273, allocations: 0 / 286.5 MB, free: 3.426 MB / 266.7 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.004645/0.02737, allocations: 2.469 MB / 288.9 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.02742, allocations: 11.98 kB / 289 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006794/0.0281, allocations: 248 kB / 289.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1253/0.1534, allocations: 0.8604 MB / 290.1 MB, free: 27.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/0.1535, allocations: 73.44 kB / 290.1 MB, free: 27.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.1536, allocations: 101.1 kB / 290.2 MB, free: 27.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.156, allocations: 1.496 MB / 291.7 MB, free: 27.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.156, allocations: 1.188 kB / 291.7 MB, free: 27.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.1561, allocations: 37.8 kB / 291.8 MB, free: 27.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.818e-05/0.1562, allocations: 45.31 kB / 291.8 MB, free: 27.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.158, allocations: 1.141 MB / 292.9 MB, free: 26.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00625/0.1643, allocations: 4.6 MB / 297.5 MB, free: 24.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.1656, allocations: 0.8769 MB / 298.4 MB, free: 23.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.1666, allocations: 0.595 MB / 299 MB, free: 23.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.1667, allocations: 12.31 kB / 299 MB, free: 23.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008146/0.1675, allocations: 0.6183 MB / 299.7 MB, free: 23.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.204e-06/0.1675, allocations: 0 / 299.7 MB, free: 23.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.006479/0.174, allocations: 2.528 MB / 302.2 MB, free: 22.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.174, allocations: 112.2 kB / 302.3 MB, free: 22.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.175, allocations: 0.9631 MB / 303.3 MB, free: 21.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.1751, allocations: 40.64 kB / 303.3 MB, free: 21.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.1754, allocations: 0.5987 MB / 303.9 MB, free: 21.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.1756, allocations: 277.1 kB / 304.2 MB, free: 20.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.1758, allocations: 165.7 kB / 304.3 MB, free: 20.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.176, allocations: 0.6417 MB / 305 MB, free: 20.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.1764, allocations: 306.6 kB / 305.3 MB, free: 19.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005502/0.177, allocations: 0.59 MB / 305.9 MB, free: 19.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000872/0.1778, allocations: 0.8197 MB / 306.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1779, allocations: 8 kB / 306.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001436/0.1793, allocations: 1.127 MB / 307.8 MB, free: 17.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1793, allocations: 12.03 kB / 307.8 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1793, allocations: 4 kB / 307.8 MB, free: 17.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008808/0.1802, allocations: 430.6 kB / 308.2 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.1805, allocations: 95.89 kB / 308.3 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005143/0.1857, allocations: 5.366 MB / 313.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.1862, allocations: 83.09 kB / 313.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.1862, allocations: 24 kB / 313.8 MB, free: 11.46 MB / 266.7 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_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) * 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.0004872/0.1867, allocations: 453.4 kB / 314.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.1868, allocations: 115.4 kB / 314.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.187, allocations: 109.5 kB / 314.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.187, allocations: 8 kB / 314.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.187, allocations: 2.938 kB / 314.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.187, allocations: 3.984 kB / 314.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/0.1902, allocations: 2.37 MB / 316.9 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1902, allocations: 4 kB / 316.9 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.1904, allocations: 55.91 kB / 316.9 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007377/0.1912, allocations: 399.2 kB / 317.3 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.1912, allocations: 19.98 kB / 317.3 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004851/0.1961, allocations: 5.098 MB / 322.4 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1961, allocations: 3.938 kB / 322.4 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.198, allocations: 1.565 MB / 324 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004936/0.1985, allocations: 191.1 kB / 324.2 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.1986, allocations: 12 kB / 324.2 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.199, allocations: 43.95 kB / 324.2 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/0.1992, allocations: 80.5 kB / 324.3 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.1993, allocations: 27.08 kB / 324.3 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006304/0.1999, allocations: 0.6005 MB / 324.9 MB, free: 156 kB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1999, allocations: 3.828 kB / 324.9 MB, free: 156 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001063/0.201, allocations: 351.3 kB / 325.3 MB, free: 15.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.0002179/0.2012, allocations: 127.2 kB / 325.4 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002485/0.2037, allocations: 1.189 MB / 326.6 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2037, allocations: 0 / 326.6 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.2051, allocations: 0.8169 MB / 327.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.2063, allocations: 275.6 kB / 327.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.2106, allocations: 2.163 MB / 329.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008485/0.2114, allocations: 0.6795 MB / 330.5 MB, free: 10.47 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003617/0.2118, allocations: 111.3 kB / 330.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.2119, allocations: 60.48 kB / 330.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of SimCode: time 2.054e-06/0.2119, allocations: 4 kB / 330.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of Templates: time 0.03445/0.2464, allocations: 18.63 MB / 349.3 MB, free: 7.977 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.220685534994118]