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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002422/0.002422, allocations: 184.2 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1822/0.1822, allocations: 38.54 MB / 346.3 MB, free: 2.188 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002/0.002, allocations: 71.88 kB / 484.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3134, allocations: 61.29 MB / 0.533 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.007575/0.321, allocations: 6.767 MB / 0.5396 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.3239, allocations: 1.78 MB / 0.5414 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006464/0.3245, allocations: 31.62 kB / 0.5414 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009043/0.3254, allocations: 222.5 kB / 0.5416 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.3266, allocations: 392 kB / 0.542 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.3272, allocations: 230.4 kB / 0.5422 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.3285, allocations: 1.074 MB / 0.5433 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004673/0.329, allocations: 312.8 kB / 0.5436 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007614/0.3297, allocations: 488.7 kB / 0.544 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007896/0.3305, allocations: 0.4949 MB / 0.5445 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.3306, allocations: 83.94 kB / 0.5446 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.3308, allocations: 85.16 kB / 0.5447 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003153/0.3311, allocations: 276.6 kB / 0.5449 GB, free: 13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.3316, allocations: 407.3 kB / 0.5453 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.3329, allocations: 1.042 MB / 0.5463 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3329, allocations: 4 kB / 0.5463 GB, free: 11.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3329, allocations: 0 / 0.5463 GB, free: 11.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.3329, allocations: 1.156 kB / 0.5463 GB, free: 11.95 MB / 398.1 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.002152/0.3351, allocations: 0.9595 MB / 0.5473 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3351, allocations: 8.5 kB / 0.5473 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.3353, allocations: 78.97 kB / 0.5474 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.3365, allocations: 0.5843 MB / 0.5479 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.3367, allocations: 118.5 kB / 0.5481 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3368, allocations: 62.19 kB / 0.5481 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.3382, allocations: 0.753 MB / 0.5488 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.3382, allocations: 1.469 kB / 0.5488 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/0.3383, allocations: 29.34 kB / 0.5489 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.3383, allocations: 18.58 kB / 0.5489 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.3396, allocations: 0.5997 MB / 0.5495 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.3432, allocations: 2.405 MB / 0.5518 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009309/0.3442, allocations: 400.6 kB / 0.5522 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/0.3446, allocations: 191.6 kB / 0.5524 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.3447, allocations: 8.188 kB / 0.5524 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005073/0.3452, allocations: 246.2 kB / 0.5526 GB, free: 7.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 1.903e-06/0.3452, allocations: 0 / 0.5526 GB, free: 7.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00343/0.3486, allocations: 0.8059 MB / 0.5534 GB, free: 6.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.3487, allocations: 133.4 kB / 0.5536 GB, free: 6.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005117/0.3492, allocations: 399 kB / 0.5539 GB, free: 6.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.3493, allocations: 36.55 kB / 0.554 GB, free: 6.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.3496, allocations: 324.5 kB / 0.5543 GB, free: 6.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.3497, allocations: 130.7 kB / 0.5544 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.3499, allocations: 80.78 kB / 0.5545 GB, free: 5.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.35, allocations: 350.8 kB / 0.5548 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.3504, allocations: 128.8 kB / 0.5549 GB, free: 5.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.3508, allocations: 253.9 kB / 0.5552 GB, free: 5.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.3524, allocations: 0.6601 MB / 0.5558 GB, free: 4.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3524, allocations: 0 / 0.5558 GB, free: 4.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001131/0.3535, allocations: 0.5213 MB / 0.5563 GB, free: 3.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3536, allocations: 4.469 kB / 0.5563 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.3536, allocations: 11.98 kB / 0.5563 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005022/0.3541, allocations: 144.8 kB / 0.5565 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.3544, allocations: 75.84 kB / 0.5566 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.3581, allocations: 2.172 MB / 0.5587 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/0.3585, allocations: 47.73 kB / 0.5587 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.3586, allocations: 23.98 kB / 0.5587 GB, free: 1.352 MB / 398.1 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.0003847/0.359, allocations: 240.7 kB / 0.559 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.359, allocations: 51.66 kB / 0.559 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.3604, allocations: 479.7 kB / 0.5595 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.3604, allocations: 11.94 kB / 0.5595 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.3604, allocations: 0 / 0.5595 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3604, allocations: 7.984 kB / 0.5595 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008832/0.3613, allocations: 0.6465 MB / 0.5601 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3613, allocations: 3.938 kB / 0.5601 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.3615, allocations: 43.92 kB / 0.5602 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004808/0.362, allocations: 140.8 kB / 0.5603 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.3621, allocations: 15.98 kB / 0.5603 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/0.3656, allocations: 2.16 MB / 0.5624 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3656, allocations: 0 / 0.5624 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.3673, allocations: 0.6871 MB / 0.5631 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.3675, allocations: 75.62 kB / 0.5632 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.3676, allocations: 4 kB / 0.5632 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.3678, allocations: 23.91 kB / 0.5632 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.3679, allocations: 43.88 kB / 0.5632 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.368, allocations: 12 kB / 0.5633 GB, free: 12.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003599/0.3683, allocations: 279.1 kB / 0.5635 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3683, allocations: 0 / 0.5635 GB, free: 12.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006498/0.369, allocations: 167.7 kB / 0.5637 GB, free: 12.07 MB / 414.1 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.0001339/0.3691, allocations: 109 kB / 0.5638 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.3702, allocations: 0.4983 MB / 0.5643 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3702, allocations: 0 / 0.5643 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005733/0.3708, allocations: 323.3 kB / 0.5646 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.3715, allocations: 160.6 kB / 0.5647 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.374, allocations: 1.258 MB / 0.566 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.3745, allocations: 0.925 MB / 0.5669 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.3748, allocations: 84.64 kB / 0.567 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.3749, allocations: 35.44 kB / 0.567 GB, free: 8.598 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3749, allocations: 0 / 0.567 GB, free: 8.598 MB / 414.1 MB Notification: Performance of Templates: time 0.01765/0.3925, allocations: 8.653 MB / 0.5754 GB, free: 48 kB / 414.1 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.359183578751981]