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.0009744/0.0009744, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.001071/0.001071, allocations: 140.4 kB / 25.59 MB, free: 8.906 MB / 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.9293/0.9293, allocations: 173.4 MB / 202.2 MB, free: 8.301 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.503e-06/1.503e-06, allocations: 0 / 269.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.157e-05, allocations: 9.344 kB / 269.2 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00427/0.004291, allocations: 4.595 MB / 273.8 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.006547, allocations: 1.289 MB / 275.1 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004439/0.006991, allocations: 36.91 kB / 275.1 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.007549, allocations: 230.4 kB / 275.4 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.008559, allocations: 380.2 kB / 275.7 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.008951, allocations: 220.1 kB / 276 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.01043, allocations: 1.568 MB / 277.5 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000597/0.01103, allocations: 0.5437 MB / 278.1 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009895/0.01202, allocations: 0.9668 MB / 279 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008375/0.01286, allocations: 0.7405 MB / 279.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.01306, allocations: 164 kB / 279.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.01324, allocations: 164 kB / 280.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.01352, allocations: 474.7 kB / 280.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004272/0.01395, allocations: 0.5028 MB / 281.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000939/0.01489, allocations: 1.207 MB / 282.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.01489, allocations: 3.938 kB / 282.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01489, allocations: 4 kB / 282.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.516e-05/0.01492, allocations: 0 / 282.3 MB, free: 12.64 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.00242/0.01734, allocations: 2.109 MB / 284.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.01737, allocations: 8.031 kB / 284.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.01762, allocations: 224 kB / 284.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008033/0.01842, allocations: 0.7644 MB / 285.4 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.01846, allocations: 74.38 kB / 285.4 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.01857, allocations: 100.4 kB / 285.5 MB, free: 9.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008735/0.01945, allocations: 0.8173 MB / 286.4 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.01947, allocations: 7.922 kB / 286.4 MB, free: 8.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/0.01953, allocations: 43.98 kB / 286.4 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.544e-05/0.01958, allocations: 42 kB / 286.5 MB, free: 8.312 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.02004, allocations: 289.6 kB / 286.7 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.02328, allocations: 3.366 MB / 290.1 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.02392, allocations: 0.5482 MB / 290.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/0.02434, allocations: 337.4 kB / 291 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.02438, allocations: 12.66 kB / 291 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003702/0.02475, allocations: 385.6 kB / 291.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.715e-06/0.02475, allocations: 0 / 291.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003323/0.02807, allocations: 1.442 MB / 292.8 MB, free: 1.816 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.02813, allocations: 115.4 kB / 292.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006516/0.02878, allocations: 0.6632 MB / 293.6 MB, free: 1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.02883, allocations: 41.7 kB / 293.6 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/0.0292, allocations: 0.5657 MB / 294.2 MB, free: 388 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.02938, allocations: 261.8 kB / 294.5 MB, free: 124 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.0296, allocations: 144.3 kB / 294.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.02983, allocations: 0.5936 MB / 295.2 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.02999, allocations: 81.94 kB / 295.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.0303, allocations: 355.9 kB / 295.6 MB, free: 14.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.0308, allocations: 411.5 kB / 296 MB, free: 14.37 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.03081, allocations: 3.938 kB / 296 MB, free: 14.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008947/0.0317, allocations: 0.5782 MB / 296.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.03172, allocations: 8 kB / 296.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.03173, allocations: 7.938 kB / 296.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/0.03231, allocations: 224.5 kB / 296.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.03282, allocations: 95.83 kB / 296.9 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00365/0.03647, allocations: 3.58 MB / 300.5 MB, free: 9.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.03677, allocations: 63.61 kB / 300.6 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.03681, allocations: 28 kB / 300.6 MB, free: 9.66 MB / 282.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.0002549/0.03706, allocations: 210.4 kB / 300.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.03719, allocations: 111.5 kB / 300.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.03733, allocations: 96.27 kB / 301 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.03733, allocations: 8 kB / 301 MB, free: 9.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.03734, allocations: 3.938 kB / 301 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.03735, allocations: 7.984 kB / 301 MB, free: 9.211 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.03932, allocations: 1.363 MB / 302.4 MB, free: 7.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.03932, allocations: 0 / 302.4 MB, free: 7.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.03952, allocations: 55.91 kB / 302.4 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000516/0.04003, allocations: 211.3 kB / 302.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.04007, allocations: 16 kB / 302.7 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003672/0.04374, allocations: 3.534 MB / 306.2 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.04375, allocations: 3.938 kB / 306.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.0448, allocations: 0.7802 MB / 307 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.04506, allocations: 171.2 kB / 307.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.04515, allocations: 12 kB / 307.2 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.04539, allocations: 27.98 kB / 307.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.04554, allocations: 64.53 kB / 307.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.04557, allocations: 15.98 kB / 307.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003568/0.04593, allocations: 410.8 kB / 307.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04593, allocations: 0 / 307.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008478/0.04678, allocations: 359.2 kB / 308 MB, free: 2.031 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.0001592/0.04694, allocations: 127.2 kB / 308.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.04798, allocations: 0.7594 MB / 308.9 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.04798, allocations: 0 / 308.9 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006832/0.04867, allocations: 0.602 MB / 309.5 MB, free: 0.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.04948, allocations: 278.6 kB / 309.8 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.05288, allocations: 1.96 MB / 311.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.05322, allocations: 368 kB / 312.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002599/0.05348, allocations: 98.98 kB / 312.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/0.05396, allocations: 298 kB / 312.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.05396, allocations: 0 / 312.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Templates: time 0.05213/0.1061, allocations: 19.92 MB / 332.4 MB, free: 9.816 MB / 314.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.173191432841122]