Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.002228/0.002228, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002319/0.002319, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 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.1912/0.1912, allocations: 38.55 MB / 352.5 MB, free: 12.33 MB / 286.1 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.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.84 kB / 493 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3918, allocations: 62.46 MB / 0.5424 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01147/0.4033, allocations: 7.173 MB / 0.5494 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007333/0.4107, allocations: 3.911 MB / 0.5533 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005205/0.4112, allocations: 16.5 kB / 0.5533 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.4141, allocations: 1.019 MB / 0.5543 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.4171, allocations: 1.103 MB / 0.5553 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.4181, allocations: 313.9 kB / 0.5556 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.4201, allocations: 1.364 MB / 0.557 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007527/0.4208, allocations: 396.1 kB / 0.5574 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.422, allocations: 0.5834 MB / 0.5579 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009254/0.4229, allocations: 0.6304 MB / 0.5585 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.423, allocations: 36 kB / 0.5586 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.4248, allocations: 0.7866 MB / 0.5593 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.4252, allocations: 287.1 kB / 0.5596 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.4254, allocations: 207.1 kB / 0.5598 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.427, allocations: 0.8174 MB / 0.5606 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.427, allocations: 4 kB / 0.5606 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.427, allocations: 0 / 0.5606 GB, free: 1.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.427, allocations: 4 kB / 0.5606 GB, free: 1.562 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001309/0.4283, allocations: 0.7391 MB / 0.5613 GB, free: 0.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.4284, allocations: 11.98 kB / 0.5614 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.4299, allocations: 136.5 kB / 0.5615 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006279/0.4306, allocations: 276.8 kB / 0.5617 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.4306, allocations: 33.36 kB / 0.5618 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.4307, allocations: 40.36 kB / 0.5618 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009038/0.4316, allocations: 0.5889 MB / 0.5624 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.4316, allocations: 0 / 0.5624 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.4316, allocations: 27.97 kB / 0.5624 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-05/0.4317, allocations: 28.64 kB / 0.5624 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005933/0.4323, allocations: 382.1 kB / 0.5628 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.435, allocations: 2.412 MB / 0.5652 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.4356, allocations: 405.3 kB / 0.5656 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.4359, allocations: 198.4 kB / 0.5657 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.436, allocations: 7.984 kB / 0.5658 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.436, allocations: 46.5 kB / 0.5658 GB, free: 11.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.436, allocations: 0 / 0.5658 GB, free: 11.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.0018/0.4378, allocations: 0.6741 MB / 0.5665 GB, free: 11.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.4379, allocations: 106.8 kB / 0.5666 GB, free: 11.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.4382, allocations: 300.5 kB / 0.5668 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.4383, allocations: 33.7 kB / 0.5669 GB, free: 10.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.4384, allocations: 256.3 kB / 0.5671 GB, free: 10.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.4386, allocations: 130.9 kB / 0.5672 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.4387, allocations: 78.09 kB / 0.5673 GB, free: 10.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4389, allocations: 342.8 kB / 0.5676 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.4391, allocations: 132.9 kB / 0.5678 GB, free: 9.898 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.4394, allocations: 283.4 kB / 0.568 GB, free: 9.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.44, allocations: 448.2 kB / 0.5685 GB, free: 9.047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.44, allocations: 4 kB / 0.5685 GB, free: 9.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009442/0.441, allocations: 0.5582 MB / 0.569 GB, free: 8.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.441, allocations: 10.66 kB / 0.569 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.441, allocations: 11.92 kB / 0.569 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004325/0.4415, allocations: 116.8 kB / 0.5692 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.4417, allocations: 79.84 kB / 0.5692 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.4447, allocations: 2.352 MB / 0.5715 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.4449, allocations: 39.73 kB / 0.5716 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.445, allocations: 20 kB / 0.5716 GB, free: 5.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002725/0.4452, allocations: 201.7 kB / 0.5718 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.4453, allocations: 39.77 kB / 0.5718 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.186e-05/0.4454, allocations: 47.14 kB / 0.5719 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4454, allocations: 4 kB / 0.5719 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.4454, allocations: 7.984 kB / 0.5719 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4455, allocations: 0 / 0.5719 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.4468, allocations: 0.8287 MB / 0.5727 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4468, allocations: 0 / 0.5727 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.4469, allocations: 35.92 kB / 0.5727 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.4472, allocations: 116.7 kB / 0.5728 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.4472, allocations: 8 kB / 0.5728 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.4498, allocations: 2.356 MB / 0.5751 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4498, allocations: 0 / 0.5751 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.4507, allocations: 0.6187 MB / 0.5757 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.448e-05/0.4507, allocations: 39.73 kB / 0.5758 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.4508, allocations: 8 kB / 0.5758 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.451, allocations: 8.188 kB / 0.5758 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.451, allocations: 27.89 kB / 0.5758 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.451, allocations: 11.94 kB / 0.5758 GB, free: 1.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.4513, allocations: 207 kB / 0.576 GB, free: 1.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4513, allocations: 0 / 0.576 GB, free: 1.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000695/0.4519, allocations: 159.8 kB / 0.5762 GB, free: 0.8516 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001309/0.4521, allocations: 103.2 kB / 0.5763 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009302/0.453, allocations: 0.5069 MB / 0.5768 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.453, allocations: 4.062 kB / 0.5768 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.4535, allocations: 326.4 kB / 0.5771 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.4541, allocations: 57 kB / 0.5771 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.4558, allocations: 0.8361 MB / 0.578 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.4562, allocations: 279.9 kB / 0.5782 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.4564, allocations: 66.91 kB / 0.5783 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.4564, allocations: 23.44 kB / 0.5783 GB, free: 14.58 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4564, allocations: 0 / 0.5783 GB, free: 14.58 MB / 430.1 MB Notification: Performance of Templates: time 0.00953/0.466, allocations: 4.183 MB / 0.5824 GB, free: 10.42 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.7225003987550735]