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.00131/0.00131, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001386/0.001386, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.629/1.629, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 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.1657/0.1657, allocations: 29.43 MB / 290.7 MB, free: 3.309 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 71.89 kB / 431.2 MB, free: 3.297 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3571, allocations: 62.44 MB / 493.6 MB, free: 37.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002726/0.3599, allocations: 1.487 MB / 495.1 MB, free: 36.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007153/0.3606, allocations: 490.9 kB / 495.6 MB, free: 36.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.3606, allocations: 0 / 495.6 MB, free: 36.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.3608, allocations: 14.53 kB / 495.6 MB, free: 36.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.361, allocations: 83.66 kB / 495.7 MB, free: 36.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.3612, allocations: 89.73 kB / 495.8 MB, free: 36.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.3614, allocations: 63.11 kB / 495.8 MB, free: 36.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.3614, allocations: 3.406 kB / 495.8 MB, free: 36.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.984e-05/0.3615, allocations: 35.88 kB / 495.9 MB, free: 36.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.3616, allocations: 25.03 kB / 495.9 MB, free: 36.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.3616, allocations: 3.219 kB / 495.9 MB, free: 36.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.3617, allocations: 96.59 kB / 496 MB, free: 36.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.3618, allocations: 21.48 kB / 496 MB, free: 36.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.3618, allocations: 22.12 kB / 496 MB, free: 36.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.3621, allocations: 130.4 kB / 496.2 MB, free: 36.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3621, allocations: 0 / 496.2 MB, free: 36.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3621, allocations: 7.031 kB / 496.2 MB, free: 36.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3621, allocations: 3.938 kB / 496.2 MB, free: 36.25 MB / 446.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.000462/0.3626, allocations: 322.6 kB / 496.5 MB, free: 35.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3626, allocations: 13.64 kB / 496.5 MB, free: 35.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.3626, allocations: 8.109 kB / 496.5 MB, free: 35.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.3628, allocations: 142.1 kB / 496.6 MB, free: 35.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3628, allocations: 7.172 kB / 496.6 MB, free: 35.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.3629, allocations: 3.703 kB / 496.7 MB, free: 35.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.363, allocations: 93.27 kB / 496.7 MB, free: 35.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.363, allocations: 3.938 kB / 496.7 MB, free: 35.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.363, allocations: 7 kB / 496.8 MB, free: 35.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.363, allocations: 0 / 496.8 MB, free: 35.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.779e-05/0.3631, allocations: 16.95 kB / 496.8 MB, free: 35.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.3633, allocations: 228.4 kB / 497 MB, free: 35.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3634, allocations: 42.42 kB / 497 MB, free: 35.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.3635, allocations: 14.31 kB / 497 MB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3635, allocations: 0 / 497 MB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.3635, allocations: 30.56 kB / 497.1 MB, free: 35.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3635, allocations: 3.094 kB / 497.1 MB, free: 35.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001652/0.3637, allocations: 56.25 kB / 497.1 MB, free: 35.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.3637, allocations: 81.11 kB / 497.2 MB, free: 35.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.3638, allocations: 152.5 kB / 497.4 MB, free: 35.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.016e-06/0.3638, allocations: 25.7 kB / 497.4 MB, free: 35.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.3639, allocations: 102.4 kB / 497.5 MB, free: 34.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.3639, allocations: 11.14 kB / 497.5 MB, free: 34.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.3639, allocations: 16 kB / 497.5 MB, free: 34.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.364, allocations: 325.2 kB / 497.8 MB, free: 34.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.364, allocations: 3.094 kB / 497.8 MB, free: 34.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/0.364, allocations: 49.3 kB / 497.9 MB, free: 34.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.996e-05/0.3641, allocations: 21.64 kB / 497.9 MB, free: 34.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3641, allocations: 4.031 kB / 497.9 MB, free: 34.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.404e-05/0.3641, allocations: 50.03 kB / 498 MB, free: 34.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.3641, allocations: 8.594 kB / 498 MB, free: 34.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.3641, allocations: 0 / 498 MB, free: 34.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3641, allocations: 0 / 498 MB, free: 34.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/0.3642, allocations: 10.34 kB / 498 MB, free: 34.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3642, allocations: 3.328 kB / 498 MB, free: 34.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.3642, allocations: 3.938 kB / 498 MB, free: 34.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.3642, allocations: 0 / 498 MB, free: 34.53 MB / 446.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 5.345e-05/0.3643, allocations: 120.3 kB / 498.1 MB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.3643, allocations: 11.23 kB / 498.1 MB, free: 34.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.3644, allocations: 61.52 kB / 498.2 MB, free: 34.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3644, allocations: 0 / 498.2 MB, free: 34.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3644, allocations: 48 / 498.2 MB, free: 34.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3644, allocations: 3.984 kB / 498.2 MB, free: 34.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.3645, allocations: 128.9 kB / 498.3 MB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3645, allocations: 0 / 498.3 MB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.3645, allocations: 7.125 kB / 498.3 MB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3646, allocations: 0 / 498.3 MB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3646, allocations: 6.594 kB / 498.3 MB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3646, allocations: 0 / 498.3 MB, free: 34.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3646, allocations: 8 kB / 498.3 MB, free: 34.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.04e-05/0.3646, allocations: 151.1 kB / 498.5 MB, free: 34.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.3647, allocations: 7.078 kB / 498.5 MB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3647, allocations: 3.234 kB / 498.5 MB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.3647, allocations: 3.938 kB / 498.5 MB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.3647, allocations: 3.25 kB / 498.5 MB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.3647, allocations: 0 / 498.5 MB, free: 34.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.57e-05/0.3648, allocations: 116.5 kB / 498.6 MB, free: 33.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3648, allocations: 3.156 kB / 498.6 MB, free: 33.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.3651, allocations: 34.52 kB / 498.6 MB, free: 33.95 MB / 446.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.001426/0.3665, allocations: 485.2 kB / 499.1 MB, free: 33.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.203e-05/0.3666, allocations: 15.55 kB / 499.1 MB, free: 33.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3666, allocations: 0 / 499.1 MB, free: 33.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.445e-05/0.3666, allocations: 10.25 kB / 499.1 MB, free: 33.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.3669, allocations: 20.86 kB / 499.2 MB, free: 33.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.3672, allocations: 168.7 kB / 499.3 MB, free: 33.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.411e-05/0.3672, allocations: 70.73 kB / 499.4 MB, free: 33.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.3673, allocations: 20.23 kB / 499.4 MB, free: 33.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.3673, allocations: 21.98 kB / 499.4 MB, free: 33.49 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.3673, allocations: 0 / 499.4 MB, free: 33.49 MB / 446.1 MB Notification: Performance of Templates: time 0.003804/0.3711, allocations: 1.622 MB / 0.4893 GB, free: 33.26 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins1/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: 5.24705210106913]