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.001624/0.001624, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.00196/0.00196, allocations: 169.3 kB / 24.27 MB, free: 144 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.631/1.631, 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.3033/0.3033, allocations: 29.41 MB / 290.5 MB, free: 2.449 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.483e-06/1.483e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/2.971e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009516/0.009546, allocations: 6.242 MB / 375.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.013, allocations: 1.558 MB / 376.7 MB, free: 3.484 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004829/0.01348, allocations: 31.75 kB / 376.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007273/0.01421, allocations: 186.5 kB / 376.9 MB, free: 3.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.0153, allocations: 397.5 kB / 377.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.01595, allocations: 239.5 kB / 377.5 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.01747, allocations: 1.102 MB / 378.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005192/0.01799, allocations: 302.8 kB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.01913, allocations: 0.6624 MB / 379.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007555/0.01989, allocations: 438.9 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.02003, allocations: 84 kB / 380.1 MB, free: 56 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.02023, allocations: 84.05 kB / 380.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.02057, allocations: 295.1 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004119/0.02098, allocations: 283.4 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.02234, allocations: 1.063 MB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.02235, allocations: 0 / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.02235, allocations: 0 / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.02236, allocations: 0 / 381.8 MB, free: 14.34 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.00224/0.0246, allocations: 0.9529 MB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.02464, allocations: 15.98 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.02489, allocations: 128.4 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.02623, allocations: 0.6296 MB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.02646, allocations: 186.4 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.02658, allocations: 64.31 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.0281, allocations: 0.7424 MB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.02812, allocations: 0 / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.02819, allocations: 28 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.02821, allocations: 12 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.02953, allocations: 0.605 MB / 385.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003666/0.0332, allocations: 2.153 MB / 387.3 MB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.0342, allocations: 396.9 kB / 387.7 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.03467, allocations: 187.1 kB / 387.9 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.03471, allocations: 12.28 kB / 387.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005155/0.03522, allocations: 235.5 kB / 388.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 2.816e-06/0.03523, allocations: 0 / 388.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.003425/0.03865, allocations: 0.8111 MB / 388.9 MB, free: 6.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.03878, allocations: 136.7 kB / 389.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.03925, allocations: 361.5 kB / 389.4 MB, free: 6.414 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.03929, allocations: 29.7 kB / 389.4 MB, free: 6.379 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.03961, allocations: 328.6 kB / 389.8 MB, free: 6.051 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.03976, allocations: 119 kB / 389.9 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.03991, allocations: 86.14 kB / 390 MB, free: 5.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.04013, allocations: 354.7 kB / 390.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.04047, allocations: 132.9 kB / 390.4 MB, free: 5.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.04093, allocations: 250.7 kB / 390.7 MB, free: 5.062 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.04266, allocations: 0.6603 MB / 391.3 MB, free: 4.355 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.04266, allocations: 0 / 391.3 MB, free: 4.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001256/0.04392, allocations: 0.5294 MB / 391.9 MB, free: 3.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.04395, allocations: 4 kB / 391.9 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.04396, allocations: 7.984 kB / 391.9 MB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005305/0.04449, allocations: 156.9 kB / 392 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.04483, allocations: 79.84 kB / 392.1 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004002/0.04883, allocations: 2.121 MB / 394.2 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.0492, allocations: 55.59 kB / 394.3 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.04924, allocations: 20 kB / 394.3 MB, free: 1.277 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.0004452/0.04969, allocations: 249.1 kB / 394.6 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.04979, allocations: 55.72 kB / 394.6 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.05122, allocations: 479.4 kB / 395.1 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.05123, allocations: 4 kB / 395.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.05123, allocations: 0 / 395.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.05124, allocations: 4 kB / 395.1 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008653/0.05211, allocations: 0.5222 MB / 395.6 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.05211, allocations: 0 / 395.6 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.05237, allocations: 51.94 kB / 395.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.05286, allocations: 144.7 kB / 395.8 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.05289, allocations: 8 kB / 395.8 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003706/0.0566, allocations: 2.114 MB / 397.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.0566, allocations: 3.938 kB / 397.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.05837, allocations: 0.7062 MB / 398.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.05856, allocations: 67.67 kB / 398.7 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.05861, allocations: 8 kB / 398.7 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.05885, allocations: 27.91 kB / 398.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.05899, allocations: 35.92 kB / 398.8 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.05902, allocations: 12 kB / 398.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004035/0.05942, allocations: 239.2 kB / 399 MB, free: 12.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05942, allocations: 0 / 399 MB, free: 12.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00093/0.06035, allocations: 167.6 kB / 399.2 MB, free: 12.22 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.0002557/0.06061, allocations: 115.2 kB / 399.3 MB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.0619, allocations: 498.1 kB / 399.8 MB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.0619, allocations: 0 / 399.8 MB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006222/0.06252, allocations: 330.5 kB / 400.1 MB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.06317, allocations: 143.7 kB / 400.2 MB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.06558, allocations: 1.167 MB / 401.4 MB, free: 9.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.066, allocations: 335 kB / 401.7 MB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002498/0.06625, allocations: 72.34 kB / 401.8 MB, free: 9.496 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.06634, allocations: 36.5 kB / 401.8 MB, free: 9.461 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.06634, allocations: 0 / 401.8 MB, free: 9.461 MB / 378.7 MB Notification: Performance of Templates: time 0.01486/0.08121, allocations: 6.916 MB / 408.8 MB, free: 2.668 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=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.162127768970095]