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.00136/0.00136, allocations: 83.89 kB / 21.19 MB, free: 3.383 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.00135/0.00135, allocations: 141.1 kB / 24.54 MB, free: 36 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 0.951/0.951, allocations: 173.4 MB / 201.2 MB, free: 9.02 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 1.402e-06/1.402e-06, allocations: 0 / 268 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.267e-05, allocations: 2.312 kB / 268 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004688/0.004711, allocations: 4.712 MB / 272.7 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.007284, allocations: 1.289 MB / 274 MB, free: 244 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006418/0.007926, allocations: 35.75 kB / 274.1 MB, free: 208 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006049/0.008531, allocations: 230.4 kB / 274.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007812/0.009312, allocations: 381.5 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.00969, allocations: 215.6 kB / 274.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.01128, allocations: 1.579 MB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005925/0.01188, allocations: 0.5437 MB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.01297, allocations: 0.9629 MB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009578/0.01392, allocations: 0.7443 MB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002536/0.01418, allocations: 164 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.01438, allocations: 164 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.01467, allocations: 466.7 kB / 279.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.01511, allocations: 0.4989 MB / 280 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.01615, allocations: 1.211 MB / 281.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.01616, allocations: 4 kB / 281.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01616, allocations: 0 / 281.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.194e-05/0.01619, allocations: 0 / 281.2 MB, free: 9.023 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.002483/0.01867, allocations: 2.137 MB / 283.3 MB, free: 6.828 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.0187, allocations: 16.92 kB / 283.3 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.01895, allocations: 224 kB / 283.6 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008209/0.01977, allocations: 0.8112 MB / 284.4 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/0.01981, allocations: 74.38 kB / 284.5 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.837e-05/0.01991, allocations: 100.4 kB / 284.5 MB, free: 5.582 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.02105, allocations: 0.8761 MB / 285.4 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.02107, allocations: 7.922 kB / 285.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.67e-05/0.02114, allocations: 47.98 kB / 285.5 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-05/0.02119, allocations: 45.94 kB / 285.5 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007498/0.02194, allocations: 383.6 kB / 285.9 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00331/0.02525, allocations: 3.611 MB / 289.5 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1128/0.1381, allocations: 0.6006 MB / 290.1 MB, free: 28.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007125/0.1388, allocations: 380.1 kB / 290.5 MB, free: 28.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.1388, allocations: 13.88 kB / 290.5 MB, free: 28.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005064/0.1394, allocations: 404.8 kB / 290.9 MB, free: 28.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.695e-06/0.1394, allocations: 1.938 kB / 290.9 MB, free: 28.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.004115/0.1435, allocations: 1.881 MB / 292.8 MB, free: 28.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.1435, allocations: 117.4 kB / 292.9 MB, free: 28.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007577/0.1443, allocations: 0.6888 MB / 293.6 MB, free: 28.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.1443, allocations: 41.52 kB / 293.6 MB, free: 28.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.1447, allocations: 0.5462 MB / 294.2 MB, free: 28.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.1448, allocations: 256.8 kB / 294.4 MB, free: 27.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.145, allocations: 144.3 kB / 294.6 MB, free: 27.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1451, allocations: 0.5874 MB / 295.1 MB, free: 27.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.1454, allocations: 111.9 kB / 295.3 MB, free: 27.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.1457, allocations: 382.7 kB / 295.6 MB, free: 27.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.1461, allocations: 455.2 kB / 296.1 MB, free: 26.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1462, allocations: 1.406 kB / 296.1 MB, free: 26.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009583/0.1471, allocations: 0.6562 MB / 296.7 MB, free: 26.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1471, allocations: 6.781 kB / 296.7 MB, free: 26.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.1471, allocations: 4.438 kB / 296.7 MB, free: 26.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005675/0.1477, allocations: 247.1 kB / 297 MB, free: 26.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.1479, allocations: 96.59 kB / 297.1 MB, free: 26.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/0.1511, allocations: 3.784 MB / 300.9 MB, free: 24.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.1515, allocations: 82.33 kB / 300.9 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.1515, allocations: 34.88 kB / 301 MB, free: 24.43 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.0002299/0.1517, allocations: 203 kB / 301.2 MB, free: 24.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.1518, allocations: 118.3 kB / 301.3 MB, free: 24.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.927e-05/0.1519, allocations: 97.59 kB / 301.4 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1519, allocations: 7.688 kB / 301.4 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1519, allocations: 3.938 kB / 301.4 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1519, allocations: 4.844 kB / 301.4 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.1539, allocations: 1.635 MB / 303 MB, free: 23.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.1539, allocations: 0 / 303 MB, free: 23.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.154, allocations: 60.27 kB / 303.1 MB, free: 23.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004613/0.1545, allocations: 233.5 kB / 303.3 MB, free: 23.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.1545, allocations: 20.06 kB / 303.3 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.1572, allocations: 3.736 MB / 307.1 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1572, allocations: 0 / 307.1 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009455/0.1582, allocations: 0.8738 MB / 307.9 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.1584, allocations: 181.1 kB / 308.1 MB, free: 20.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.1584, allocations: 11.78 kB / 308.1 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.1586, allocations: 41 kB / 308.2 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.1588, allocations: 88.75 kB / 308.3 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.1588, allocations: 23.12 kB / 308.3 MB, free: 20.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003333/0.1591, allocations: 440.1 kB / 308.7 MB, free: 19.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1591, allocations: 0 / 308.7 MB, free: 19.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006816/0.1598, allocations: 356.2 kB / 309.1 MB, free: 19.77 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.000119/0.1599, allocations: 131 kB / 309.2 MB, free: 19.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008895/0.1608, allocations: 0.8185 MB / 310 MB, free: 19.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1608, allocations: 3.828 kB / 310 MB, free: 19.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000492/0.1613, allocations: 0.6295 MB / 310.6 MB, free: 18.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.1619, allocations: 264 kB / 310.9 MB, free: 18.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.1642, allocations: 1.994 MB / 312.9 MB, free: 16.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.1644, allocations: 364 kB / 313.3 MB, free: 16.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002097/0.1646, allocations: 111.8 kB / 313.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.1647, allocations: 60.48 kB / 313.4 MB, free: 15.85 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1647, allocations: 0 / 313.4 MB, free: 15.85 MB / 266.7 MB Notification: Performance of Templates: time 0.01835/0.183, allocations: 19.32 MB / 332.7 MB, free: 12.84 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.1870274408720434]