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.001391/0.001391, 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.001747/0.001747, allocations: 169.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 0.9954/0.9954, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2467/0.2467, allocations: 29.41 MB / 291.2 MB, free: 2.41 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.965e-06/2.965e-06, allocations: 0 / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.234e-05, allocations: 3.156 kB / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004869/0.004901, allocations: 4.116 MB / 321 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.006784, allocations: 1.36 MB / 322.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.006995, allocations: 19.81 kB / 322.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005857/0.007581, allocations: 274.7 kB / 322.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.008034, allocations: 262.4 kB / 322.9 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.008575, allocations: 251.2 kB / 323.1 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004507/0.009025, allocations: 0.5572 MB / 323.7 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.009318, allocations: 248.3 kB / 323.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004583/0.009777, allocations: 387 kB / 324.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.01009, allocations: 307.2 kB / 324.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.01013, allocations: 40 kB / 324.6 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.01045, allocations: 235.6 kB / 324.9 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.01062, allocations: 247.4 kB / 325.1 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.01075, allocations: 183.6 kB / 325.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.01127, allocations: 0.5412 MB / 325.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01127, allocations: 4 kB / 325.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01127, allocations: 4 kB / 325.8 MB, free: 6.969 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.01128, allocations: 0 / 325.8 MB, free: 6.969 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0007525/0.01203, allocations: 0.6375 MB / 326.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.01207, allocations: 15.98 kB / 326.5 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004589/0.01253, allocations: 132.8 kB / 326.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.01286, allocations: 312.4 kB / 326.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.01288, allocations: 33.36 kB / 327 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.845e-05/0.01297, allocations: 52.5 kB / 327 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.01346, allocations: 419.9 kB / 327.4 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.01348, allocations: 3.938 kB / 327.4 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.01351, allocations: 16 kB / 327.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.684e-05/0.0136, allocations: 48.97 kB / 327.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.01388, allocations: 225.6 kB / 327.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.01558, allocations: 1.889 MB / 329.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.01579, allocations: 191.8 kB / 329.8 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.01586, allocations: 65.77 kB / 329.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.01589, allocations: 11.98 kB / 329.9 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.01592, allocations: 38.5 kB / 329.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 2.535e-06/0.01592, allocations: 4 kB / 329.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008098/0.01673, allocations: 0.5961 MB / 330.5 MB, free: 2.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.01677, allocations: 89.25 kB / 330.6 MB, free: 1.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.01694, allocations: 266.8 kB / 330.9 MB, free: 1.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.01696, allocations: 37.7 kB / 330.9 MB, free: 1.637 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.01706, allocations: 240.6 kB / 331.1 MB, free: 1.398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.443e-05/0.01713, allocations: 158.6 kB / 331.3 MB, free: 1.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.01722, allocations: 86.09 kB / 331.4 MB, free: 1.148 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.0173, allocations: 358.8 kB / 331.7 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.058e-05/0.01738, allocations: 59.97 kB / 331.8 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.0175, allocations: 209.6 kB / 332 MB, free: 464 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.01776, allocations: 346.2 kB / 332.3 MB, free: 44 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01776, allocations: 0 / 332.3 MB, free: 44 kB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003393/0.0181, allocations: 325.1 kB / 332.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.01812, allocations: 8 kB / 332.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.01812, allocations: 4 kB / 332.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.01814, allocations: 8 kB / 332.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.01842, allocations: 123.7 kB / 332.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01842, allocations: 8 kB / 332.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.01853, allocations: 12 kB / 332.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.01856, allocations: 16 kB / 332.8 MB, free: 15.54 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.0001019/0.01866, allocations: 152.6 kB / 333 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.01872, allocations: 35.97 kB / 333 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.01898, allocations: 228.4 kB / 333.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.019, allocations: 15.92 kB / 333.2 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.019, allocations: 0 / 333.2 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.019, allocations: 4 kB / 333.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006536/0.01966, allocations: 0.608 MB / 333.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01966, allocations: 4.094 kB / 333.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.01988, allocations: 75.83 kB / 333.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.01988, allocations: 4 kB / 333.9 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.0199, allocations: 15.98 kB / 333.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.0199, allocations: 0 / 333.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.0199, allocations: 4 kB / 333.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.02027, allocations: 439.8 kB / 334.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.0203, allocations: 31.7 kB / 334.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.02033, allocations: 19.98 kB / 334.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.02042, allocations: 11.94 kB / 334.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.02045, allocations: 24 kB / 334.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.02047, allocations: 11.92 kB / 334.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.922e-05/0.02054, allocations: 92.62 kB / 334.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02054, allocations: 0 / 334.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002884/0.02083, allocations: 108 kB / 334.7 MB, free: 13.59 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.0001478/0.02098, allocations: 112.3 kB / 334.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.02122, allocations: 226.9 kB / 335 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.02123, allocations: 4 kB / 335 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.213e-05/0.02132, allocations: 98.12 kB / 335.1 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.0216, allocations: 88.28 kB / 335.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.02272, allocations: 0.8723 MB / 336.1 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.02282, allocations: 149.7 kB / 336.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.02295, allocations: 51.25 kB / 336.3 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.02309, allocations: 111.3 kB / 336.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of SimCode: time 6.02e-07/0.02309, allocations: 0 / 336.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of Templates: time 0.005958/0.02905, allocations: 4.173 MB / 340.5 MB, free: 7.738 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 -s gbode -gbm=radauIIA3 -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: 2.9396822531707585]