Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.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.0007752/0.0007752, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001798, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007152/0.0007152, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008572/0.001572, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9533/0.9533, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08281/1.036, allocations: 53.64 MB / 243.3 MB, free: 15.58 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.1321/0.1321, allocations: 29.44 MB / 273.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.127/0.2591, allocations: 9.533 MB / 283 MB, free: 12.85 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.ReferenceInertial,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.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,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.ReferenceInertial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 284.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.169e-05, allocations: 3.344 kB / 284.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.005772/0.005794, allocations: 4.153 MB / 288.4 MB, free: 8.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.008502, allocations: 1.368 MB / 289.7 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.008752, allocations: 20.25 kB / 289.8 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008148/0.009567, allocations: 360.5 kB / 290.1 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005091/0.01008, allocations: 246.7 kB / 290.4 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007325/0.01081, allocations: 249.2 kB / 290.6 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006709/0.01148, allocations: 0.5754 MB / 291.2 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.01184, allocations: 223.5 kB / 291.4 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006184/0.01246, allocations: 394.4 kB / 291.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.01285, allocations: 254.4 kB / 292 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.466e-05/0.0129, allocations: 29.62 kB / 292.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004939/0.0134, allocations: 160.1 kB / 292.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.01365, allocations: 218.9 kB / 292.4 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.01384, allocations: 134 kB / 292.6 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.01435, allocations: 417.5 kB / 293 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.01436, allocations: 0 / 293 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01437, allocations: 0.8125 kB / 293 MB, free: 5.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.01438, allocations: 0 / 293 MB, free: 5.785 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0008474/0.01523, allocations: 0.7268 MB / 293.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.01526, allocations: 10 kB / 293.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004519/0.01571, allocations: 213.2 kB / 293.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.01603, allocations: 304.4 kB / 294.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.01606, allocations: 29.38 kB / 294.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.01613, allocations: 48.56 kB / 294.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.01649, allocations: 438.9 kB / 294.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.01651, allocations: 3.938 kB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.01653, allocations: 16 kB / 294.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.996e-05/0.01659, allocations: 36.98 kB / 294.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.01679, allocations: 174.6 kB / 294.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.01825, allocations: 2.321 MB / 297.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.01839, allocations: 123.6 kB / 297.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.01845, allocations: 65.73 kB / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.01847, allocations: 4 kB / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.01849, allocations: 38.5 kB / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.353e-06/0.0185, allocations: 0 / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006031/0.0191, allocations: 472.3 kB / 297.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.01913, allocations: 85.09 kB / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.01928, allocations: 286.6 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.0193, allocations: 33.7 kB / 298.3 MB, free: 368 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.01939, allocations: 268.4 kB / 298.6 MB, free: 96 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.01945, allocations: 107.1 kB / 298.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.01953, allocations: 86.11 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.01961, allocations: 342.8 kB / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.723e-05/0.01967, allocations: 51.92 kB / 299.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.0198, allocations: 246.6 kB / 299.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.02004, allocations: 359.1 kB / 299.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02004, allocations: 0 / 299.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002659/0.02031, allocations: 295.7 kB / 300.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.02032, allocations: 16.83 kB / 300.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.02033, allocations: 8 kB / 300.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.02034, allocations: 15.94 kB / 300.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.02062, allocations: 127.8 kB / 300.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.02063, allocations: 19.92 kB / 300.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.02074, allocations: 16 kB / 300.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.02076, allocations: 20 kB / 300.3 MB, free: 14.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * 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.301e-05/0.02085, allocations: 144.4 kB / 300.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.02088, allocations: 31.91 kB / 300.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.02112, allocations: 189.7 kB / 300.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.02112, allocations: 4 kB / 300.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.02112, allocations: 0 / 300.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.02113, allocations: 4 kB / 300.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/0.0217, allocations: 0.521 MB / 301.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.02171, allocations: 0 / 301.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.02194, allocations: 75.89 kB / 301.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.02197, allocations: 27.81 kB / 301.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.02197, allocations: 4.094 kB / 301.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.02199, allocations: 15.98 kB / 301.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.02199, allocations: 4 kB / 301.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02199, allocations: 0 / 301.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.02228, allocations: 347.2 kB / 301.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.02231, allocations: 8 kB / 301.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.02239, allocations: 7.984 kB / 301.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.02241, allocations: 19.97 kB / 301.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.02243, allocations: 4 kB / 301.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.64e-05/0.02251, allocations: 104.5 kB / 301.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02251, allocations: 4 kB / 301.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.02275, allocations: 96 kB / 301.9 MB, free: 12.53 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 (31): * Single equations (assignments): 30 * 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 8.291e-05/0.02283, allocations: 88.39 kB / 302 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.02307, allocations: 211.1 kB / 302.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.02308, allocations: 4 kB / 302.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.257e-05/0.02316, allocations: 84.67 kB / 302.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.02342, allocations: 104.6 kB / 302.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/0.02922, allocations: 0.8269 MB / 303.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.84e-05/0.02931, allocations: 141.2 kB / 303.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.02942, allocations: 51.25 kB / 303.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.02955, allocations: 111.3 kB / 303.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02956, allocations: 0 / 303.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of Templates: time 0.005425/0.03498, allocations: 3.703 MB / 307.2 MB, free: 7.234 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceInertial.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.72666678391397]