Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001103/0.001103, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001689/0.002792, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001049/0.001049, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002487, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.013/1.013, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09205/1.105, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1133/0.1133, allocations: 29.45 MB / 273.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.124/0.2373, allocations: 9.54 MB / 283.1 MB, free: 12.83 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 284.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.749e-05, allocations: 3.5 kB / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.003843/0.00386, allocations: 4.174 MB / 288.6 MB, free: 8.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.005542, allocations: 1.367 MB / 290 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.005692, allocations: 21.44 kB / 290 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.006219, allocations: 359.8 kB / 290.3 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003896/0.006608, allocations: 278.1 kB / 290.6 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.007131, allocations: 243.7 kB / 290.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005241/0.007655, allocations: 0.5918 MB / 291.4 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.007918, allocations: 227.8 kB / 291.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004527/0.008371, allocations: 419.3 kB / 292.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.008692, allocations: 319.1 kB / 292.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.008741, allocations: 37.16 kB / 292.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003404/0.009082, allocations: 232.8 kB / 292.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.00926, allocations: 236.8 kB / 292.9 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.009408, allocations: 147.7 kB / 293 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.009901, allocations: 499.9 kB / 293.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.00991, allocations: 0 / 293.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.009911, allocations: 1.125 kB / 293.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.009924, allocations: 4 kB / 293.5 MB, free: 5.539 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001094/0.01102, allocations: 0.7547 MB / 294.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.01105, allocations: 8.031 kB / 294.3 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005424/0.01159, allocations: 213.8 kB / 294.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.01198, allocations: 316.4 kB / 294.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.012, allocations: 29.38 kB / 294.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.982e-05/0.0121, allocations: 48.48 kB / 294.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.01251, allocations: 419.9 kB / 295.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.01253, allocations: 7.938 kB / 295.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.01256, allocations: 20 kB / 295.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-05/0.01264, allocations: 40.97 kB / 295.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.01292, allocations: 221.6 kB / 295.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.01481, allocations: 1.893 MB / 297.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.01504, allocations: 195.8 kB / 297.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.01511, allocations: 65.77 kB / 297.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.01514, allocations: 12 kB / 297.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.01516, allocations: 30.56 kB / 297.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 2.053e-06/0.01517, allocations: 0 / 297.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.001016/0.01618, allocations: 0.625 MB / 298.4 MB, free: 500 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.01623, allocations: 85.05 kB / 298.5 MB, free: 396 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.01638, allocations: 266.8 kB / 298.7 MB, free: 112 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.0164, allocations: 29.7 kB / 298.8 MB, free: 76 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.01651, allocations: 248.6 kB / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.01674, allocations: 154.6 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-05/0.01682, allocations: 86.09 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.01691, allocations: 354.7 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.069e-05/0.01698, allocations: 59.95 kB / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.01711, allocations: 221.7 kB / 299.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.01738, allocations: 342.5 kB / 300.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01738, allocations: 4 kB / 300.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003177/0.0177, allocations: 321.9 kB / 300.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.01772, allocations: 13.64 kB / 300.5 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.01773, allocations: 8 kB / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.01774, allocations: 8 kB / 300.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.01804, allocations: 124.9 kB / 300.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.01804, allocations: 8 kB / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.01816, allocations: 27.86 kB / 300.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.01818, allocations: 16 kB / 300.7 MB, free: 13.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * 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 0.0001075/0.01829, allocations: 136.6 kB / 300.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.01835, allocations: 43.84 kB / 300.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.01861, allocations: 236.4 kB / 301.1 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.01862, allocations: 11.94 kB / 301.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.01863, allocations: 4 kB / 301.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.01863, allocations: 7.969 kB / 301.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/0.01936, allocations: 0.6124 MB / 301.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.01937, allocations: 0 / 301.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.01962, allocations: 87.97 kB / 301.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.01965, allocations: 31.77 kB / 301.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.01966, allocations: 4 kB / 301.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.01968, allocations: 15.92 kB / 301.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.01968, allocations: 4 kB / 301.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01969, allocations: 0 / 301.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.02007, allocations: 439.8 kB / 302.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.0201, allocations: 8 kB / 302.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/0.02019, allocations: 11.94 kB / 302.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.02022, allocations: 23.95 kB / 302.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.02024, allocations: 8 kB / 302.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.989e-05/0.02031, allocations: 96.62 kB / 302.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02031, allocations: 0 / 302.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003246/0.02063, allocations: 119.9 kB / 302.6 MB, free: 12 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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 0.000173/0.02081, allocations: 112.3 kB / 302.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.02109, allocations: 230.8 kB / 302.9 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.206e-05/0.02111, allocations: 11.98 kB / 302.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.02123, allocations: 118.6 kB / 303 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.0217, allocations: 0.5204 MB / 303.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/0.02769, allocations: 0.8965 MB / 304.5 MB, free: 9.977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.02779, allocations: 157.7 kB / 304.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.028, allocations: 47.27 kB / 304.7 MB, free: 9.758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.02818, allocations: 111.3 kB / 304.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of SimCode: time 1.553e-06/0.02818, allocations: 0 / 304.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of Templates: time 0.007471/0.03565, allocations: 4.067 MB / 308.8 MB, free: 5.656 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceSynchron.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8182489881291986]