Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001766/0.001766, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.001926/0.001926, allocations: 153.1 kB / 24.27 MB, free: 164 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.526/1.526, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.621e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006109/0.006135, allocations: 3.623 MB / 271 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.008614, allocations: 1.005 MB / 272 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.008876, allocations: 19.88 kB / 272 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.009205, allocations: 107.1 kB / 272.1 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008655/0.01007, allocations: 254.4 kB / 272.3 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.01042, allocations: 151.6 kB / 272.5 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.01157, allocations: 0.9842 MB / 273.5 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005585/0.01213, allocations: 323.5 kB / 273.8 MB, free: 216 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008374/0.01297, allocations: 0.5964 MB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008448/0.01382, allocations: 478.9 kB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.01398, allocations: 100 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.01419, allocations: 104 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.01452, allocations: 291.1 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00048/0.015, allocations: 327.2 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.01666, allocations: 1.324 MB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.01666, allocations: 0 / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01667, allocations: 0 / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.01668, allocations: 0 / 277 MB, free: 13.01 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00313/0.01981, allocations: 1.676 MB / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.01985, allocations: 8.922 kB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/0.02015, allocations: 144.4 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.02156, allocations: 0.5538 MB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.02162, allocations: 53.69 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.02174, allocations: 68.36 kB / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.02354, allocations: 0.9305 MB / 280.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.02357, allocations: 4 kB / 280.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.817e-05/0.02364, allocations: 31.98 kB / 280.4 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/0.0237, allocations: 29.25 kB / 280.5 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.02515, allocations: 0.6921 MB / 281.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005189/0.03034, allocations: 2.906 MB / 284.1 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008914/0.03123, allocations: 450.7 kB / 284.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005745/0.0318, allocations: 276 kB / 284.8 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.03185, allocations: 8.328 kB / 284.8 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007417/0.03259, allocations: 397.8 kB / 285.2 MB, free: 4.559 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 4.438e-06/0.03259, allocations: 3.984 kB / 285.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.003086/0.03568, allocations: 1.019 MB / 286.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/0.03578, allocations: 110.8 kB / 286.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009706/0.03675, allocations: 0.6627 MB / 287 MB, free: 2.715 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.0368, allocations: 37.73 kB / 287 MB, free: 2.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004639/0.03726, allocations: 447.3 kB / 287.4 MB, free: 2.227 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.03743, allocations: 154.8 kB / 287.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.03762, allocations: 107.8 kB / 287.7 MB, free: 1.961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004089/0.03803, allocations: 0.5782 MB / 288.3 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.03839, allocations: 180.9 kB / 288.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.03897, allocations: 404.6 kB / 288.9 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009173/0.03989, allocations: 0.5524 MB / 289.4 MB, free: 84 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.0399, allocations: 0 / 289.4 MB, free: 84 kB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.1219/0.1618, allocations: 0.6751 MB / 290.1 MB, free: 31.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.1618, allocations: 8.875 kB / 290.1 MB, free: 31.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.1618, allocations: 4.922 kB / 290.1 MB, free: 31.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000529/0.1623, allocations: 189.7 kB / 290.3 MB, free: 31.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.1627, allocations: 75.8 kB / 290.4 MB, free: 31.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.1655, allocations: 3.283 MB / 293.6 MB, free: 29.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.1659, allocations: 51.23 kB / 293.7 MB, free: 29.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.166, allocations: 19.64 kB / 293.7 MB, free: 29.52 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000409/0.1664, allocations: 337.2 kB / 294 MB, free: 29.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.1665, allocations: 76.44 kB / 294.1 MB, free: 29.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.1666, allocations: 63.61 kB / 294.2 MB, free: 29.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1666, allocations: 4.688 kB / 294.2 MB, free: 29.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1666, allocations: 1.188 kB / 294.2 MB, free: 29.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.1666, allocations: 6.094 kB / 294.2 MB, free: 29.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.1689, allocations: 1.578 MB / 295.8 MB, free: 28.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.169, allocations: 1.812 kB / 295.8 MB, free: 28.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.1692, allocations: 42.48 kB / 295.8 MB, free: 28.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/0.1696, allocations: 180 kB / 296 MB, free: 28.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.1696, allocations: 9.547 kB / 296 MB, free: 28.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002648/0.1723, allocations: 3.166 MB / 299.2 MB, free: 25.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1723, allocations: 1.219 kB / 299.2 MB, free: 25.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.1737, allocations: 0.9893 MB / 300.1 MB, free: 25.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.174, allocations: 109.8 kB / 300.3 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/0.1741, allocations: 7.641 kB / 300.3 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.1743, allocations: 25.64 kB / 300.3 MB, free: 25.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.1745, allocations: 52.64 kB / 300.3 MB, free: 25.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.1745, allocations: 11.42 kB / 300.4 MB, free: 25.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005336/0.1751, allocations: 438.3 kB / 300.8 MB, free: 25 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1751, allocations: 1.625 kB / 300.8 MB, free: 25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007869/0.1758, allocations: 213.6 kB / 301 MB, free: 24.96 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001489/0.176, allocations: 124.4 kB / 301.1 MB, free: 24.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.1772, allocations: 0.7205 MB / 301.8 MB, free: 24.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1772, allocations: 5.344 kB / 301.8 MB, free: 24.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000623/0.1778, allocations: 0.4889 MB / 302.3 MB, free: 24.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006748/0.1785, allocations: 140.5 kB / 302.5 MB, free: 24.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.1807, allocations: 1.35 MB / 303.8 MB, free: 23.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.1812, allocations: 449.2 kB / 304.3 MB, free: 23.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002243/0.1814, allocations: 73.06 kB / 304.3 MB, free: 23.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.1815, allocations: 44.36 kB / 304.4 MB, free: 23.23 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1815, allocations: 4 kB / 304.4 MB, free: 23.23 MB / 266.7 MB Notification: Performance of Templates: time 0.01409/0.1956, allocations: 9.644 MB / 314 MB, free: 15.81 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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: 4.651370757026598]