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.0007549/0.0007549, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004317/0.004317, allocations: 163.1 kB / 24.7 MB, free: 8.891 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.8409/0.8409, allocations: 177.1 MB / 205 MB, free: 5.754 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.1859/0.1859, allocations: 29.41 MB / 290.8 MB, free: 2.426 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 1.703e-06/1.703e-06, allocations: 0 / 431.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.531e-05, allocations: 2.281 kB / 431.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.003416/0.003431, allocations: 4.322 MB / 435.8 MB, free: 8.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.00491, allocations: 1.39 MB / 437.2 MB, free: 7.375 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.005062, allocations: 15.88 kB / 437.2 MB, free: 7.359 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.005664, allocations: 362.4 kB / 437.5 MB, free: 7.004 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.006038, allocations: 274.4 kB / 437.8 MB, free: 6.734 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.006474, allocations: 247.2 kB / 438 MB, free: 6.492 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.006872, allocations: 0.5804 MB / 438.6 MB, free: 5.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.007153, allocations: 221.5 kB / 438.8 MB, free: 5.691 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.007484, allocations: 358.8 kB / 439.2 MB, free: 5.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.007787, allocations: 343.2 kB / 439.5 MB, free: 5.004 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.007827, allocations: 40 kB / 439.6 MB, free: 4.965 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.008111, allocations: 227.6 kB / 439.8 MB, free: 4.742 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.008269, allocations: 255.3 kB / 440 MB, free: 4.492 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.008393, allocations: 179.6 kB / 440.2 MB, free: 4.316 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000522/0.008915, allocations: 0.701 MB / 440.9 MB, free: 3.613 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.008917, allocations: 0 / 440.9 MB, free: 3.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.008918, allocations: 4 kB / 440.9 MB, free: 3.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.008924, allocations: 0 / 440.9 MB, free: 3.609 MB / 410.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.0007945/0.009719, allocations: 0.7173 MB / 441.6 MB, free: 2.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.009746, allocations: 11.98 kB / 441.6 MB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/0.01012, allocations: 116.5 kB / 441.7 MB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.01052, allocations: 363.9 kB / 442.1 MB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.01054, allocations: 25.38 kB / 442.1 MB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/0.01062, allocations: 52.5 kB / 442.2 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000594/0.01121, allocations: 0.6807 MB / 442.9 MB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.01123, allocations: 3.938 kB / 442.9 MB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.01126, allocations: 19.98 kB / 442.9 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.688e-05/0.01134, allocations: 56.95 kB / 442.9 MB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006059/0.01195, allocations: 0.6596 MB / 443.6 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1351/0.147, allocations: 2.295 MB / 445.9 MB, free: 53.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.1474, allocations: 311 kB / 446.2 MB, free: 53.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.1475, allocations: 200.6 kB / 446.4 MB, free: 53.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.1476, allocations: 8.547 kB / 446.4 MB, free: 53.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.1476, allocations: 40.06 kB / 446.4 MB, free: 53.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.725e-06/0.1476, allocations: 3.906 kB / 446.4 MB, free: 53.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0012/0.1488, allocations: 1.282 MB / 447.7 MB, free: 52.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.1488, allocations: 87.53 kB / 447.8 MB, free: 52.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.149, allocations: 296.4 kB / 448.1 MB, free: 52.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.149, allocations: 32.39 kB / 448.1 MB, free: 52.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.1491, allocations: 257.7 kB / 448.4 MB, free: 52.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.1491, allocations: 156.4 kB / 448.5 MB, free: 51.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.1492, allocations: 98.03 kB / 448.6 MB, free: 51.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.876e-05/0.1492, allocations: 347.5 kB / 449 MB, free: 51.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.1494, allocations: 201.9 kB / 449.2 MB, free: 51.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.1496, allocations: 365.6 kB / 449.5 MB, free: 51.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.1499, allocations: 0.6027 MB / 450.1 MB, free: 50.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1499, allocations: 3.094 kB / 450.1 MB, free: 50.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004632/0.1504, allocations: 0.6306 MB / 450.8 MB, free: 50.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1504, allocations: 10.38 kB / 450.8 MB, free: 50.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1504, allocations: 6.938 kB / 450.8 MB, free: 50.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1504, allocations: 9.719 kB / 450.8 MB, free: 50.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.1506, allocations: 116.1 kB / 450.9 MB, free: 50.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.1506, allocations: 17.09 kB / 450.9 MB, free: 50.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.1508, allocations: 17.14 kB / 450.9 MB, free: 50.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.1508, allocations: 26.36 kB / 451 MB, free: 50.67 MB / 410.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.0001213/0.1509, allocations: 215.9 kB / 451.2 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.1509, allocations: 39.2 kB / 451.2 MB, free: 50.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.1513, allocations: 0.4917 MB / 451.7 MB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.1514, allocations: 12.92 kB / 451.7 MB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1514, allocations: 3.219 kB / 451.7 MB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1514, allocations: 0 / 451.7 MB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008078/0.1522, allocations: 0.9842 MB / 452.7 MB, free: 49.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1522, allocations: 0 / 452.7 MB, free: 49.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.1523, allocations: 71.59 kB / 452.8 MB, free: 49.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1523, allocations: 6.312 kB / 452.8 MB, free: 49.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1524, allocations: 11.16 kB / 452.8 MB, free: 49.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.1524, allocations: 3.188 kB / 452.8 MB, free: 49.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1524, allocations: 0 / 452.8 MB, free: 49.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.1529, allocations: 0.8155 MB / 453.6 MB, free: 49.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.1529, allocations: 36.77 kB / 453.6 MB, free: 49.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.153, allocations: 7.406 kB / 453.7 MB, free: 49.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.153, allocations: 21.03 kB / 453.7 MB, free: 49.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.1531, allocations: 24.98 kB / 453.7 MB, free: 49.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.1531, allocations: 13.06 kB / 453.7 MB, free: 49.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.091e-05/0.1532, allocations: 203.2 kB / 453.9 MB, free: 49.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1532, allocations: 0 / 453.9 MB, free: 49.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.1535, allocations: 107.5 kB / 454 MB, free: 49.24 MB / 410.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.0001585/0.1536, allocations: 137 kB / 454.1 MB, free: 49.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.154, allocations: 469.6 kB / 454.6 MB, free: 49.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.154, allocations: 0 / 454.6 MB, free: 49.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1541, allocations: 208.9 kB / 454.8 MB, free: 48.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1544, allocations: 70.42 kB / 454.9 MB, free: 48.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008593/0.1553, allocations: 1.099 MB / 456 MB, free: 48.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.1554, allocations: 272.6 kB / 456.2 MB, free: 48.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.1555, allocations: 36.77 kB / 456.3 MB, free: 48.24 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1555, allocations: 4 kB / 456.3 MB, free: 48.24 MB / 410.7 MB Notification: Performance of Templates: time 0.004639/0.1601, allocations: 5.872 MB / 462.2 MB, free: 47.76 MB / 410.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: 5.052445372566581]