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.001047/0.001047, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001031/0.001031, allocations: 169.8 kB / 25.75 MB, free: 8.922 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 0.9142/0.9142, allocations: 158.6 MB / 187.5 MB, free: 2.945 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 1.843e-06/1.843e-06, allocations: 0 / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.745e-05, allocations: 2.312 kB / 251.1 MB, free: 7.777 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004559/0.004587, allocations: 4.641 MB / 255.8 MB, free: 3.102 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.006589, allocations: 1.34 MB / 257.1 MB, free: 1.754 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.006851, allocations: 31.75 kB / 257.1 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.007388, allocations: 230.3 kB / 257.4 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005868/0.007975, allocations: 373.5 kB / 257.7 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.008291, allocations: 215.6 kB / 257.9 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.009392, allocations: 1.595 MB / 259.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005122/0.009904, allocations: 0.508 MB / 260 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007996/0.0107, allocations: 0.9395 MB / 261 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007266/0.01143, allocations: 0.7444 MB / 261.7 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.01159, allocations: 160 kB / 261.9 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.01175, allocations: 164 kB / 262.1 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.01202, allocations: 462.7 kB / 262.5 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.0124, allocations: 0.4989 MB / 263 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008735/0.01327, allocations: 1.207 MB / 264.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01328, allocations: 4 kB / 264.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01328, allocations: 0 / 264.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.0133, allocations: 0 / 264.2 MB, free: 10.61 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.002111/0.01541, allocations: 2.125 MB / 266.3 MB, free: 8.434 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.01544, allocations: 11.98 kB / 266.3 MB, free: 8.422 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.01567, allocations: 220 kB / 266.6 MB, free: 8.207 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007462/0.01641, allocations: 0.7547 MB / 267.3 MB, free: 7.426 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.01646, allocations: 74.38 kB / 267.4 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.01656, allocations: 96.38 kB / 267.5 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.0176, allocations: 0.8644 MB / 268.3 MB, free: 6.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.01763, allocations: 7.938 kB / 268.4 MB, free: 6.332 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.01769, allocations: 43.98 kB / 268.4 MB, free: 6.289 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.01774, allocations: 41.98 kB / 268.4 MB, free: 6.246 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.01843, allocations: 387.5 kB / 268.8 MB, free: 5.867 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/0.02171, allocations: 3.592 MB / 272.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007799/0.02249, allocations: 0.6188 MB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/0.02301, allocations: 384.8 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.02305, allocations: 12.66 kB / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004404/0.02349, allocations: 405.3 kB / 273.8 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of pre-optimization done (n=75): time 1.814e-06/0.02349, allocations: 0 / 273.8 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of matching and sorting (n=75): time 0.003386/0.02688, allocations: 1.758 MB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.02693, allocations: 123.5 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.0275, allocations: 0.687 MB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.02754, allocations: 41.7 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.02782, allocations: 0.5386 MB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.0281, allocations: 261.8 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.02825, allocations: 144.3 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.02843, allocations: 0.5899 MB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.02863, allocations: 105.9 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.02893, allocations: 383.9 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.02943, allocations: 463.5 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.02944, allocations: 0 / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008612/0.0303, allocations: 0.6487 MB / 279.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.03032, allocations: 12.03 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.03033, allocations: 4 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/0.03087, allocations: 251.2 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.03107, allocations: 95.83 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.03464, allocations: 3.775 MB / 283.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.03489, allocations: 79.58 kB / 283.7 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.03492, allocations: 24 kB / 283.8 MB, free: 6.41 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.0002214/0.03515, allocations: 214.4 kB / 284 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.03525, allocations: 111.4 kB / 284.1 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.03535, allocations: 104.3 kB / 284.2 MB, free: 5.969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.03536, allocations: 4 kB / 284.2 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.03536, allocations: 4 kB / 284.2 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.03537, allocations: 7.922 kB / 284.2 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.03729, allocations: 1.636 MB / 285.8 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.03729, allocations: 7.938 kB / 285.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.03745, allocations: 51.97 kB / 285.9 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/0.0379, allocations: 243.3 kB / 286.1 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.03794, allocations: 12 kB / 286.1 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004231/0.04217, allocations: 3.724 MB / 289.9 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.04217, allocations: 3.938 kB / 289.9 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.04349, allocations: 0.874 MB / 290.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.04377, allocations: 191.1 kB / 290.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/0.04386, allocations: 16 kB / 290.9 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.04413, allocations: 39.95 kB / 291 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.04431, allocations: 96.42 kB / 291.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.04435, allocations: 16 kB / 291.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004529/0.0448, allocations: 438.9 kB / 291.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0448, allocations: 7.938 kB / 291.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007859/0.04558, allocations: 347.2 kB / 291.9 MB, free: 14.08 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.000151/0.04574, allocations: 123.2 kB / 292 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.04695, allocations: 0.8141 MB / 292.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.04696, allocations: 0 / 292.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007541/0.04771, allocations: 0.617 MB / 293.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008536/0.04856, allocations: 266.7 kB / 293.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/0.05183, allocations: 1.978 MB / 295.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.05216, allocations: 372 kB / 296 MB, free: 9.816 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000275/0.05243, allocations: 111 kB / 296.1 MB, free: 9.703 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.05256, allocations: 56.48 kB / 296.2 MB, free: 9.648 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.05256, allocations: 0 / 296.2 MB, free: 9.648 MB / 282.7 MB Notification: Performance of Templates: time 0.02448/0.07703, allocations: 18.52 MB / 314.7 MB, free: 7.148 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.092880717944354]