Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.000957/0.000957, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001027/0.001027, allocations: 166.9 kB / 25.33 MB, free: 8.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.088/1.088, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.059e-05, allocations: 6.25 kB / 251.1 MB, free: 7.48 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007554/0.007584, allocations: 4.66 MB / 255.7 MB, free: 2.793 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.01124, allocations: 1.341 MB / 257.1 MB, free: 1.445 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007818/0.01203, allocations: 31.69 kB / 257.1 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.01312, allocations: 226.4 kB / 257.3 MB, free: 1.191 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.01452, allocations: 377.5 kB / 257.7 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.01513, allocations: 219.5 kB / 257.9 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.01733, allocations: 1.595 MB / 259.5 MB, free: 15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009174/0.01825, allocations: 0.508 MB / 260 MB, free: 14.47 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.02057, allocations: 0.9357 MB / 260.9 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.02215, allocations: 0.7443 MB / 261.7 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006374/0.02278, allocations: 164 kB / 261.9 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.02318, allocations: 164 kB / 262 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004814/0.02366, allocations: 462.7 kB / 262.5 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.02469, allocations: 0.4951 MB / 263 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.02645, allocations: 1.215 MB / 264.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.02645, allocations: 0 / 264.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.02646, allocations: 0 / 264.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.695e-05/0.02651, allocations: 0 / 264.2 MB, free: 10.3 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00376/0.03027, allocations: 2.118 MB / 266.3 MB, free: 8.129 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.03034, allocations: 19.98 kB / 266.3 MB, free: 8.109 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.03071, allocations: 220 kB / 266.5 MB, free: 7.895 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.03193, allocations: 0.7547 MB / 267.3 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/0.03199, allocations: 78.31 kB / 267.4 MB, free: 7.035 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.03215, allocations: 92.38 kB / 267.4 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.03412, allocations: 0.8722 MB / 268.3 MB, free: 6.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.03415, allocations: 3.938 kB / 268.3 MB, free: 6.016 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-05/0.03424, allocations: 40 kB / 268.4 MB, free: 5.977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.191e-05/0.03431, allocations: 45.98 kB / 268.4 MB, free: 5.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.0354, allocations: 379.6 kB / 268.8 MB, free: 5.559 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005139/0.04054, allocations: 3.6 MB / 272.4 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.04165, allocations: 0.6109 MB / 273 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007666/0.04242, allocations: 384.8 kB / 273.4 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.176e-05/0.04247, allocations: 12.66 kB / 273.4 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006391/0.04311, allocations: 405.7 kB / 273.8 MB, free: 432 kB / 250.7 MB Notification: Performance of pre-optimization done (n=75): time 3.727e-06/0.04312, allocations: 0 / 273.8 MB, free: 432 kB / 250.7 MB Notification: Performance of matching and sorting (n=75): time 0.004447/0.04756, allocations: 1.751 MB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.18e-05/0.04765, allocations: 131.3 kB / 275.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007054/0.04836, allocations: 0.687 MB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.04841, allocations: 41.7 kB / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/0.04878, allocations: 0.5386 MB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.04896, allocations: 265.8 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.04913, allocations: 144.3 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.04934, allocations: 0.586 MB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.04957, allocations: 109.9 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.04992, allocations: 372 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.05046, allocations: 463.5 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.05047, allocations: 0 / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009633/0.05143, allocations: 0.6599 MB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.05146, allocations: 4 kB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.05147, allocations: 4 kB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005845/0.05205, allocations: 251.7 kB / 279.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.05229, allocations: 95.83 kB / 279.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004393/0.05668, allocations: 3.778 MB / 283.6 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.0571, allocations: 83.58 kB / 283.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.05714, allocations: 24 kB / 283.7 MB, free: 6.094 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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0004141/0.05756, allocations: 206.4 kB / 283.9 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.0577, allocations: 111.4 kB / 284 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.05782, allocations: 104.3 kB / 284.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.05782, allocations: 8 kB / 284.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.05783, allocations: 0 / 284.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.05783, allocations: 11.92 kB / 284.2 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.06016, allocations: 1.633 MB / 285.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.06017, allocations: 0 / 285.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.06035, allocations: 55.91 kB / 285.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005214/0.06087, allocations: 239.4 kB / 286.1 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.06091, allocations: 12 kB / 286.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/0.06491, allocations: 3.74 MB / 289.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.06491, allocations: 7.875 kB / 289.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.06605, allocations: 0.8701 MB / 290.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.06634, allocations: 187.2 kB / 290.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.06641, allocations: 19.98 kB / 290.9 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.06661, allocations: 39.95 kB / 290.9 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.06676, allocations: 88.48 kB / 291 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.06679, allocations: 20 kB / 291 MB, free: 14.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004257/0.06722, allocations: 442.9 kB / 291.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06722, allocations: 0 / 291.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009209/0.06814, allocations: 347.2 kB / 291.8 MB, free: 13.77 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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0002326/0.06837, allocations: 123.2 kB / 291.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.06974, allocations: 0.8132 MB / 292.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.06974, allocations: 0 / 292.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007028/0.07045, allocations: 0.6295 MB / 293.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.07114, allocations: 262.6 kB / 293.6 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.0742, allocations: 1.974 MB / 295.6 MB, free: 9.887 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.07457, allocations: 368 kB / 296 MB, free: 9.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000262/0.07483, allocations: 115 kB / 296.1 MB, free: 9.391 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.07494, allocations: 60.48 kB / 296.1 MB, free: 9.332 MB / 282.7 MB Notification: Performance of SimCode: time 1.342e-06/0.07494, allocations: 0 / 296.1 MB, free: 9.332 MB / 282.7 MB Notification: Performance of Templates: time 0.02351/0.09846, allocations: 18.52 MB / 314.7 MB, free: 6.832 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5519478139467537]