Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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.001725/0.001725, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002053/0.002053, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.363/1.363, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 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.1688/0.1688, allocations: 29.44 MB / 290.1 MB, free: 3.289 MB / 270.1 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.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 430.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.652e-05, allocations: 6.219 kB / 430.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002504/0.002521, allocations: 1.496 MB / 432.2 MB, free: 488 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.00341, allocations: 490.8 kB / 432.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.003454, allocations: 4 kB / 432.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.003627, allocations: 27.78 kB / 432.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.00388, allocations: 71.62 kB / 432.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.004095, allocations: 86.7 kB / 432.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.004237, allocations: 75.7 kB / 432.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.004272, allocations: 4.188 kB / 432.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.004424, allocations: 47.83 kB / 433 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.004491, allocations: 15.92 kB / 433 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.004507, allocations: 4 kB / 433 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.004661, allocations: 91.81 kB / 433.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.004714, allocations: 27.91 kB / 433.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.004747, allocations: 15.92 kB / 433.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.00499, allocations: 139.6 kB / 433.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.004994, allocations: 3.984 kB / 433.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004994, allocations: 4 kB / 433.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.005001, allocations: 0 / 433.3 MB, free: 15.38 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004201/0.005421, allocations: 325.6 kB / 433.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.005452, allocations: 11.98 kB / 433.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.005491, allocations: 8.891 kB / 433.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.005709, allocations: 137.6 kB / 433.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.005717, allocations: 8.359 kB / 433.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.00573, allocations: 4.375 kB / 433.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.005859, allocations: 85.67 kB / 433.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.005867, allocations: 192 / 433.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.005884, allocations: 7.875 kB / 433.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.005887, allocations: 0 / 433.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.216e-05/0.005939, allocations: 23.97 kB / 433.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.00626, allocations: 228.5 kB / 434.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.776e-05/0.006348, allocations: 42.56 kB / 434.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.006374, allocations: 12.86 kB / 434.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.006393, allocations: 7.984 kB / 434.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.006417, allocations: 30.56 kB / 434.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.006418, allocations: 0 / 434.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001652/0.006584, allocations: 61.58 kB / 434.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.006642, allocations: 77.11 kB / 434.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.006822, allocations: 156.3 kB / 434.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.00684, allocations: 25.7 kB / 434.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.006899, allocations: 96.09 kB / 434.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.006913, allocations: 7.953 kB / 434.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.006948, allocations: 21.7 kB / 434.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.007098, allocations: 318.8 kB / 434.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.007118, allocations: 7.984 kB / 434.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.254e-05/0.007161, allocations: 47.42 kB / 435 MB, free: 13.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/0.007203, allocations: 24.78 kB / 435 MB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.007207, allocations: 3.938 kB / 435 MB, free: 13.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.764e-05/0.007294, allocations: 49.66 kB / 435.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.007305, allocations: 7.938 kB / 435.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.00731, allocations: 3.984 kB / 435.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.007321, allocations: 0 / 435.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.52e-05/0.007366, allocations: 4 kB / 435.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.00737, allocations: 0 / 435.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.007393, allocations: 8.031 kB / 435.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.007397, allocations: 0 / 435.1 MB, free: 13.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.481e-05/0.007492, allocations: 117.8 kB / 435.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.007527, allocations: 7.953 kB / 435.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.007651, allocations: 73.88 kB / 435.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.007652, allocations: 0 / 435.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.007655, allocations: 0 / 435.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.007657, allocations: 0 / 435.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.007812, allocations: 117.3 kB / 435.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.007818, allocations: 7.938 kB / 435.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.007843, allocations: 8 kB / 435.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.007847, allocations: 4 kB / 435.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.007854, allocations: 4 kB / 435.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007855, allocations: 0 / 435.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.007856, allocations: 0 / 435.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.007998, allocations: 155.7 kB / 435.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.008018, allocations: 15.88 kB / 435.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.008034, allocations: 0 / 435.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-05/0.008086, allocations: 0 / 435.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.008104, allocations: 4 kB / 435.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.008106, allocations: 0 / 435.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.00822, allocations: 130.1 kB / 435.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.00822, allocations: 0 / 435.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000267/0.008487, allocations: 35.86 kB / 435.8 MB, free: 12.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001576/0.01006, allocations: 466 kB / 436.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.5e-05/0.01015, allocations: 19.98 kB / 436.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01015, allocations: 4 kB / 436.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.022e-05/0.01017, allocations: 7.938 kB / 436.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.01045, allocations: 22.73 kB / 436.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.01075, allocations: 156.8 kB / 436.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.448e-05/0.01083, allocations: 75.08 kB / 436.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.15e-05/0.01088, allocations: 15.97 kB / 436.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.01092, allocations: 20.5 kB / 436.5 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01092, allocations: 4 kB / 436.5 MB, free: 12 MB / 366.1 MB Notification: Performance of Templates: time 0.004515/0.01543, allocations: 1.632 MB / 438.2 MB, free: 10.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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.387486919760704]