Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9544/0.9544, allocations: 177.1 MB / 206 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 274.2 MB, free: 4.363 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.036e-05, allocations: 5.266 kB / 274.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00537/0.005401, allocations: 4.636 MB / 278.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.00861, allocations: 1.352 MB / 280.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005975/0.009208, allocations: 39.69 kB / 280.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000731/0.009939, allocations: 234.3 kB / 280.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009303/0.01087, allocations: 381.5 kB / 280.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.01135, allocations: 231.5 kB / 281.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.01289, allocations: 1.587 MB / 282.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006643/0.01355, allocations: 0.5437 MB / 283.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.01462, allocations: 0.9707 MB / 284.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008285/0.01545, allocations: 0.756 MB / 284.9 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.01561, allocations: 172 kB / 285.1 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.01582, allocations: 164 kB / 285.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.01613, allocations: 470.7 kB / 285.7 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.01655, allocations: 0.5028 MB / 286.2 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.0176, allocations: 1.219 MB / 287.4 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01761, allocations: 3.938 kB / 287.4 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01761, allocations: 3.938 kB / 287.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.01762, allocations: 0 / 287.4 MB, free: 7.062 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.00228/0.0199, allocations: 2.121 MB / 289.6 MB, free: 4.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.01994, allocations: 8.031 kB / 289.6 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.02032, allocations: 248 kB / 289.8 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/0.02118, allocations: 0.7994 MB / 290.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.91e-05/0.02123, allocations: 74.36 kB / 290.7 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.02137, allocations: 100.4 kB / 290.8 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008642/0.02223, allocations: 0.8134 MB / 291.6 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.02226, allocations: 3.938 kB / 291.6 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/0.02233, allocations: 36 kB / 291.6 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.433e-05/0.02238, allocations: 53.97 kB / 291.7 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000424/0.02281, allocations: 285.6 kB / 292 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/0.02611, allocations: 3.373 MB / 295.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.02674, allocations: 0.5445 MB / 295.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/0.02716, allocations: 333.5 kB / 296.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.0272, allocations: 16.64 kB / 296.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003992/0.0276, allocations: 389.6 kB / 296.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=75): time 2.144e-06/0.0276, allocations: 0 / 296.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.002949/0.03055, allocations: 1.446 MB / 298.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.03061, allocations: 111.5 kB / 298.2 MB, free: 12.03 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.03113, allocations: 0.6866 MB / 298.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.03117, allocations: 45.7 kB / 298.9 MB, free: 11.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.03149, allocations: 0.5618 MB / 299.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.03165, allocations: 265.8 kB / 299.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.03181, allocations: 148.2 kB / 299.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.03203, allocations: 0.5936 MB / 300.5 MB, free: 9.691 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.03216, allocations: 81.86 kB / 300.5 MB, free: 9.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.03242, allocations: 356 kB / 300.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007276/0.03314, allocations: 407.5 kB / 301.3 MB, free: 8.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.03315, allocations: 11.94 kB / 301.3 MB, free: 8.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006706/0.03382, allocations: 0.5703 MB / 301.9 MB, free: 8.113 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.03384, allocations: 8.469 kB / 301.9 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.03384, allocations: 15.88 kB / 301.9 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/0.0343, allocations: 227.3 kB / 302.1 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.03449, allocations: 91.89 kB / 302.2 MB, free: 7.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.03743, allocations: 3.585 MB / 305.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.03764, allocations: 59.62 kB / 305.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.03768, allocations: 27.92 kB / 305.9 MB, free: 3.988 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.0002099/0.03789, allocations: 206.4 kB / 306.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.03799, allocations: 111.4 kB / 306.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.0381, allocations: 112.4 kB / 306.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.0381, allocations: 8 kB / 306.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.03811, allocations: 3.938 kB / 306.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.03811, allocations: 3.984 kB / 306.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.0396, allocations: 1.356 MB / 307.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.0396, allocations: 4 kB / 307.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.03974, allocations: 59.91 kB / 307.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003873/0.04013, allocations: 211.3 kB / 307.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.04016, allocations: 16 kB / 307.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/0.04311, allocations: 3.523 MB / 311.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.04311, allocations: 3.938 kB / 311.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000787/0.04389, allocations: 0.7839 MB / 312.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.04409, allocations: 171.2 kB / 312.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.04415, allocations: 16 kB / 312.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.04433, allocations: 27.98 kB / 312.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.975e-05/0.04443, allocations: 68.53 kB / 312.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.04445, allocations: 15.98 kB / 312.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002657/0.04472, allocations: 418.8 kB / 313 MB, free: 12.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04472, allocations: 0 / 313 MB, free: 12.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005812/0.0453, allocations: 347.3 kB / 313.3 MB, free: 12.36 MB / 298.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.0001499/0.04545, allocations: 135.1 kB / 313.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008176/0.04627, allocations: 0.7629 MB / 314.2 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.04627, allocations: 320 / 314.2 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.04679, allocations: 0.6051 MB / 314.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.04741, allocations: 270.6 kB / 315.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.05023, allocations: 1.986 MB / 317.1 MB, free: 8.523 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.0505, allocations: 372 kB / 317.4 MB, free: 8.137 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000188/0.05069, allocations: 95.06 kB / 317.5 MB, free: 8.039 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/0.0511, allocations: 298 kB / 317.8 MB, free: 7.746 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.0511, allocations: 4 kB / 317.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of Templates: time 0.02365/0.07474, allocations: 20.06 MB / 337.9 MB, free: 3.957 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.339066935237497]