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.001884/0.001884, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002079/0.002079, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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 1.512/1.512, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.683e-06/1.683e-06, allocations: 0 / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.026e-05, allocations: 2.312 kB / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006836/0.006866, allocations: 4.341 MB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.00989, allocations: 1.34 MB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005135/0.0104, allocations: 35.75 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000805/0.01121, allocations: 234.3 kB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.01264, allocations: 381.5 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.01323, allocations: 231.5 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.01538, allocations: 1.583 MB / 280.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009985/0.01638, allocations: 0.5554 MB / 281 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.01812, allocations: 0.9551 MB / 282 MB, free: 8.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.01946, allocations: 0.7014 MB / 282.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003991/0.01986, allocations: 164 kB / 282.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004714/0.02033, allocations: 176 kB / 283 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005834/0.02091, allocations: 462.7 kB / 283.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007771/0.02169, allocations: 0.495 MB / 284 MB, free: 6.094 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002706/0.0244, allocations: 2.146 MB / 286.1 MB, free: 3.941 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.0244, allocations: 0 / 286.1 MB, free: 3.941 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.0244, allocations: 3.938 kB / 286.1 MB, free: 3.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.943e-05/0.02443, allocations: 0 / 286.1 MB, free: 3.938 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.003627/0.02806, allocations: 1.884 MB / 288 MB, free: 2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.0281, allocations: 8.031 kB / 288 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006922/0.02879, allocations: 259.9 kB / 288.3 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.0305, allocations: 0.9508 MB / 289.2 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.237e-05/0.03057, allocations: 70.38 kB / 289.3 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.03075, allocations: 96.38 kB / 289.4 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1139/0.1446, allocations: 1.491 MB / 290.9 MB, free: 27.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/0.1446, allocations: 4.484 kB / 290.9 MB, free: 27.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.1448, allocations: 42.42 kB / 290.9 MB, free: 27.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-05/0.1449, allocations: 42.11 kB / 290.9 MB, free: 27.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/0.148, allocations: 1.293 MB / 292.2 MB, free: 27.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006494/0.1545, allocations: 3.83 MB / 296.1 MB, free: 25.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.1561, allocations: 0.9802 MB / 297.1 MB, free: 25.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.1573, allocations: 0.6889 MB / 297.7 MB, free: 24.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.767e-05/0.1574, allocations: 14.06 kB / 297.8 MB, free: 24.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009696/0.1584, allocations: 0.6427 MB / 298.4 MB, free: 24.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 3.065e-06/0.1584, allocations: 1.125 kB / 298.4 MB, free: 24.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.006907/0.1653, allocations: 2.778 MB / 301.2 MB, free: 23.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.1653, allocations: 111.7 kB / 301.3 MB, free: 23.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/0.1662, allocations: 0.8053 MB / 302.1 MB, free: 22.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.1663, allocations: 49.64 kB / 302.1 MB, free: 22.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.1666, allocations: 0.4921 MB / 302.6 MB, free: 22.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.1667, allocations: 257.4 kB / 302.9 MB, free: 22.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.1669, allocations: 132.9 kB / 303 MB, free: 22.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.167, allocations: 398.5 kB / 303.4 MB, free: 21.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.1676, allocations: 391.1 kB / 303.8 MB, free: 21.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.1681, allocations: 0.5975 MB / 304.4 MB, free: 21.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009909/0.1691, allocations: 0.9174 MB / 305.3 MB, free: 20.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1691, allocations: 3.469 kB / 305.3 MB, free: 20.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001646/0.1708, allocations: 1.32 MB / 306.6 MB, free: 19.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1708, allocations: 12.45 kB / 306.6 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1708, allocations: 4 kB / 306.6 MB, free: 19.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009145/0.1717, allocations: 471 kB / 307.1 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.172, allocations: 92.7 kB / 307.2 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005427/0.1775, allocations: 5.409 MB / 312.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.178, allocations: 83.64 kB / 312.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.1781, allocations: 32 kB / 312.7 MB, free: 13.34 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_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.0005839/0.1787, allocations: 463.3 kB / 313.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.1788, allocations: 119.4 kB / 313.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.179, allocations: 108.4 kB / 313.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.179, allocations: 8 kB / 313.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.179, allocations: 3.938 kB / 313.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.179, allocations: 3.984 kB / 313.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.182, allocations: 2.304 MB / 315.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1821, allocations: 0 / 315.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.1823, allocations: 66.84 kB / 315.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008224/0.1831, allocations: 456.8 kB / 316.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.1832, allocations: 15.98 kB / 316.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005151/0.1883, allocations: 5.351 MB / 321.6 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1883, allocations: 256 / 321.6 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.1905, allocations: 1.919 MB / 323.5 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/0.1909, allocations: 203.2 kB / 323.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.191, allocations: 16 kB / 323.7 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.1914, allocations: 51.89 kB / 323.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.1915, allocations: 76.5 kB / 323.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.1916, allocations: 23.98 kB / 323.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005597/0.1921, allocations: 0.5693 MB / 324.4 MB, free: 1.465 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1921, allocations: 3.062 kB / 324.4 MB, free: 1.465 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008729/0.193, allocations: 351.2 kB / 324.8 MB, free: 1.121 MB / 266.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.0001429/0.1932, allocations: 123.2 kB / 324.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.195, allocations: 1.258 MB / 326.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.195, allocations: 0 / 326.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.1964, allocations: 0.7895 MB / 326.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.1975, allocations: 269.2 kB / 327.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/0.2021, allocations: 2.376 MB / 329.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009167/0.203, allocations: 0.7358 MB / 330.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003953/0.2034, allocations: 144.3 kB / 330.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.2036, allocations: 60.48 kB / 330.5 MB, free: 11.32 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2036, allocations: 0 / 330.5 MB, free: 11.32 MB / 282.7 MB Notification: Performance of Templates: time 0.03364/0.2372, allocations: 18.54 MB / 349.1 MB, free: 9.086 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.02841642301064]