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.0009538/0.0009538, allocations: 80.92 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.001067/0.001067, allocations: 168.9 kB / 24.91 MB, free: 8.723 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 4.488 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.1556/0.1556, allocations: 29.43 MB / 291.2 MB, free: 2.676 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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|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="Time|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.003e-06/2.003e-06, allocations: 0 / 316.8 MB, free: 9.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.982e-05, allocations: 4.984 kB / 316.8 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004395/0.004415, allocations: 4.068 MB / 320.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.006715, allocations: 1.363 MB / 322.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.006932, allocations: 15.88 kB / 322.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007163/0.007649, allocations: 290.6 kB / 322.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.008172, allocations: 258.4 kB / 322.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.008802, allocations: 243.3 kB / 323 MB, free: 2.805 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000543/0.009345, allocations: 0.5649 MB / 323.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.009688, allocations: 240.3 kB / 323.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005853/0.01027, allocations: 398.9 kB / 324.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003723/0.01065, allocations: 303.2 kB / 324.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.0107, allocations: 40 kB / 324.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.01107, allocations: 231.5 kB / 324.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.01127, allocations: 259.4 kB / 325 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.01141, allocations: 175.6 kB / 325.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.01193, allocations: 0.549 MB / 325.8 MB, free: 76 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.01194, allocations: 0 / 325.8 MB, free: 76 kB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01194, allocations: 3.938 kB / 325.8 MB, free: 72 kB / 298.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.01194, allocations: 0 / 325.8 MB, free: 72 kB / 298.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.000768/0.01271, allocations: 0.634 MB / 326.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.01275, allocations: 8.031 kB / 326.4 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004512/0.0132, allocations: 136.7 kB / 326.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.01356, allocations: 320.3 kB / 326.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.01358, allocations: 33.38 kB / 326.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-05/0.01367, allocations: 44.53 kB / 326.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.0141, allocations: 427.9 kB / 327.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.01412, allocations: 0 / 327.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.01415, allocations: 16 kB / 327.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.41e-05/0.01423, allocations: 40.97 kB / 327.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.01451, allocations: 225.6 kB / 327.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.01624, allocations: 1.897 MB / 329.5 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.01645, allocations: 187.8 kB / 329.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/0.01653, allocations: 77.75 kB / 329.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.01656, allocations: 4 kB / 329.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.01658, allocations: 46.55 kB / 329.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.863e-06/0.01659, allocations: 0 / 329.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008106/0.0174, allocations: 0.5843 MB / 330.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.01744, allocations: 89.3 kB / 330.5 MB, free: 11.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.01759, allocations: 266.8 kB / 330.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.01761, allocations: 29.7 kB / 330.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.01771, allocations: 244.7 kB / 331 MB, free: 10.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.253e-05/0.01778, allocations: 154.7 kB / 331.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.01787, allocations: 98.08 kB / 331.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.01795, allocations: 350.7 kB / 331.6 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.01802, allocations: 59.95 kB / 331.7 MB, free: 9.844 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.01816, allocations: 217.5 kB / 331.9 MB, free: 9.562 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.01841, allocations: 346 kB / 332.2 MB, free: 9.152 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01842, allocations: 4 kB / 332.2 MB, free: 9.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003148/0.01873, allocations: 321.1 kB / 332.6 MB, free: 8.828 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.01874, allocations: 4 kB / 332.6 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01875, allocations: 8 kB / 332.6 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.01877, allocations: 8 kB / 332.6 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.01897, allocations: 103.8 kB / 332.7 MB, free: 8.707 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.01899, allocations: 11.94 kB / 332.7 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.873e-05/0.01908, allocations: 19.94 kB / 332.7 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.01911, allocations: 20.3 kB / 332.7 MB, free: 8.656 MB / 314.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.0001055/0.01922, allocations: 144.5 kB / 332.9 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.01928, allocations: 39.91 kB / 332.9 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.01953, allocations: 225.9 kB / 333.1 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.01954, allocations: 12 kB / 333.1 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01955, allocations: 3.938 kB / 333.1 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.01955, allocations: 0 / 333.1 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.02022, allocations: 0.6041 MB / 333.7 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.02022, allocations: 8 kB / 333.8 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.02038, allocations: 63.91 kB / 333.8 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.02038, allocations: 0 / 333.8 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.0204, allocations: 11.94 kB / 333.8 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.0204, allocations: 4 kB / 333.8 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.0204, allocations: 0 / 333.8 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.02077, allocations: 435.1 kB / 334.3 MB, free: 7.039 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.0208, allocations: 35.75 kB / 334.3 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.02083, allocations: 11.94 kB / 334.3 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.02091, allocations: 8.062 kB / 334.3 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.02094, allocations: 23.95 kB / 334.3 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.02096, allocations: 12 kB / 334.3 MB, free: 6.949 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.9e-05/0.02103, allocations: 92.62 kB / 334.4 MB, free: 6.855 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02103, allocations: 0 / 334.4 MB, free: 6.855 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.02129, allocations: 115.9 kB / 334.5 MB, free: 6.742 MB / 314.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.0001731/0.02146, allocations: 116.3 kB / 334.7 MB, free: 6.621 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.02171, allocations: 230.8 kB / 334.9 MB, free: 6.395 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.02172, allocations: 4 kB / 334.9 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.693e-05/0.02182, allocations: 102.1 kB / 335 MB, free: 6.289 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.02209, allocations: 85.75 kB / 335.1 MB, free: 6.211 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.02322, allocations: 0.8677 MB / 335.9 MB, free: 5.297 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.392e-05/0.02331, allocations: 145.7 kB / 336.1 MB, free: 5.133 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000117/0.02343, allocations: 51.19 kB / 336.1 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.02357, allocations: 115.3 kB / 336.2 MB, free: 4.973 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02357, allocations: 0 / 336.2 MB, free: 4.973 MB / 314.7 MB Notification: Performance of Templates: time 0.005942/0.02951, allocations: 4.079 MB / 340.3 MB, free: 0.9531 MB / 314.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3010674426332116]