Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.302e-05, allocations: 9.688 kB / 272.4 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007432/0.007465, allocations: 4.689 MB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.01049, allocations: 1.355 MB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003763/0.01087, allocations: 35.75 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007145/0.01158, allocations: 230.3 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.01259, allocations: 377.5 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.01312, allocations: 235.5 kB / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.01509, allocations: 1.587 MB / 280.8 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009024/0.01599, allocations: 0.5515 MB / 281.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.01742, allocations: 0.9668 MB / 282.4 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.01875, allocations: 0.7521 MB / 283.1 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000261/0.01901, allocations: 164 kB / 283.3 MB, free: 6.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000331/0.01934, allocations: 168 kB / 283.4 MB, free: 6.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005088/0.01985, allocations: 470.7 kB / 283.9 MB, free: 6.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006917/0.02054, allocations: 0.5028 MB / 284.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.0232, allocations: 2.158 MB / 286.6 MB, free: 3.531 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.02321, allocations: 4 kB / 286.6 MB, free: 3.527 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.02321, allocations: 3.938 kB / 286.6 MB, free: 3.523 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.369e-05/0.02325, allocations: 0 / 286.6 MB, free: 3.523 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.004516/0.02776, allocations: 2.465 MB / 289 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.0278, allocations: 8.031 kB / 289 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006251/0.02843, allocations: 248 kB / 289.3 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1086/0.137, allocations: 0.8685 MB / 290.1 MB, free: 27.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.221e-05/0.1371, allocations: 76.31 kB / 290.2 MB, free: 27.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.1373, allocations: 101.3 kB / 290.3 MB, free: 27.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.1397, allocations: 1.495 MB / 291.8 MB, free: 27.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.1397, allocations: 1 kB / 291.8 MB, free: 27.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.1398, allocations: 38.28 kB / 291.9 MB, free: 27.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/0.1399, allocations: 45.53 kB / 291.9 MB, free: 27.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.1417, allocations: 1.14 MB / 293 MB, free: 26.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006617/0.1484, allocations: 4.597 MB / 297.6 MB, free: 24.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.1499, allocations: 0.8758 MB / 298.5 MB, free: 23.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.1512, allocations: 0.5959 MB / 299.1 MB, free: 23.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.135e-05/0.1512, allocations: 15.3 kB / 299.1 MB, free: 23.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008801/0.1521, allocations: 0.614 MB / 299.7 MB, free: 23.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.444e-06/0.1521, allocations: 0 / 299.7 MB, free: 23.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.006771/0.1589, allocations: 2.53 MB / 302.3 MB, free: 22.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1589, allocations: 113.1 kB / 302.4 MB, free: 22.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.16, allocations: 0.9627 MB / 303.3 MB, free: 21.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.1601, allocations: 41.92 kB / 303.4 MB, free: 21.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.1604, allocations: 0.5916 MB / 304 MB, free: 21.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.1606, allocations: 284.8 kB / 304.3 MB, free: 20.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.1608, allocations: 167.5 kB / 304.4 MB, free: 20.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.161, allocations: 0.639 MB / 305.1 MB, free: 20.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.1615, allocations: 307.5 kB / 305.4 MB, free: 20.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.162, allocations: 0.5879 MB / 305.9 MB, free: 19.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.1629, allocations: 0.8206 MB / 306.8 MB, free: 18.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.1629, allocations: 8 kB / 306.8 MB, free: 18.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001506/0.1644, allocations: 1.129 MB / 307.9 MB, free: 17.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1645, allocations: 12.03 kB / 307.9 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.1645, allocations: 4 kB / 307.9 MB, free: 17.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008891/0.1654, allocations: 421.9 kB / 308.3 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.1657, allocations: 99.83 kB / 308.4 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005255/0.171, allocations: 5.373 MB / 313.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000627/0.1716, allocations: 81.12 kB / 313.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.1716, allocations: 24 kB / 313.9 MB, free: 11.59 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.0005915/0.1722, allocations: 457.1 kB / 314.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.1724, allocations: 115.4 kB / 314.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.1726, allocations: 108.4 kB / 314.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1726, allocations: 8 kB / 314.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1726, allocations: 0 / 314.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.1726, allocations: 3.984 kB / 314.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/0.1762, allocations: 2.366 MB / 316.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1762, allocations: 0 / 316.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.1765, allocations: 59.91 kB / 317 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007858/0.1773, allocations: 403.6 kB / 317.4 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.1773, allocations: 16 kB / 317.4 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004972/0.1823, allocations: 5.102 MB / 322.5 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1823, allocations: 0 / 322.5 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.1843, allocations: 1.568 MB / 324.1 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.1847, allocations: 191.2 kB / 324.3 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.1849, allocations: 12 kB / 324.3 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.1853, allocations: 43.95 kB / 324.3 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.1855, allocations: 80.5 kB / 324.4 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.1855, allocations: 19.98 kB / 324.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006161/0.1861, allocations: 0.6005 MB / 325 MB, free: 292 kB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1861, allocations: 4 kB / 325 MB, free: 288 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009991/0.1871, allocations: 355.2 kB / 325.4 MB, free: 15.93 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.0002359/0.1874, allocations: 130.1 kB / 325.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.1897, allocations: 1.196 MB / 326.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1897, allocations: 0 / 326.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.1912, allocations: 0.8145 MB / 327.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.1924, allocations: 270.1 kB / 327.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/0.197, allocations: 2.169 MB / 329.9 MB, free: 11.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009712/0.1979, allocations: 0.6834 MB / 330.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003976/0.1983, allocations: 107.1 kB / 330.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.1985, allocations: 60.48 kB / 330.8 MB, free: 10.42 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1985, allocations: 3.938 kB / 330.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of Templates: time 0.03598/0.2345, allocations: 18.63 MB / 349.4 MB, free: 8.09 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.163770799990743]