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.001398/0.001398, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001474/0.001474, allocations: 161.7 kB / 24.27 MB, free: 172 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.468/1.468, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3023/0.3023, allocations: 29.41 MB / 290.5 MB, free: 2.445 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.066e-06/3.066e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.88e-05/4.187e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.009133/0.009175, allocations: 4.319 MB / 373.2 MB, free: 6.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.01315, allocations: 1.383 MB / 374.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.01346, allocations: 15.88 kB / 374.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.01505, allocations: 366.4 kB / 375 MB, free: 5.211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000927/0.01598, allocations: 266.4 kB / 375.2 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.01702, allocations: 259.1 kB / 375.5 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009781/0.018, allocations: 0.5728 MB / 376 MB, free: 4.121 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005154/0.01852, allocations: 217.5 kB / 376.3 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007245/0.01924, allocations: 350.8 kB / 376.6 MB, free: 3.566 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007471/0.01999, allocations: 343.2 kB / 376.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.02009, allocations: 36 kB / 377 MB, free: 3.195 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006723/0.02076, allocations: 239.5 kB / 377.2 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.02117, allocations: 255.4 kB / 377.4 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000373/0.02154, allocations: 175.6 kB / 377.6 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.02277, allocations: 0.7049 MB / 378.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.02278, allocations: 0 / 378.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.02278, allocations: 0 / 378.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.538e-05/0.02281, allocations: 0 / 378.3 MB, free: 1.832 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.001873/0.02468, allocations: 0.7134 MB / 379 MB, free: 1.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.02472, allocations: 11.98 kB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009205/0.02564, allocations: 176.4 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000798/0.02644, allocations: 377.3 kB / 379.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.02648, allocations: 25.38 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.02662, allocations: 44.55 kB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.02781, allocations: 0.6846 MB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.02783, allocations: 3.938 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.02789, allocations: 19.98 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/0.02807, allocations: 52.97 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.02924, allocations: 0.6674 MB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00394/0.03319, allocations: 2.306 MB / 383.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/0.03378, allocations: 309.3 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.03411, allocations: 209.6 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.03415, allocations: 8 kB / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.03418, allocations: 34.56 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.963e-06/0.03419, allocations: 0 / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002378/0.03656, allocations: 1.31 MB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.03663, allocations: 81.11 kB / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.03699, allocations: 300 kB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.03705, allocations: 29.83 kB / 385.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.03726, allocations: 264.2 kB / 385.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.03742, allocations: 154.6 kB / 386.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.03757, allocations: 94.14 kB / 386.2 MB, free: 9.684 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.03777, allocations: 350.8 kB / 386.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.03811, allocations: 197 kB / 386.7 MB, free: 9.141 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.0386, allocations: 369.5 kB / 387 MB, free: 8.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009028/0.0395, allocations: 0.6021 MB / 387.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.03951, allocations: 0 / 387.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001134/0.04064, allocations: 0.6502 MB / 388.3 MB, free: 7.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.04066, allocations: 8 kB / 388.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.04068, allocations: 7.984 kB / 388.3 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.04071, allocations: 11.94 kB / 388.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.0412, allocations: 111.8 kB / 388.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.04121, allocations: 12.5 kB / 388.4 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.04146, allocations: 27.98 kB / 388.5 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.04152, allocations: 23.98 kB / 388.5 MB, free: 7.188 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.0002866/0.0418, allocations: 217.6 kB / 388.7 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.04194, allocations: 51.77 kB / 388.8 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009012/0.04284, allocations: 488.5 kB / 389.2 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.208e-05/0.04287, allocations: 15.94 kB / 389.3 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.04288, allocations: 0 / 389.3 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.04289, allocations: 3.984 kB / 389.3 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.0448, allocations: 0.9873 MB / 390.2 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.04481, allocations: 0 / 390.2 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.04521, allocations: 75.83 kB / 390.3 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.04522, allocations: 7.984 kB / 390.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.04525, allocations: 8 kB / 390.3 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.04526, allocations: 4 kB / 390.3 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.04526, allocations: 0 / 390.3 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.04659, allocations: 0.844 MB / 391.2 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.04666, allocations: 39.8 kB / 391.2 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.04671, allocations: 12.03 kB / 391.2 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.04693, allocations: 15.98 kB / 391.2 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.047, allocations: 23.95 kB / 391.3 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.04703, allocations: 11.98 kB / 391.3 MB, free: 4.309 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002461/0.04728, allocations: 203.1 kB / 391.5 MB, free: 4.109 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04728, allocations: 0 / 391.5 MB, free: 4.109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005475/0.04783, allocations: 111.9 kB / 391.6 MB, free: 4 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.0002796/0.04811, allocations: 135.1 kB / 391.7 MB, free: 3.859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008614/0.04897, allocations: 472.3 kB / 392.2 MB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.04897, allocations: 1.375 kB / 392.2 MB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.04929, allocations: 195.8 kB / 392.4 MB, free: 3.207 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.04987, allocations: 83.22 kB / 392.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.05179, allocations: 1.056 MB / 393.5 MB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.05214, allocations: 266.2 kB / 393.8 MB, free: 1.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003458/0.05249, allocations: 127.1 kB / 393.9 MB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.05262, allocations: 32.5 kB / 393.9 MB, free: 1.598 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.05262, allocations: 0 / 393.9 MB, free: 1.598 MB / 362.7 MB Notification: Performance of Templates: time 0.01001/0.06263, allocations: 3.798 MB / 397.7 MB, free: 13.87 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480] 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.797709602979012]