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.0008221/0.0008221, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001916, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007204/0.0007204, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009594/0.00168, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9752/0.9752, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07949/1.055, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.1172/0.1172, allocations: 29.44 MB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1345/0.2517, allocations: 9.532 MB / 283 MB, free: 12.84 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 8.72e-07/8.72e-07, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.17e-05, allocations: 4.094 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.004887/0.004899, allocations: 5.666 MB / 289.9 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.006688, allocations: 1.658 MB / 291.6 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.006901, allocations: 30.88 kB / 291.6 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.007222, allocations: 186.3 kB / 291.8 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.007637, allocations: 370 kB / 292.1 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.007923, allocations: 244.5 kB / 292.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008511/0.008774, allocations: 1.095 MB / 293.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/0.009069, allocations: 310.1 kB / 293.8 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007657/0.009834, allocations: 0.7327 MB / 294.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003916/0.01023, allocations: 402.2 kB / 294.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.131e-05/0.0103, allocations: 81.84 kB / 295 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.0104, allocations: 88.19 kB / 295.1 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.01057, allocations: 259.4 kB / 295.3 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.01077, allocations: 235.6 kB / 295.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004587/0.01122, allocations: 0.5607 MB / 296.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.01124, allocations: 0 / 296.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01124, allocations: 4 kB / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.01125, allocations: 0 / 296.1 MB, free: 2.902 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.001048/0.0123, allocations: 1.041 MB / 297.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.648e-05/0.01233, allocations: 8.031 kB / 297.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.01243, allocations: 100.9 kB / 297.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.0129, allocations: 462.2 kB / 297.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.01301, allocations: 186.4 kB / 297.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.965e-05/0.01307, allocations: 56.38 kB / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.01354, allocations: 0.4997 MB / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.01356, allocations: 0 / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.01359, allocations: 27.98 kB / 298.5 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.0136, allocations: 16 kB / 298.5 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.01385, allocations: 197.6 kB / 298.7 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.01533, allocations: 1.738 MB / 300.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.01564, allocations: 301.1 kB / 300.7 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.01576, allocations: 100.5 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.01578, allocations: 8.281 kB / 300.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.01596, allocations: 186.6 kB / 301 MB, free: 13.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.01596, allocations: 0 / 301 MB, free: 13.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009341/0.0169, allocations: 459.5 kB / 301.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.01695, allocations: 144.5 kB / 301.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.01712, allocations: 323.4 kB / 301.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.01715, allocations: 37.7 kB / 301.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.01727, allocations: 285.2 kB / 302.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.01734, allocations: 118.9 kB / 302.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.001e-05/0.01742, allocations: 90.09 kB / 302.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.265e-05/0.0175, allocations: 354.7 kB / 302.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-05/0.01757, allocations: 47.8 kB / 302.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.01768, allocations: 158.4 kB / 303 MB, free: 11.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.01793, allocations: 310.3 kB / 303.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01794, allocations: 0 / 303.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003052/0.01824, allocations: 289.7 kB / 303.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.01826, allocations: 4 kB / 303.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.01826, allocations: 4 kB / 303.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.0185, allocations: 179.7 kB / 303.7 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.01869, allocations: 95.72 kB / 303.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.01985, allocations: 1.723 MB / 305.6 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.01998, allocations: 39.72 kB / 305.6 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.01999, allocations: 12 kB / 305.6 MB, free: 8.863 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.0001168/0.02011, allocations: 156.4 kB / 305.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.02015, allocations: 39.97 kB / 305.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.0205, allocations: 269.2 kB / 306.1 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.02051, allocations: 4 kB / 306.1 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.02051, allocations: 0 / 306.1 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.02051, allocations: 7.922 kB / 306.1 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.02085, allocations: 399.7 kB / 306.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02085, allocations: 0 / 306.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.02099, allocations: 62.19 kB / 306.5 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.02107, allocations: 59.64 kB / 306.6 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.02127, allocations: 171.5 kB / 306.8 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.02129, allocations: 4 kB / 306.8 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.02258, allocations: 1.714 MB / 308.5 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.02258, allocations: 4.031 kB / 308.5 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.02301, allocations: 383.6 kB / 308.8 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.02304, allocations: 8 kB / 308.9 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.02312, allocations: 15.98 kB / 308.9 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.02319, allocations: 43.86 kB / 308.9 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.0232, allocations: 4 kB / 308.9 MB, free: 5.367 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.787e-05/0.02328, allocations: 124.7 kB / 309 MB, free: 5.242 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02328, allocations: 3.938 kB / 309 MB, free: 5.238 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.02357, allocations: 171.6 kB / 309.2 MB, free: 5.07 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 7.936e-05/0.02365, allocations: 84.41 kB / 309.3 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006997/0.02435, allocations: 360 kB / 309.6 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.02436, allocations: 4 kB / 309.6 MB, free: 4.605 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.02455, allocations: 268.4 kB / 309.9 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.02484, allocations: 172 kB / 310.1 MB, free: 4.168 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007305/0.03215, allocations: 1.137 MB / 311.2 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.03225, allocations: 169.7 kB / 311.4 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.03237, allocations: 56.36 kB / 311.4 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.03253, allocations: 145.3 kB / 311.6 MB, free: 2.609 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03253, allocations: 0 / 311.6 MB, free: 2.609 MB / 298.7 MB Notification: Performance of Templates: time 0.009835/0.04237, allocations: 8.447 MB / 320 MB, free: 10.32 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.900909712538123]