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.001444/0.001444, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.002437/0.002437, allocations: 165.3 kB / 24.82 MB, free: 9.27 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 1.095/1.095, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2781/0.2781, allocations: 29.42 MB / 291.2 MB, free: 2.438 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.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|table.u|table.y.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 370.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.076e-05, allocations: 5.406 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002443/0.002474, allocations: 1.539 MB / 371.6 MB, free: 9.207 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000681/0.003155, allocations: 490.6 kB / 372.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.003217, allocations: 0 / 372.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.003445, allocations: 19.8 kB / 372.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.003681, allocations: 79.61 kB / 372.2 MB, free: 8.625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.003862, allocations: 87.66 kB / 372.3 MB, free: 8.539 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.003989, allocations: 67.81 kB / 372.4 MB, free: 8.473 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.004026, allocations: 4.188 kB / 372.4 MB, free: 8.469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.004154, allocations: 47.83 kB / 372.4 MB, free: 8.422 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.481e-05/0.004229, allocations: 15.92 kB / 372.4 MB, free: 8.406 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.004243, allocations: 4 kB / 372.4 MB, free: 8.402 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.004377, allocations: 91.81 kB / 372.5 MB, free: 8.312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.004432, allocations: 19.92 kB / 372.5 MB, free: 8.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.004457, allocations: 19.91 kB / 372.5 MB, free: 8.273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.00465, allocations: 131.6 kB / 372.7 MB, free: 8.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004653, allocations: 7.938 kB / 372.7 MB, free: 8.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004654, allocations: 0 / 372.7 MB, free: 8.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.004658, allocations: 0 / 372.7 MB, free: 8.137 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007031/0.005361, allocations: 424 kB / 373.1 MB, free: 7.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.005406, allocations: 15.98 kB / 373.1 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.00544, allocations: 8.891 kB / 373.1 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.005596, allocations: 140.5 kB / 373.3 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.005608, allocations: 384 / 373.3 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.00562, allocations: 4.375 kB / 373.3 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.00573, allocations: 87.27 kB / 373.4 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.005737, allocations: 192 / 373.4 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.005746, allocations: 7.938 kB / 373.4 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.005754, allocations: 0 / 373.4 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.544e-05/0.005779, allocations: 15.98 kB / 373.4 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.006039, allocations: 256.4 kB / 373.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.874e-05/0.006118, allocations: 35 kB / 373.7 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.376e-05/0.006142, allocations: 15.69 kB / 373.7 MB, free: 7.023 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.006174, allocations: 11.31 kB / 373.7 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.006202, allocations: 37.39 kB / 373.7 MB, free: 6.969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.006203, allocations: 4 kB / 373.7 MB, free: 6.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001398/0.006342, allocations: 53.58 kB / 373.8 MB, free: 6.906 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.006386, allocations: 77.11 kB / 373.9 MB, free: 6.812 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.006536, allocations: 217.4 kB / 374.1 MB, free: 6.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.006548, allocations: 25.7 kB / 374.1 MB, free: 6.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.006608, allocations: 146.8 kB / 374.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.006626, allocations: 11.84 kB / 374.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.006651, allocations: 19.38 kB / 374.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.006768, allocations: 0.4923 MB / 374.8 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.006777, allocations: 8 kB / 374.8 MB, free: 5.852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/0.006805, allocations: 45.08 kB / 374.8 MB, free: 5.793 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.006828, allocations: 19.67 kB / 374.8 MB, free: 5.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.006831, allocations: 4.031 kB / 374.8 MB, free: 5.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.113e-05/0.006892, allocations: 53.53 kB / 374.9 MB, free: 5.707 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.006905, allocations: 4 kB / 374.9 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.006909, allocations: 4 kB / 374.9 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.006922, allocations: 3.984 kB / 374.9 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.362e-05/0.006965, allocations: 4 kB / 374.9 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.006968, allocations: 0 / 374.9 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.006984, allocations: 0 / 374.9 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.006987, allocations: 0 / 374.9 MB, free: 5.691 MB / 346.7 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 8.274e-05/0.00707, allocations: 156.6 kB / 375.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.007089, allocations: 15.89 kB / 375.1 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.327e-05/0.007172, allocations: 61.95 kB / 375.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.007174, allocations: 0 / 375.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.007177, allocations: 0 / 375.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007181, allocations: 0 / 375.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.007287, allocations: 113.2 kB / 375.2 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007288, allocations: 0 / 375.2 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.429e-05/0.007303, allocations: 4 kB / 375.2 MB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.007304, allocations: 0 / 375.2 MB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.007309, allocations: 3.938 kB / 375.2 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.00731, allocations: 0 / 375.2 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007311, allocations: 7.938 kB / 375.3 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.007412, allocations: 196.3 kB / 375.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.007423, allocations: 7.953 kB / 375.5 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.007435, allocations: 7.922 kB / 375.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.809e-05/0.007463, allocations: 0 / 375.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.007477, allocations: 3.984 kB / 375.5 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.007481, allocations: 7.984 kB / 375.5 MB, free: 5.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.852e-05/0.007549, allocations: 151.1 kB / 375.6 MB, free: 4.902 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.00755, allocations: 0 / 375.6 MB, free: 4.902 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000187/0.007737, allocations: 31.88 kB / 375.7 MB, free: 4.871 MB / 346.7 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.001029/0.008765, allocations: 453.6 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.542e-05/0.008861, allocations: 15.69 kB / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.008863, allocations: 0 / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.346e-05/0.008877, allocations: 19.67 kB / 376.1 MB, free: 4.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.009124, allocations: 19.98 kB / 376.1 MB, free: 4.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.009451, allocations: 158 kB / 376.3 MB, free: 4.344 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.945e-05/0.0095, allocations: 66.53 kB / 376.4 MB, free: 4.262 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.432e-05/0.009554, allocations: 15.92 kB / 376.4 MB, free: 4.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.009632, allocations: 86.19 kB / 376.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.009633, allocations: 0 / 376.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of Templates: time 0.003982/0.01361, allocations: 1.834 MB / 378.3 MB, free: 2.34 MB / 346.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.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.2941255983896554]