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.001937/0.001937, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.001996/0.001996, allocations: 166.8 kB / 25.03 MB, free: 8.418 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.41/1.41, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.753e-06/1.753e-06, allocations: 3.938 kB / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.902e-05, allocations: 6.312 kB / 250.4 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007111/0.00714, allocations: 4.608 MB / 255 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.01026, allocations: 1.325 MB / 256.3 MB, free: 1.836 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003687/0.01062, allocations: 31.75 kB / 256.4 MB, free: 1.805 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006983/0.01132, allocations: 234.3 kB / 256.6 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009705/0.01229, allocations: 377.5 kB / 257 MB, free: 1.199 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.01275, allocations: 211.6 kB / 257.2 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.01461, allocations: 1.595 MB / 258.8 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008047/0.01542, allocations: 0.5041 MB / 259.3 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.01664, allocations: 0.9512 MB / 260.2 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.0178, allocations: 0.7327 MB / 261 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002517/0.01806, allocations: 164 kB / 261.1 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.01836, allocations: 164 kB / 261.3 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004867/0.01884, allocations: 466.7 kB / 261.7 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006692/0.01951, allocations: 0.4989 MB / 262.2 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.02217, allocations: 2.131 MB / 264.4 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.02218, allocations: 0 / 264.4 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.02218, allocations: 0 / 264.4 MB, free: 9.762 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.629e-05/0.0222, allocations: 0 / 264.4 MB, free: 9.762 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.00436/0.02656, allocations: 2.43 MB / 266.8 MB, free: 7.277 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.02661, allocations: 15.98 kB / 266.8 MB, free: 7.262 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003844/0.02699, allocations: 216 kB / 267 MB, free: 7.051 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.02855, allocations: 0.7781 MB / 267.8 MB, free: 6.246 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.608e-05/0.02863, allocations: 74.38 kB / 267.9 MB, free: 6.172 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.0288, allocations: 100.4 kB / 268 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.03143, allocations: 1.48 MB / 269.4 MB, free: 4.543 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.03147, allocations: 7.938 kB / 269.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.03157, allocations: 39.94 kB / 269.5 MB, free: 4.496 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-05/0.03164, allocations: 45.98 kB / 269.5 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.03409, allocations: 1.136 MB / 270.7 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007821/0.04191, allocations: 4.571 MB / 275.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.04358, allocations: 0.8802 MB / 276.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.04482, allocations: 0.59 MB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.426e-05/0.04487, allocations: 12.66 kB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.04593, allocations: 0.6148 MB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.805e-06/0.04594, allocations: 0 / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.007507/0.05344, allocations: 2.403 MB / 279.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.05355, allocations: 111.5 kB / 279.9 MB, free: 9.945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.05502, allocations: 0.9369 MB / 280.8 MB, free: 8.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.909e-05/0.05509, allocations: 41.7 kB / 280.8 MB, free: 8.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006112/0.05571, allocations: 0.5737 MB / 281.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.05601, allocations: 281.9 kB / 281.7 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.05631, allocations: 160.3 kB / 281.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004696/0.05678, allocations: 0.6445 MB / 282.5 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.05738, allocations: 313.7 kB / 282.8 MB, free: 6.965 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008696/0.05824, allocations: 0.5819 MB / 283.4 MB, free: 6.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.05962, allocations: 0.8157 MB / 284.2 MB, free: 5.402 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-06/0.05962, allocations: 4 kB / 284.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002426/0.06205, allocations: 1.125 MB / 285.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.06207, allocations: 8 kB / 285.3 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.06208, allocations: 7.938 kB / 285.3 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.06324, allocations: 439.5 kB / 285.8 MB, free: 3.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.06362, allocations: 95.88 kB / 285.9 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008127/0.07175, allocations: 5.383 MB / 291.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006018/0.07235, allocations: 79.62 kB / 291.3 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.07241, allocations: 20 kB / 291.3 MB, free: 14.11 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,$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.0009393/0.07334, allocations: 446.3 kB / 291.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.07355, allocations: 111.4 kB / 291.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.07382, allocations: 104.3 kB / 292 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.07383, allocations: 8 kB / 292 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.07384, allocations: 4 kB / 292 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.07385, allocations: 7.922 kB / 292 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004756/0.0786, allocations: 2.35 MB / 294.4 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.07861, allocations: 0 / 294.4 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.07892, allocations: 63.91 kB / 294.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.07996, allocations: 403.5 kB / 294.8 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/0.08002, allocations: 16.06 kB / 294.8 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007899/0.08792, allocations: 5.098 MB / 299.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/0.08792, allocations: 11.88 kB / 299.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.09068, allocations: 1.546 MB / 301.5 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005296/0.09121, allocations: 191.2 kB / 301.7 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.09132, allocations: 16 kB / 301.7 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.09173, allocations: 43.95 kB / 301.7 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.09196, allocations: 96.36 kB / 301.8 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.519e-05/0.09202, allocations: 20 kB / 301.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000874/0.09289, allocations: 0.5848 MB / 302.4 MB, free: 2.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09289, allocations: 0 / 302.4 MB, free: 2.809 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001037/0.09393, allocations: 343.3 kB / 302.8 MB, free: 2.473 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.0002026/0.09413, allocations: 127.2 kB / 302.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.09636, allocations: 1.192 MB / 304.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.09636, allocations: 8.312 kB / 304.1 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.09775, allocations: 0.8083 MB / 304.9 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.09886, allocations: 270.7 kB / 305.2 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.1031, allocations: 2.122 MB / 307.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008481/0.104, allocations: 0.6789 MB / 308 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003286/0.1043, allocations: 111 kB / 308.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.1045, allocations: 60.48 kB / 308.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1045, allocations: 0 / 308.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of Templates: time 0.03385/0.1383, allocations: 18.51 MB / 326.6 MB, free: 10.49 MB / 314.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.929042025003582]