Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.000811/0.000811, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003256/0.003256, allocations: 160.2 kB / 24.7 MB, free: 9.43 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.8554/0.8554, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1955/0.1955, allocations: 29.42 MB / 290.9 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) 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(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterDCin.i|meterDCin.p|meterDCin.v|meterDCout.i|meterDCout.p|meterDCout.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterDCin.i|meterDCin.p|meterDCin.v|meterDCout.i|meterDCout.p|meterDCout.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.821e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.00463/0.004648, allocations: 6.223 MB / 437.7 MB, free: 6.844 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.006208, allocations: 1.565 MB / 439.3 MB, free: 5.273 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.006438, allocations: 31.75 kB / 439.3 MB, free: 5.242 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004383/0.006876, allocations: 186.6 kB / 439.5 MB, free: 5.059 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004973/0.007373, allocations: 409.4 kB / 439.9 MB, free: 4.656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.007658, allocations: 231.5 kB / 440.1 MB, free: 4.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006828/0.008341, allocations: 1.098 MB / 441.2 MB, free: 3.328 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.008638, allocations: 298.8 kB / 441.5 MB, free: 3.023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005583/0.009196, allocations: 0.6741 MB / 442.2 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.009585, allocations: 430.9 kB / 442.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.715e-05/0.009652, allocations: 84 kB / 442.7 MB, free: 1.844 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.00973, allocations: 84 kB / 442.8 MB, free: 1.762 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.009904, allocations: 295.2 kB / 443 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.01009, allocations: 279.5 kB / 443.3 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006737/0.01076, allocations: 1.071 MB / 444.4 MB, free: 128 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01077, allocations: 0 / 444.4 MB, free: 128 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01077, allocations: 0 / 444.4 MB, free: 128 kB / 410.7 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.01077, allocations: 4 kB / 444.4 MB, free: 124 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.1434/0.1541, allocations: 0.9466 MB / 445.3 MB, free: 55.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1542, allocations: 13.14 kB / 445.3 MB, free: 55.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.298e-05/0.1543, allocations: 78.59 kB / 445.4 MB, free: 55.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.1548, allocations: 0.5858 MB / 446 MB, free: 54.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-05/0.1549, allocations: 188.5 kB / 446.2 MB, free: 54.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.155, allocations: 64.31 kB / 446.3 MB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.1556, allocations: 0.747 MB / 447 MB, free: 54.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1556, allocations: 3.031 kB / 447 MB, free: 54.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.1557, allocations: 19.16 kB / 447 MB, free: 54.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.1557, allocations: 19.03 kB / 447 MB, free: 54.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005884/0.1563, allocations: 0.6077 MB / 447.7 MB, free: 54.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.1577, allocations: 2.14 MB / 449.8 MB, free: 52.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.1582, allocations: 392.9 kB / 450.2 MB, free: 52.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.1584, allocations: 191.5 kB / 450.4 MB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1584, allocations: 5.625 kB / 450.4 MB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.1586, allocations: 247.5 kB / 450.6 MB, free: 52.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 1.543e-06/0.1586, allocations: 0 / 450.6 MB, free: 52.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001431/0.16, allocations: 0.7877 MB / 451.4 MB, free: 51.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.1601, allocations: 139 kB / 451.5 MB, free: 51.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.1602, allocations: 349.2 kB / 451.9 MB, free: 51.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1603, allocations: 40.73 kB / 451.9 MB, free: 51.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.1603, allocations: 323.5 kB / 452.2 MB, free: 51.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.1604, allocations: 133.3 kB / 452.4 MB, free: 51.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.1604, allocations: 77.39 kB / 452.4 MB, free: 51.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.568e-05/0.1605, allocations: 346.9 kB / 452.8 MB, free: 50.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.1606, allocations: 129.8 kB / 452.9 MB, free: 50.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.1608, allocations: 251.2 kB / 453.1 MB, free: 50.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007175/0.1615, allocations: 0.6577 MB / 453.8 MB, free: 50.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1615, allocations: 4 kB / 453.8 MB, free: 50.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004884/0.162, allocations: 0.5152 MB / 454.3 MB, free: 50.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.162, allocations: 9.875 kB / 454.3 MB, free: 50.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.162, allocations: 3.188 kB / 454.3 MB, free: 50.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002178/0.1622, allocations: 157 kB / 454.5 MB, free: 49.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1624, allocations: 72.75 kB / 454.6 MB, free: 49.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.1639, allocations: 2.117 MB / 456.7 MB, free: 48.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.164, allocations: 48.8 kB / 456.7 MB, free: 48.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.164, allocations: 22.77 kB / 456.7 MB, free: 48.25 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.1642, allocations: 254.4 kB / 457 MB, free: 48.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1642, allocations: 46.11 kB / 457 MB, free: 48.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005774/0.1648, allocations: 479.1 kB / 457.5 MB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1648, allocations: 6.531 kB / 457.5 MB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1648, allocations: 0 / 457.5 MB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1648, allocations: 2.297 kB / 457.5 MB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.1651, allocations: 0.5259 MB / 458 MB, free: 47.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1651, allocations: 2.938 kB / 458 MB, free: 47.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.1652, allocations: 49.41 kB / 458.1 MB, free: 47.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000194/0.1654, allocations: 150.7 kB / 458.2 MB, free: 47.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.1654, allocations: 7.438 kB / 458.2 MB, free: 47.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.1667, allocations: 2.098 MB / 460.3 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1667, allocations: 0 / 460.3 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/0.1674, allocations: 0.6886 MB / 461 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.1675, allocations: 65.62 kB / 461.1 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1675, allocations: 11.22 kB / 461.1 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.722e-05/0.1676, allocations: 21.38 kB / 461.1 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.1677, allocations: 37.92 kB / 461.2 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1677, allocations: 13.88 kB / 461.2 MB, free: 45.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1678, allocations: 239.5 kB / 461.4 MB, free: 45.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1678, allocations: 0 / 461.4 MB, free: 45.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003024/0.1681, allocations: 173.6 kB / 461.6 MB, free: 45.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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 {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 7.805e-05/0.1682, allocations: 114.2 kB / 461.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00051/0.1687, allocations: 489.3 kB / 462.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1687, allocations: 4.062 kB / 462.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.1689, allocations: 325.3 kB / 462.5 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.1693, allocations: 122.9 kB / 462.6 MB, free: 44.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1703, allocations: 1.203 MB / 463.8 MB, free: 43.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.1705, allocations: 333.8 kB / 464.1 MB, free: 43.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.1706, allocations: 37.69 kB / 464.2 MB, free: 43.76 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1706, allocations: 0 / 464.2 MB, free: 43.76 MB / 410.7 MB Notification: Performance of Templates: time 0.006483/0.177, allocations: 10.06 MB / 474.2 MB, free: 42.83 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.3555585741996765]