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.001109/0.001109, allocations: 76.08 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001629/0.001629, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 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.041/1.041, allocations: 173.4 MB / 201.1 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] 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 2.014e-06/2.014e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.467e-05/3.668e-05, allocations: 5.828 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007293/0.007329, allocations: 4.72 MB / 272.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.01078, allocations: 1.293 MB / 274 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008707/0.01165, allocations: 39.69 kB / 274.1 MB, free: 340 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009587/0.01261, allocations: 222.4 kB / 274.3 MB, free: 116 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.01385, allocations: 385.5 kB / 274.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.01449, allocations: 215.6 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002121/0.01661, allocations: 1.583 MB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.01761, allocations: 0.5398 MB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.0194, allocations: 0.9552 MB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.02098, allocations: 0.7365 MB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004777/0.02145, allocations: 164 kB / 278.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.02186, allocations: 164 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004951/0.02236, allocations: 470.7 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009558/0.02332, allocations: 0.5067 MB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.02508, allocations: 1.215 MB / 281.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.02508, allocations: 0 / 281.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.02509, allocations: 0 / 281.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.591e-05/0.02513, allocations: 0 / 281.2 MB, free: 9.16 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.003837/0.02897, allocations: 2.137 MB / 283.3 MB, free: 6.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.02901, allocations: 8.922 kB / 283.3 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002955/0.02931, allocations: 224 kB / 283.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.03037, allocations: 0.8287 MB / 284.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.03042, allocations: 74.36 kB / 284.5 MB, free: 5.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.03053, allocations: 100.4 kB / 284.6 MB, free: 5.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.03175, allocations: 0.88 MB / 285.4 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.03178, allocations: 7.938 kB / 285.4 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.946e-05/0.03185, allocations: 39.98 kB / 285.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.516e-05/0.03191, allocations: 46 kB / 285.5 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007735/0.03268, allocations: 387.6 kB / 285.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.03625, allocations: 3.611 MB / 289.5 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.119/0.1552, allocations: 0.5971 MB / 290.1 MB, free: 29.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008026/0.156, allocations: 375.1 kB / 290.5 MB, free: 29.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.623e-05/0.1561, allocations: 15.5 kB / 290.5 MB, free: 29.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005013/0.1566, allocations: 414.9 kB / 290.9 MB, free: 29.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.915e-06/0.1566, allocations: 0 / 290.9 MB, free: 29.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.0042/0.1608, allocations: 1.881 MB / 292.8 MB, free: 28.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.1608, allocations: 114.1 kB / 292.9 MB, free: 28.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007652/0.1616, allocations: 0.6856 MB / 293.6 MB, free: 28.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.1616, allocations: 40.45 kB / 293.6 MB, free: 28.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.162, allocations: 0.5433 MB / 294.2 MB, free: 28.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.1621, allocations: 262.7 kB / 294.4 MB, free: 28.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.1623, allocations: 149.5 kB / 294.6 MB, free: 28.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1625, allocations: 0.5869 MB / 295.1 MB, free: 27.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.1627, allocations: 107.8 kB / 295.3 MB, free: 27.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.1631, allocations: 379.4 kB / 295.6 MB, free: 27.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.1636, allocations: 455.8 kB / 296.1 MB, free: 27.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.1636, allocations: 1.125 kB / 296.1 MB, free: 27.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001065/0.1647, allocations: 0.658 MB / 296.7 MB, free: 27.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.1647, allocations: 6.875 kB / 296.7 MB, free: 27.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1647, allocations: 3.422 kB / 296.7 MB, free: 27.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006419/0.1654, allocations: 247.6 kB / 297 MB, free: 27.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.1656, allocations: 96.48 kB / 297.1 MB, free: 27.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.1694, allocations: 3.786 MB / 300.9 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.1697, allocations: 83.09 kB / 300.9 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.1698, allocations: 26.73 kB / 301 MB, free: 24.66 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.0002863/0.17, allocations: 205.4 kB / 301.2 MB, free: 24.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.1702, allocations: 112.1 kB / 301.3 MB, free: 24.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1703, allocations: 104.8 kB / 301.4 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1703, allocations: 6.781 kB / 301.4 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1703, allocations: 5.094 kB / 301.4 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1703, allocations: 6.719 kB / 301.4 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.1726, allocations: 1.632 MB / 303 MB, free: 23.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1726, allocations: 0 / 303 MB, free: 23.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.1728, allocations: 60.03 kB / 303.1 MB, free: 23.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005055/0.1733, allocations: 235 kB / 303.3 MB, free: 23.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.1733, allocations: 19.66 kB / 303.3 MB, free: 23.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003239/0.1766, allocations: 3.736 MB / 307.1 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1766, allocations: 1.641 kB / 307.1 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.1777, allocations: 0.8715 MB / 307.9 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.1779, allocations: 186.2 kB / 308.1 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.178, allocations: 13.62 kB / 308.1 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.1782, allocations: 38.3 kB / 308.2 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.1784, allocations: 87.25 kB / 308.3 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.1784, allocations: 20.89 kB / 308.3 MB, free: 20.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003682/0.1788, allocations: 446.2 kB / 308.7 MB, free: 20.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1788, allocations: 0 / 308.7 MB, free: 20.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008228/0.1796, allocations: 350.7 kB / 309.1 MB, free: 19.99 MB / 266.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.0001566/0.1797, allocations: 132.6 kB / 309.2 MB, free: 19.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.1808, allocations: 0.8168 MB / 310 MB, free: 19.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1808, allocations: 0 / 310 MB, free: 19.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.1813, allocations: 0.6337 MB / 310.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.1819, allocations: 263.9 kB / 310.9 MB, free: 18.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.1843, allocations: 1.989 MB / 312.9 MB, free: 16.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.1846, allocations: 371.9 kB / 313.3 MB, free: 16.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002072/0.1848, allocations: 114.3 kB / 313.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.696e-05/0.1849, allocations: 63.88 kB / 313.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1849, allocations: 0 / 313.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of Templates: time 0.01872/0.2036, allocations: 18.53 MB / 332 MB, free: 13.82 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4740017913281918]