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.001124/0.001124, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001573/0.002697, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001083/0.001083, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00125/0.002333, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09141/1.099, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1145/0.1145, allocations: 29.44 MB / 273.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1243/0.2388, allocations: 9.538 MB / 283.1 MB, free: 12.83 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.292e-06/1.292e-06, allocations: 0 / 284.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.069e-05, allocations: 3.859 kB / 284.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.01061/0.01063, allocations: 5.684 MB / 290.1 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.01368, allocations: 1.663 MB / 291.8 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004122/0.01409, allocations: 32.19 kB / 291.8 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004968/0.01459, allocations: 182.2 kB / 292 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007163/0.0153, allocations: 372.9 kB / 292.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.01576, allocations: 236.5 kB / 292.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.0169, allocations: 1.107 MB / 293.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.01728, allocations: 305.6 kB / 294 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.01834, allocations: 0.7273 MB / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.01896, allocations: 411.2 kB / 295.1 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.01908, allocations: 89.25 kB / 295.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.01923, allocations: 84 kB / 295.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.01942, allocations: 247.5 kB / 295.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.01962, allocations: 247.5 kB / 295.8 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.02017, allocations: 0.5568 MB / 296.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327e-05/0.02018, allocations: 0 / 296.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.02019, allocations: 0 / 296.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.02021, allocations: 0 / 296.3 MB, free: 2.789 MB / 282.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.001184/0.02139, allocations: 1.041 MB / 297.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.02142, allocations: 12.03 kB / 297.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.02154, allocations: 104.8 kB / 297.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.02206, allocations: 458.2 kB / 297.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.02219, allocations: 186.4 kB / 298.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.02225, allocations: 60.38 kB / 298.2 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.02275, allocations: 0.4919 MB / 298.7 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.02276, allocations: 0 / 298.7 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.0228, allocations: 27.98 kB / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.02281, allocations: 16 kB / 298.7 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.02307, allocations: 201.6 kB / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.02469, allocations: 1.742 MB / 300.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.02503, allocations: 306.5 kB / 301 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.02516, allocations: 96.41 kB / 301 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.02518, allocations: 4.281 kB / 301.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.02537, allocations: 186.6 kB / 301.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.563e-06/0.02537, allocations: 4 kB / 301.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001011/0.02639, allocations: 459.5 kB / 301.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.02645, allocations: 140.5 kB / 301.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.02668, allocations: 315.4 kB / 302.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.02671, allocations: 37.7 kB / 302.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.02686, allocations: 281.2 kB / 302.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.02693, allocations: 130.9 kB / 302.6 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-05/0.02702, allocations: 86.11 kB / 302.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.02715, allocations: 358.6 kB / 303 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.02723, allocations: 47.8 kB / 303.1 MB, free: 11.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.02734, allocations: 162.4 kB / 303.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.02761, allocations: 310.3 kB / 303.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.02762, allocations: 4 kB / 303.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004174/0.02803, allocations: 317.5 kB / 303.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.02805, allocations: 8.625 kB / 303.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.02806, allocations: 11.94 kB / 303.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002509/0.02831, allocations: 171.7 kB / 304 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.0285, allocations: 91.81 kB / 304.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.02979, allocations: 1.728 MB / 305.8 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.02993, allocations: 35.73 kB / 305.9 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.02995, allocations: 19.98 kB / 305.9 MB, free: 8.699 MB / 298.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.0001395/0.03009, allocations: 149.7 kB / 306 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.03013, allocations: 31.97 kB / 306.1 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.03049, allocations: 274.4 kB / 306.3 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.03049, allocations: 4 kB / 306.3 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.03049, allocations: 4 kB / 306.3 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.0305, allocations: 0 / 306.3 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.03087, allocations: 399.7 kB / 306.7 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.03087, allocations: 12.02 kB / 306.7 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.03102, allocations: 51.92 kB / 306.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.03109, allocations: 47.69 kB / 306.8 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002049/0.0313, allocations: 179.5 kB / 307 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.03132, allocations: 8 kB / 307 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.03241, allocations: 1.717 MB / 308.7 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.03241, allocations: 0 / 308.7 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.03286, allocations: 383.7 kB / 309.1 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.03289, allocations: 8 kB / 309.1 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.03298, allocations: 16 kB / 309.1 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.03305, allocations: 39.92 kB / 309.2 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.03307, allocations: 8 kB / 309.2 MB, free: 5.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.448e-05/0.03316, allocations: 128.7 kB / 309.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.03316, allocations: 0 / 309.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003992/0.03356, allocations: 171.6 kB / 309.5 MB, free: 4.914 MB / 298.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 0.0001133/0.03367, allocations: 92.39 kB / 309.6 MB, free: 4.812 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.03411, allocations: 368 kB / 309.9 MB, free: 4.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/0.03412, allocations: 4 kB / 309.9 MB, free: 4.434 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.03436, allocations: 276.8 kB / 310.2 MB, free: 4.148 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.03505, allocations: 1.263 MB / 311.5 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.04277, allocations: 1.145 MB / 312.6 MB, free: 1.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.04289, allocations: 165.7 kB / 312.8 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.04305, allocations: 56.36 kB / 312.8 MB, free: 1.215 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.04324, allocations: 145.3 kB / 313 MB, free: 1.07 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.04324, allocations: 0 / 313 MB, free: 1.07 MB / 298.7 MB Notification: Performance of Templates: time 0.01253/0.05577, allocations: 8.409 MB / 321.4 MB, free: 8.832 MB / 314.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.099033177830279]