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.001042/0.001042, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001152/0.001152, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 0.9664/0.9664, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2406/0.2406, allocations: 29.43 MB / 291.2 MB, free: 2.469 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.744e-06/1.744e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.975e-05, allocations: 6.312 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.01156/0.01158, allocations: 3.961 MB / 320.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00465/0.01623, allocations: 0.9238 MB / 321.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.01642, allocations: 19.81 kB / 321.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.0166, allocations: 47.56 kB / 321.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.01708, allocations: 182.8 kB / 322 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.0173, allocations: 87.8 kB / 322.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004375/0.01774, allocations: 414.4 kB / 322.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.01794, allocations: 80.64 kB / 322.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000487/0.01843, allocations: 291.2 kB / 322.9 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.01868, allocations: 135.6 kB / 323 MB, free: 9.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.01871, allocations: 16 kB / 323 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.124e-05/0.01876, allocations: 20 kB / 323 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00312/0.02188, allocations: 99.72 kB / 323.1 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.02199, allocations: 91.77 kB / 323.2 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.02227, allocations: 207.1 kB / 323.4 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.02227, allocations: 0 / 323.4 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.02228, allocations: 4 kB / 323.4 MB, free: 9.379 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.02228, allocations: 0 / 323.4 MB, free: 9.379 MB / 298.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.003722/0.026, allocations: 0.4964 MB / 323.9 MB, free: 8.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.02604, allocations: 11.98 kB / 323.9 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.02611, allocations: 36.91 kB / 324 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.02648, allocations: 272.5 kB / 324.2 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.0265, allocations: 16.88 kB / 324.3 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.02654, allocations: 20.38 kB / 324.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.02682, allocations: 215.7 kB / 324.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.02683, allocations: 4 kB / 324.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.02684, allocations: 8 kB / 324.5 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.02686, allocations: 8 kB / 324.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.02698, allocations: 72.95 kB / 324.6 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.02803, allocations: 1.015 MB / 325.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.02827, allocations: 91.75 kB / 325.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/0.02832, allocations: 21.78 kB / 325.7 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.02833, allocations: 3.984 kB / 325.7 MB, free: 6.934 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.02836, allocations: 38.56 kB / 325.8 MB, free: 6.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.02836, allocations: 0 / 325.8 MB, free: 6.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002834/0.02864, allocations: 113.5 kB / 325.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.02868, allocations: 77.11 kB / 325.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.02887, allocations: 241 kB / 326.2 MB, free: 6.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.02888, allocations: 33.7 kB / 326.2 MB, free: 6.391 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/0.02897, allocations: 184.5 kB / 326.4 MB, free: 6.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.029, allocations: 35.69 kB / 326.4 MB, free: 6.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.02906, allocations: 45.69 kB / 326.5 MB, free: 6.121 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.02922, allocations: 334.8 kB / 326.8 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.134e-05/0.02925, allocations: 12 kB / 326.8 MB, free: 5.773 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-05/0.02933, allocations: 114.6 kB / 326.9 MB, free: 5.621 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.02947, allocations: 142.6 kB / 327.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02948, allocations: 4 kB / 327.1 MB, free: 5.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001945/0.02967, allocations: 145.2 kB / 327.2 MB, free: 5.285 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.02969, allocations: 15.92 kB / 327.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.02969, allocations: 0 / 327.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.02971, allocations: 4 kB / 327.2 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.02988, allocations: 43.92 kB / 327.3 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.02989, allocations: 16.33 kB / 327.3 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.02999, allocations: 23.84 kB / 327.3 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.03, allocations: 8 kB / 327.3 MB, free: 5.176 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 23 * 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.014e-05/0.03009, allocations: 124.6 kB / 327.4 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.03013, allocations: 19.92 kB / 327.5 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.03028, allocations: 87.97 kB / 327.5 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.03028, allocations: 0 / 327.5 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.03028, allocations: 4 kB / 327.5 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.03028, allocations: 0 / 327.5 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.03048, allocations: 132.6 kB / 327.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.03048, allocations: 0 / 327.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003155/0.03363, allocations: 35.92 kB / 327.7 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.03364, allocations: 0 / 327.7 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.03365, allocations: 4 kB / 327.7 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.03365, allocations: 3.938 kB / 327.7 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.03366, allocations: 0 / 327.7 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.03401, allocations: 204.2 kB / 327.9 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.03405, allocations: 31.73 kB / 327.9 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.03407, allocations: 0 / 327.9 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.03416, allocations: 4 kB / 328 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.03418, allocations: 7.984 kB / 328 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-06/0.03419, allocations: 8.031 kB / 328 MB, free: 4.465 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.363e-05/0.03428, allocations: 74.78 kB / 328 MB, free: 4.387 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03428, allocations: 0 / 328 MB, free: 4.387 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.0346, allocations: 55.88 kB / 328.1 MB, free: 4.332 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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.65e-05/0.03469, allocations: 84.3 kB / 328.2 MB, free: 4.242 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.03485, allocations: 78.41 kB / 328.3 MB, free: 4.164 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.03485, allocations: 4 kB / 328.3 MB, free: 4.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.197e-05/0.03491, allocations: 44.91 kB / 328.3 MB, free: 4.113 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.03527, allocations: 56.09 kB / 328.4 MB, free: 4.062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.03643, allocations: 0.5169 MB / 328.9 MB, free: 3.516 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003097/0.03953, allocations: 96.3 kB / 329 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.884e-05/0.03962, allocations: 26.3 kB / 329 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.03977, allocations: 91.34 kB / 329.1 MB, free: 3.289 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03977, allocations: 4 kB / 329.1 MB, free: 3.285 MB / 298.7 MB Notification: Performance of Templates: time 0.005137/0.04491, allocations: 2.265 MB / 331.4 MB, free: 1.086 MB / 298.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 -s gbode -gbm=radauIIA3 -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: 2.756360702216625]