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.0009967/0.0009967, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.002125/0.002125, allocations: 170.3 kB / 24.82 MB, free: 9.266 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 1.139/1.139, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2804/0.2804, allocations: 29.42 MB / 291.2 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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 2.054e-06/2.054e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.781e-05, allocations: 5.406 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.006127/0.006154, allocations: 5.563 MB / 375.7 MB, free: 5.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.008441, allocations: 1.601 MB / 377.3 MB, free: 3.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003176/0.008759, allocations: 35.75 kB / 377.3 MB, free: 3.484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005204/0.009279, allocations: 174.7 kB / 377.5 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005821/0.009861, allocations: 377.6 kB / 377.9 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.01024, allocations: 239.5 kB / 378.1 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008244/0.01107, allocations: 1.094 MB / 379.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.01141, allocations: 294.9 kB / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007783/0.01219, allocations: 0.7133 MB / 380.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004655/0.01266, allocations: 418.9 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.553e-05/0.01274, allocations: 84 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.01285, allocations: 84 kB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.01307, allocations: 295.2 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.01328, allocations: 279.5 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.01386, allocations: 0.6073 MB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01386, allocations: 0 / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01386, allocations: 0 / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.01387, allocations: 0 / 381.9 MB, free: 14.85 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.001182/0.01505, allocations: 1.033 MB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.0151, allocations: 15.98 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.01524, allocations: 132.5 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.01582, allocations: 0.5426 MB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.01597, allocations: 190.4 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.01604, allocations: 68.27 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.01659, allocations: 0.5102 MB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.01661, allocations: 3.938 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.01664, allocations: 24 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.01666, allocations: 16 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.01695, allocations: 214.7 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.01889, allocations: 2.345 MB / 387 MB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.01925, allocations: 274.7 kB / 387.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.01942, allocations: 123.5 kB / 387.4 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.01945, allocations: 12.28 kB / 387.4 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.01971, allocations: 188.4 kB / 387.6 MB, free: 8.879 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.944e-06/0.01971, allocations: 0 / 387.6 MB, free: 8.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001212/0.02093, allocations: 0.5095 MB / 388.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.02099, allocations: 136.5 kB / 388.2 MB, free: 8.195 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.02124, allocations: 390.4 kB / 388.6 MB, free: 7.797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.02126, allocations: 33.7 kB / 388.6 MB, free: 7.758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.02145, allocations: 379.3 kB / 389 MB, free: 7.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.816e-05/0.02153, allocations: 122.9 kB / 389.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.02162, allocations: 87.75 kB / 389.2 MB, free: 7.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.02178, allocations: 0.5312 MB / 389.8 MB, free: 6.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.185e-05/0.02186, allocations: 52.89 kB / 389.8 MB, free: 6.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.02201, allocations: 215.9 kB / 390 MB, free: 6.293 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.02234, allocations: 341.4 kB / 390.3 MB, free: 5.895 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02234, allocations: 0 / 390.3 MB, free: 5.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004011/0.02274, allocations: 361.1 kB / 390.7 MB, free: 5.531 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.02276, allocations: 8 kB / 390.7 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.02277, allocations: 7.938 kB / 390.7 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002768/0.02305, allocations: 179.9 kB / 390.9 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.02321, allocations: 83.78 kB / 391 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.02492, allocations: 2.271 MB / 393.2 MB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.02508, allocations: 35.78 kB / 393.3 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.0251, allocations: 19.94 kB / 393.3 MB, free: 2.812 MB / 362.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.0001732/0.02527, allocations: 196.4 kB / 393.5 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.02532, allocations: 59.72 kB / 393.6 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.02577, allocations: 306.4 kB / 393.9 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.02577, allocations: 7.938 kB / 393.9 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.02578, allocations: 4 kB / 393.9 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.02578, allocations: 0 / 393.9 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.02622, allocations: 0.4972 MB / 394.4 MB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.02622, allocations: 0 / 394.4 MB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.02635, allocations: 47.92 kB / 394.4 MB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002292/0.02658, allocations: 167.8 kB / 394.6 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.0266, allocations: 4 kB / 394.6 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.02798, allocations: 2.286 MB / 396.9 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.02798, allocations: 0 / 396.9 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.02852, allocations: 434.2 kB / 397.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.824e-05/0.02862, allocations: 75.61 kB / 397.4 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.02865, allocations: 8 kB / 397.4 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.02873, allocations: 11.94 kB / 397.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.02881, allocations: 47.86 kB / 397.4 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.02882, allocations: 4 kB / 397.4 MB, free: 14.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.02895, allocations: 243 kB / 397.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02895, allocations: 0 / 397.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004225/0.02937, allocations: 183.5 kB / 397.8 MB, free: 14.05 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.000125/0.0295, allocations: 103.2 kB / 397.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004641/0.02996, allocations: 430.2 kB / 398.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.02996, allocations: 0 / 398.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.03021, allocations: 330.1 kB / 398.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.03059, allocations: 129.8 kB / 398.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.03236, allocations: 1.14 MB / 400 MB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.03248, allocations: 161.7 kB / 400.1 MB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.03262, allocations: 60.34 kB / 400.2 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.03282, allocations: 178.1 kB / 400.3 MB, free: 11.44 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03282, allocations: 0 / 400.3 MB, free: 11.44 MB / 378.7 MB Notification: Performance of Templates: time 0.01245/0.04528, allocations: 8.127 MB / 408.5 MB, free: 3.457 MB / 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.616255025845021]