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.002324/0.002324, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002581/0.002581, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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.604/1.604, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] 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.3119/0.3119, allocations: 29.41 MB / 290.5 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 368.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.771e-05/4.085e-05, allocations: 5.828 kB / 368.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.007656/0.007697, allocations: 4.491 MB / 373.4 MB, free: 6.836 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.01087, allocations: 1.429 MB / 374.8 MB, free: 5.402 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000264/0.01113, allocations: 19.81 kB / 374.8 MB, free: 5.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.01238, allocations: 374.4 kB / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007191/0.0131, allocations: 270.4 kB / 375.4 MB, free: 4.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.01392, allocations: 255.2 kB / 375.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007747/0.0147, allocations: 0.5689 MB / 376.3 MB, free: 3.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004371/0.01513, allocations: 217.5 kB / 376.5 MB, free: 3.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006036/0.01574, allocations: 358.8 kB / 376.8 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005989/0.01633, allocations: 347.2 kB / 377.2 MB, free: 3.027 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.461e-05/0.01642, allocations: 40 kB / 377.2 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005726/0.01699, allocations: 235.5 kB / 377.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.01731, allocations: 259.4 kB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.0176, allocations: 179.6 kB / 377.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.01869, allocations: 0.7088 MB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.0187, allocations: 4 kB / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.0187, allocations: 0 / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.01871, allocations: 0 / 378.6 MB, free: 1.613 MB / 346.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.001642/0.02035, allocations: 0.8365 MB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.02039, allocations: 15.98 kB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008553/0.02125, allocations: 164.4 kB / 379.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.02235, allocations: 378.7 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.0224, allocations: 33.36 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.02255, allocations: 44.5 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/0.02348, allocations: 0.4936 MB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.02351, allocations: 4 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.02356, allocations: 12 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/0.02375, allocations: 52.97 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/0.02452, allocations: 351.6 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/0.02879, allocations: 2.591 MB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.02929, allocations: 198.4 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.02953, allocations: 111.4 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.02957, allocations: 11.94 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.02962, allocations: 37.39 kB / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.645e-06/0.02962, allocations: 0 / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002058/0.03168, allocations: 0.873 MB / 384.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.03176, allocations: 85.05 kB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.0322, allocations: 382.2 kB / 385.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.03224, allocations: 33.7 kB / 385.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.03251, allocations: 314.9 kB / 385.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.03268, allocations: 166.6 kB / 385.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.03287, allocations: 111.8 kB / 385.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003452/0.03321, allocations: 0.5391 MB / 386.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.03342, allocations: 89.23 kB / 386.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.03399, allocations: 326.7 kB / 386.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006966/0.03469, allocations: 461.7 kB / 387.2 MB, free: 8.398 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.03469, allocations: 0 / 387.2 MB, free: 8.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008804/0.03557, allocations: 454.3 kB / 387.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.0356, allocations: 12.09 kB / 387.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.03561, allocations: 4 kB / 387.7 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/0.03564, allocations: 11.94 kB / 387.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.03615, allocations: 115.8 kB / 387.8 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.03616, allocations: 8 kB / 387.8 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.03643, allocations: 27.97 kB / 387.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.03649, allocations: 24 kB / 387.8 MB, free: 7.75 MB / 362.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.0002607/0.03675, allocations: 196.4 kB / 388 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.03689, allocations: 51.7 kB / 388.1 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007535/0.03765, allocations: 320.6 kB / 388.4 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/0.03768, allocations: 11.94 kB / 388.4 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.03768, allocations: 4 kB / 388.4 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.03769, allocations: 3.984 kB / 388.4 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.03952, allocations: 0.866 MB / 389.3 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.03953, allocations: 8 kB / 389.3 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.0399, allocations: 75.83 kB / 389.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.03991, allocations: 8.094 kB / 389.4 MB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.03994, allocations: 8 kB / 389.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.03995, allocations: 3.984 kB / 389.4 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.03995, allocations: 4 kB / 389.4 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009543/0.04091, allocations: 0.5705 MB / 390 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.04098, allocations: 35.7 kB / 390 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.04104, allocations: 8 kB / 390 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.04124, allocations: 15.97 kB / 390 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.04131, allocations: 23.97 kB / 390 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.04134, allocations: 8 kB / 390.1 MB, free: 5.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000261/0.04161, allocations: 250.9 kB / 390.3 MB, free: 5.184 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04161, allocations: 0 / 390.3 MB, free: 5.184 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005374/0.04214, allocations: 115.9 kB / 390.4 MB, free: 5.07 MB / 362.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.0002804/0.04242, allocations: 127.2 kB / 390.5 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006423/0.04307, allocations: 310 kB / 390.8 MB, free: 4.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.04307, allocations: 0 / 390.8 MB, free: 4.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.04333, allocations: 139.5 kB / 391 MB, free: 4.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.04385, allocations: 71.09 kB / 391 MB, free: 4.426 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.04554, allocations: 0.9174 MB / 392 MB, free: 3.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.04586, allocations: 262.2 kB / 392.2 MB, free: 3.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003005/0.04617, allocations: 99.17 kB / 392.3 MB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.04627, allocations: 32.48 kB / 392.3 MB, free: 3.055 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.04627, allocations: 0 / 392.3 MB, free: 3.055 MB / 362.7 MB Notification: Performance of Templates: time 0.009903/0.05618, allocations: 3.799 MB / 396.1 MB, free: 15.33 MB / 378.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.934530157013796]