Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001448/0.001448, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001166/0.001166, allocations: 165.3 kB / 24.99 MB, free: 8.336 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2661/0.2661, allocations: 29.42 MB / 291.2 MB, free: 2.527 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.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.653e-05, allocations: 5.703 kB / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004244/0.00427, allocations: 4.206 MB / 373.8 MB, free: 7.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.005501, allocations: 0.8999 MB / 374.7 MB, free: 6.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.00568, allocations: 15.88 kB / 374.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.00586, allocations: 55.5 kB / 374.8 MB, free: 6.145 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.006304, allocations: 186.8 kB / 375 MB, free: 5.961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.006492, allocations: 95.73 kB / 375.1 MB, free: 5.867 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.006854, allocations: 410.3 kB / 375.5 MB, free: 5.465 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.007042, allocations: 66.7 kB / 375.5 MB, free: 5.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.00737, allocations: 251.3 kB / 375.8 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.00761, allocations: 167.5 kB / 375.9 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.007641, allocations: 20 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.076e-05/0.007672, allocations: 20 kB / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.293e-05/0.007755, allocations: 99.66 kB / 376.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.942e-05/0.007854, allocations: 91.77 kB / 376.2 MB, free: 4.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.008151, allocations: 211.2 kB / 376.4 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.008155, allocations: 3.938 kB / 376.4 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.008157, allocations: 0 / 376.4 MB, free: 4.559 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.008166, allocations: 8 kB / 376.4 MB, free: 4.551 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008094/0.008975, allocations: 0.6138 MB / 377 MB, free: 3.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.009018, allocations: 11.98 kB / 377 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.196e-05/0.0091, allocations: 56.7 kB / 377.1 MB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.009481, allocations: 298.4 kB / 377.4 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.009501, allocations: 20.86 kB / 377.4 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.009535, allocations: 20.38 kB / 377.4 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.009795, allocations: 246.4 kB / 377.6 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.009805, allocations: 4 kB / 377.6 MB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.009825, allocations: 12 kB / 377.7 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.009837, allocations: 4 kB / 377.7 MB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.009977, allocations: 88.94 kB / 377.8 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.01105, allocations: 1.423 MB / 379.2 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.01134, allocations: 110.1 kB / 379.3 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.01139, allocations: 35.38 kB / 379.3 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.01141, allocations: 0 / 379.3 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.01144, allocations: 41.38 kB / 379.4 MB, free: 1.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.01144, allocations: 0 / 379.4 MB, free: 1.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.000663/0.0121, allocations: 376.8 kB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.01215, allocations: 85.17 kB / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.01234, allocations: 300.2 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.01236, allocations: 33.7 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.01249, allocations: 246.8 kB / 380.4 MB, free: 252 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.01252, allocations: 35.69 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.01258, allocations: 51.36 kB / 380.5 MB, free: 156 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.01272, allocations: 0.5001 MB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.01276, allocations: 23.98 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.01286, allocations: 157.2 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.01301, allocations: 203 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01302, allocations: 8 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002041/0.01322, allocations: 181.1 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.01324, allocations: 8 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.01324, allocations: 4 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.01326, allocations: 4.438 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.01337, allocations: 51.92 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.01338, allocations: 7.938 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/0.01344, allocations: 11.95 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.01346, allocations: 11.98 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.365e-05/0.01355, allocations: 168.5 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.01358, allocations: 31.86 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.01375, allocations: 115.3 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01375, allocations: 4 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01375, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01376, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.01412, allocations: 441 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01413, allocations: 3.938 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.673e-05/0.01421, allocations: 23.98 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01422, allocations: 0 / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.01423, allocations: 4 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01423, allocations: 4 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01423, allocations: 0 / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.01447, allocations: 305.9 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.01449, allocations: 27.8 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.01451, allocations: 64 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.235e-05/0.01456, allocations: 12 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.01459, allocations: 3.984 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.0146, allocations: 7.984 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.0147, allocations: 205.1 kB / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0147, allocations: 0 / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.01492, allocations: 44 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.45e-05/0.01501, allocations: 95.25 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.01518, allocations: 102.3 kB / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01518, allocations: 0 / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.036e-05/0.01523, allocations: 43.61 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.01558, allocations: 62.72 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.01664, allocations: 0.5144 MB / 383.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.298e-05/0.0167, allocations: 92.3 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.18e-05/0.01678, allocations: 34.27 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.01682, allocations: 20.5 kB / 383.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of SimCode: time 1.994e-06/0.01682, allocations: 0 / 383.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of Templates: time 0.004195/0.02102, allocations: 2.068 MB / 386 MB, free: 10.35 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.0992358319927007]