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.001957/0.001957, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.001977/0.001977, allocations: 161.3 kB / 24.27 MB, free: 152 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.539/1.539, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3019/0.3019, allocations: 29.41 MB / 290.5 MB, free: 2.43 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.332e-06/1.332e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.838e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009561/0.009589, allocations: 6.604 MB / 375.5 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.01281, allocations: 1.601 MB / 377.1 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004127/0.01322, allocations: 31.75 kB / 377.1 MB, free: 3.031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.0139, allocations: 194.4 kB / 377.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000928/0.01483, allocations: 393.5 kB / 377.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.01538, allocations: 227.5 kB / 377.9 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.01675, allocations: 1.109 MB / 379 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000513/0.01727, allocations: 302.8 kB / 379.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.01838, allocations: 0.6741 MB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008084/0.01919, allocations: 450.9 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.01932, allocations: 88 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.01949, allocations: 84 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003438/0.01984, allocations: 299.2 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.02023, allocations: 287.4 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.02168, allocations: 1.063 MB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.02169, allocations: 0 / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02169, allocations: 0 / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.0217, allocations: 4 kB / 382.2 MB, free: 13.88 MB / 362.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.00259/0.02429, allocations: 1.119 MB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.02434, allocations: 15.98 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.02457, allocations: 124.5 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.02589, allocations: 0.6128 MB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/0.0261, allocations: 190.4 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.02621, allocations: 60.31 kB / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.02756, allocations: 0.6853 MB / 385 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.02758, allocations: 0 / 385 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/0.02764, allocations: 24 kB / 385.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.02766, allocations: 20 kB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.0287, allocations: 439.6 kB / 385.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004164/0.03287, allocations: 2.724 MB / 388.2 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/0.03373, allocations: 378.4 kB / 388.6 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.03414, allocations: 163.6 kB / 388.8 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.03419, allocations: 16.27 kB / 388.8 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.03467, allocations: 244.3 kB / 389 MB, free: 6.789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 2.495e-06/0.03467, allocations: 0 / 389 MB, free: 6.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002805/0.03748, allocations: 0.6578 MB / 389.7 MB, free: 6.121 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.03759, allocations: 140.5 kB / 389.8 MB, free: 5.953 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005761/0.03817, allocations: 478.6 kB / 390.3 MB, free: 5.469 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.03821, allocations: 33.69 kB / 390.3 MB, free: 5.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.03855, allocations: 391.6 kB / 390.7 MB, free: 5.043 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.0387, allocations: 138.9 kB / 390.8 MB, free: 4.906 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.03886, allocations: 99.84 kB / 390.9 MB, free: 4.801 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003541/0.03922, allocations: 0.5546 MB / 391.5 MB, free: 4.234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.03947, allocations: 101 kB / 391.6 MB, free: 4.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.03989, allocations: 275.9 kB / 391.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008971/0.04079, allocations: 489.1 kB / 392.3 MB, free: 3.254 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.04079, allocations: 0 / 392.3 MB, free: 3.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001007/0.0418, allocations: 497.1 kB / 392.8 MB, free: 2.758 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.04183, allocations: 12.45 kB / 392.8 MB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.04184, allocations: 4 kB / 392.8 MB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004746/0.04231, allocations: 155.5 kB / 393 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.04262, allocations: 79.84 kB / 393.1 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003772/0.0464, allocations: 2.641 MB / 395.7 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.0467, allocations: 43.67 kB / 395.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.04674, allocations: 16 kB / 395.8 MB, free: 15.68 MB / 378.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.000372/0.04711, allocations: 247.6 kB / 396 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.413e-05/0.0472, allocations: 55.72 kB / 396.1 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.0485, allocations: 418.3 kB / 396.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.04851, allocations: 7.938 kB / 396.5 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.04851, allocations: 0 / 396.5 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.04852, allocations: 7.969 kB / 396.5 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009983/0.04952, allocations: 0.692 MB / 397.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.04953, allocations: 4 kB / 397.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.04978, allocations: 51.91 kB / 397.2 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/0.05019, allocations: 135.6 kB / 397.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.05022, allocations: 4 kB / 397.4 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003531/0.05375, allocations: 2.641 MB / 400 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.05375, allocations: 0 / 400 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.05521, allocations: 0.6116 MB / 400.6 MB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.05539, allocations: 67.67 kB / 400.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.05544, allocations: 15.94 kB / 400.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.05564, allocations: 11.98 kB / 400.7 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.05576, allocations: 39.92 kB / 400.8 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.05579, allocations: 12 kB / 400.8 MB, free: 10.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003542/0.05614, allocations: 295.1 kB / 401.1 MB, free: 10.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05614, allocations: 0 / 401.1 MB, free: 10.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006474/0.05679, allocations: 179.5 kB / 401.2 MB, free: 9.996 MB / 378.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.0001708/0.05696, allocations: 103.2 kB / 401.3 MB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.05816, allocations: 0.5298 MB / 401.9 MB, free: 9.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.05816, allocations: 0 / 401.9 MB, free: 9.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006144/0.05877, allocations: 389.4 kB / 402.2 MB, free: 8.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.05942, allocations: 140.6 kB / 402.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.06173, allocations: 1.149 MB / 403.5 MB, free: 7.602 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.06228, allocations: 327.1 kB / 403.8 MB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.06251, allocations: 64.34 kB / 403.9 MB, free: 7.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.641e-05/0.06259, allocations: 32.5 kB / 403.9 MB, free: 7.156 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.06259, allocations: 0 / 403.9 MB, free: 7.156 MB / 378.7 MB Notification: Performance of Templates: time 0.01514/0.07774, allocations: 6.979 MB / 410.9 MB, free: 320 kB / 378.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 -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","/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: 4.957554780994542]