Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.001472/0.001472, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0012/0.0012, allocations: 162.3 kB / 25.61 MB, free: 8.598 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.9938/0.9938, allocations: 177.1 MB / 206 MB, free: 4.5 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.1406/0.1406, allocations: 29.44 MB / 292 MB, free: 2.652 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.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 370.9 MB, free: 32.36 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.982e-05, allocations: 4.938 kB / 370.9 MB, free: 32.35 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.003828/0.003858, allocations: 4.824 MB / 375.7 MB, free: 27.51 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.005282, allocations: 1.091 MB / 376.8 MB, free: 26.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.005516, allocations: 27.75 kB / 376.8 MB, free: 26.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.005713, allocations: 79.27 kB / 376.9 MB, free: 26.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005534/0.006266, allocations: 314.1 kB / 377.2 MB, free: 26 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.006491, allocations: 143.7 kB / 377.3 MB, free: 25.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.006977, allocations: 0.7237 MB / 378.1 MB, free: 25.13 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.007153, allocations: 109.2 kB / 378.2 MB, free: 25.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005679/0.007721, allocations: 0.5064 MB / 378.7 MB, free: 24.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.008011, allocations: 251.2 kB / 378.9 MB, free: 24.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.008054, allocations: 28 kB / 378.9 MB, free: 24.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.735e-05/0.008102, allocations: 32 kB / 379 MB, free: 24.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.008201, allocations: 171.5 kB / 379.1 MB, free: 24.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.008317, allocations: 159.6 kB / 379.3 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.008593, allocations: 346.6 kB / 379.6 MB, free: 23.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.008596, allocations: 0 / 379.6 MB, free: 23.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.008597, allocations: 0 / 379.6 MB, free: 23.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.008606, allocations: 4 kB / 379.6 MB, free: 23.54 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.000655/0.009261, allocations: 0.7972 MB / 380.4 MB, free: 22.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.009295, allocations: 12.03 kB / 380.4 MB, free: 22.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.009377, allocations: 88.56 kB / 380.5 MB, free: 22.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.009735, allocations: 378.7 kB / 380.9 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.009762, allocations: 33.31 kB / 380.9 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.009805, allocations: 44.11 kB / 381 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.01006, allocations: 331.9 kB / 381.3 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.01007, allocations: 3.938 kB / 381.3 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.01009, allocations: 16 kB / 381.3 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.0101, allocations: 16 kB / 381.3 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.01022, allocations: 124.7 kB / 381.5 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.01124, allocations: 1.987 MB / 383.4 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.01136, allocations: 137.1 kB / 383.6 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.0114, allocations: 47.25 kB / 383.6 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.01141, allocations: 7.984 kB / 383.6 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.01143, allocations: 41.33 kB / 383.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.01143, allocations: 0 / 383.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004821/0.01191, allocations: 341 kB / 384 MB, free: 18.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.01194, allocations: 102.8 kB / 384.1 MB, free: 18.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.01208, allocations: 390.4 kB / 384.5 MB, free: 18.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.01209, allocations: 33.7 kB / 384.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.402e-05/0.01219, allocations: 334.6 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.01221, allocations: 63.47 kB / 384.9 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.01226, allocations: 71.27 kB / 385 MB, free: 17.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.01232, allocations: 0.5156 MB / 385.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.01234, allocations: 27.97 kB / 385.5 MB, free: 17.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.105e-05/0.01241, allocations: 232.9 kB / 385.7 MB, free: 16.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.01256, allocations: 288.8 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01256, allocations: 0 / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001935/0.01275, allocations: 257.3 kB / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.01277, allocations: 8 kB / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01277, allocations: 8.562 kB / 386.3 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.01278, allocations: 8 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.01291, allocations: 72.34 kB / 386.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.01292, allocations: 11.92 kB / 386.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.01302, allocations: 16 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.01303, allocations: 19.94 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * 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 8.648e-05/0.01312, allocations: 176.4 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.01318, allocations: 47.7 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.01332, allocations: 136.7 kB / 386.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01332, allocations: 4 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01333, allocations: 0 / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.01333, allocations: 4 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.01363, allocations: 433.3 kB / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01364, allocations: 0 / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.01375, allocations: 39.92 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.01376, allocations: 4 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.01377, allocations: 0 / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.01377, allocations: 4 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01377, allocations: 0 / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.01401, allocations: 456.5 kB / 387.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.01405, allocations: 31.77 kB / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.01408, allocations: 8.031 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.01416, allocations: 4 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.01419, allocations: 15.97 kB / 387.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.0142, allocations: 8 kB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.977e-05/0.01428, allocations: 239 kB / 388 MB, free: 14.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01428, allocations: 0 / 388 MB, free: 14.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.01457, allocations: 72 kB / 388.1 MB, free: 14.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * 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 7.841e-05/0.01465, allocations: 103.2 kB / 388.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.01479, allocations: 131.5 kB / 388.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.0148, allocations: 0 / 388.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.01484, allocations: 47.59 kB / 388.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.01527, allocations: 100.1 kB / 388.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.01643, allocations: 0.8113 MB / 389.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.516e-05/0.0165, allocations: 124.6 kB / 389.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.01662, allocations: 47.25 kB / 389.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.01676, allocations: 146.2 kB / 389.6 MB, free: 12.87 MB / 314.7 MB Notification: Performance of SimCode: time 1.393e-06/0.01676, allocations: 0 / 389.6 MB, free: 12.87 MB / 314.7 MB Notification: Performance of Templates: time 0.005766/0.02253, allocations: 3.596 MB / 393.2 MB, free: 9.379 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.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.36490366095677]