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.0007784/0.0007784, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001802, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001002/0.001002, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002369, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9882/0.9882, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09219/1.08, allocations: 52.5 MB / 238.3 MB, free: 4.418 MB / 234.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.482e-06/1.482e-06, allocations: 0 / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.581e-05, allocations: 2.312 kB / 239.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.008509/0.008525, allocations: 4.663 MB / 244.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003145/0.01167, allocations: 1.347 MB / 245.6 MB, free: 13.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005428/0.01221, allocations: 31.75 kB / 245.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005717/0.01278, allocations: 230.3 kB / 245.8 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008995/0.01368, allocations: 369.6 kB / 246.2 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.01415, allocations: 215.5 kB / 246.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.01572, allocations: 1.591 MB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007705/0.01649, allocations: 0.5632 MB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.01788, allocations: 1.055 MB / 249.6 MB, free: 9.008 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.01895, allocations: 0.7288 MB / 250.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002889/0.01924, allocations: 164 kB / 250.5 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.0195, allocations: 164 kB / 250.7 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003733/0.01987, allocations: 379 kB / 251 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006123/0.02048, allocations: 435.2 kB / 251.5 MB, free: 7.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.02173, allocations: 1.126 MB / 252.6 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.688e-05/0.02175, allocations: 0 / 252.6 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.02175, allocations: 0 / 252.6 MB, free: 6.031 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.182e-05/0.02179, allocations: 0 / 252.6 MB, free: 6.031 MB / 250.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.002614/0.02441, allocations: 1.736 MB / 254.3 MB, free: 4.266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.02444, allocations: 8.031 kB / 254.3 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.02474, allocations: 184.8 kB / 254.5 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.02579, allocations: 0.5794 MB / 255.1 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.96e-05/0.02585, allocations: 74.38 kB / 255.2 MB, free: 3.398 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.02601, allocations: 100.4 kB / 255.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.02731, allocations: 0.8136 MB / 256.1 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.02734, allocations: 11.92 kB / 256.1 MB, free: 2.426 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.705e-05/0.02743, allocations: 40 kB / 256.1 MB, free: 2.387 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.939e-05/0.02749, allocations: 45.94 kB / 256.2 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.02813, allocations: 245.8 kB / 256.4 MB, free: 2.102 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00396/0.03209, allocations: 2.562 MB / 259 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/0.03289, allocations: 495.5 kB / 259.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/0.03346, allocations: 306.1 kB / 259.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.0335, allocations: 12.66 kB / 259.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005207/0.03403, allocations: 355.4 kB / 260.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.796e-06/0.03403, allocations: 4 kB / 260.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.004342/0.03837, allocations: 1.281 MB / 261.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.03842, allocations: 64.06 kB / 261.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/0.03905, allocations: 0.5351 MB / 262 MB, free: 12.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.03911, allocations: 41.7 kB / 262 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.0394, allocations: 398.6 kB / 262.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.03959, allocations: 249.8 kB / 262.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.0398, allocations: 130.6 kB / 262.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.03995, allocations: 394.5 kB / 263.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.04013, allocations: 73.95 kB / 263.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.04043, allocations: 282.2 kB / 263.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.04093, allocations: 354.2 kB / 263.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.04094, allocations: 4 kB / 263.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008466/0.04178, allocations: 461.9 kB / 264.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.0418, allocations: 15.94 kB / 264.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.04181, allocations: 0 / 264.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/0.04241, allocations: 212.4 kB / 264.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.04273, allocations: 103.8 kB / 264.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003599/0.04633, allocations: 2.792 MB / 267.5 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.04668, allocations: 63.61 kB / 267.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.04673, allocations: 19.98 kB / 267.5 MB, free: 6.57 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_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: 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.0003314/0.04706, allocations: 166.5 kB / 267.7 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.04718, allocations: 79.92 kB / 267.8 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.04734, allocations: 104.2 kB / 267.9 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.04735, allocations: 11.94 kB / 267.9 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.04735, allocations: 0 / 267.9 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.04736, allocations: 3.984 kB / 267.9 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.04935, allocations: 1.044 MB / 268.9 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.04935, allocations: 0 / 268.9 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.0496, allocations: 63.91 kB / 269 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.04987, allocations: 131.3 kB / 269.1 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005543/0.05042, allocations: 200 kB / 269.3 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.05047, allocations: 19.94 kB / 269.3 MB, free: 4.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003441/0.05391, allocations: 2.762 MB / 272.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.05391, allocations: 0 / 272.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.05495, allocations: 0.6412 MB / 272.7 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.05507, allocations: 15.98 kB / 272.8 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.05536, allocations: 23.98 kB / 272.8 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.0555, allocations: 64.53 kB / 272.8 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.05554, allocations: 12 kB / 272.9 MB, free: 1.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003501/0.05589, allocations: 268.5 kB / 273.1 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-07/0.05589, allocations: 0 / 273.1 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008873/0.05678, allocations: 351.2 kB / 273.5 MB, free: 476 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001623/0.05694, allocations: 108.4 kB / 273.6 MB, free: 360 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.09486/0.1518, allocations: 0.6512 MB / 274.2 MB, free: 26.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.084e-05/0.1518, allocations: 11.41 kB / 274.2 MB, free: 26.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006677/0.1525, allocations: 0.5182 MB / 274.7 MB, free: 26.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008302/0.1533, allocations: 334.4 kB / 275.1 MB, free: 26.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006451/0.1598, allocations: 2.052 MB / 277.1 MB, free: 25.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.1601, allocations: 315.4 kB / 277.4 MB, free: 25.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000352/0.1605, allocations: 90.64 kB / 277.5 MB, free: 25.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/0.1609, allocations: 254.7 kB / 277.8 MB, free: 25.54 MB / 266.7 MB Notification: Performance of SimCode: time 1.994e-06/0.1609, allocations: 1.156 kB / 277.8 MB, free: 25.54 MB / 266.7 MB Notification: Performance of Templates: time 0.02198/0.1829, allocations: 20.41 MB / 298.2 MB, free: 13.8 MB / 266.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 -ignoreHideResult -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.010654957033694]