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.000965/0.000965, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009556/0.0009556, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9175/0.9175, allocations: 177.1 MB / 205 MB, free: 5.633 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.2244/0.2244, allocations: 29.42 MB / 290.9 MB, free: 2.504 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 1.593e-06/1.593e-06, allocations: 0 / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.632e-05, allocations: 2.312 kB / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.0026/0.002616, allocations: 1.542 MB / 371.2 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008607/0.003477, allocations: 498.6 kB / 371.7 MB, free: 8.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.003523, allocations: 0 / 371.7 MB, free: 8.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.003729, allocations: 23.78 kB / 371.7 MB, free: 8.973 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.004003, allocations: 75.62 kB / 371.8 MB, free: 8.898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.004235, allocations: 87.64 kB / 371.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.004377, allocations: 63.83 kB / 371.9 MB, free: 8.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.004414, allocations: 12.17 kB / 371.9 MB, free: 8.738 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.004566, allocations: 35.84 kB / 371.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.004631, allocations: 23.91 kB / 372 MB, free: 8.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.004646, allocations: 4 kB / 372 MB, free: 8.676 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.004809, allocations: 95.81 kB / 372.1 MB, free: 8.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.00486, allocations: 19.92 kB / 372.1 MB, free: 8.562 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.004892, allocations: 15.92 kB / 372.1 MB, free: 8.547 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.005138, allocations: 135.5 kB / 372.2 MB, free: 8.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.00514, allocations: 0 / 372.2 MB, free: 8.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005141, allocations: 3.938 kB / 372.2 MB, free: 8.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.005144, allocations: 0 / 372.2 MB, free: 8.41 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.0004399/0.005584, allocations: 424 kB / 372.7 MB, free: 7.961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.005619, allocations: 11.98 kB / 372.7 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.005667, allocations: 12.89 kB / 372.7 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.005839, allocations: 136.5 kB / 372.8 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.005851, allocations: 4.375 kB / 372.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.005861, allocations: 384 / 372.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.005989, allocations: 95.27 kB / 372.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.005997, allocations: 192 / 372.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.006007, allocations: 3.938 kB / 372.9 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.006014, allocations: 0 / 372.9 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.006053, allocations: 15.98 kB / 372.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.006357, allocations: 275.8 kB / 373.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.734e-05/0.006444, allocations: 46.92 kB / 373.2 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.006467, allocations: 11.75 kB / 373.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.006483, allocations: 3.938 kB / 373.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.006509, allocations: 37.39 kB / 373.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.00651, allocations: 0 / 373.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001546/0.006665, allocations: 53.72 kB / 373.4 MB, free: 7.152 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.006705, allocations: 81.11 kB / 373.4 MB, free: 7.055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.00688, allocations: 217.6 kB / 373.6 MB, free: 6.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.006894, allocations: 29.7 kB / 373.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.006954, allocations: 142.9 kB / 373.8 MB, free: 6.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.006979, allocations: 23.83 kB / 373.8 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.007009, allocations: 15.38 kB / 373.8 MB, free: 6.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.007146, allocations: 0.4923 MB / 374.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.007161, allocations: 4 kB / 374.3 MB, free: 6.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.713e-05/0.007198, allocations: 53.11 kB / 374.4 MB, free: 6.023 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.00723, allocations: 11.69 kB / 374.4 MB, free: 6.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.007232, allocations: 4 kB / 374.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.288e-05/0.007314, allocations: 57.52 kB / 374.5 MB, free: 5.941 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.007328, allocations: 8.031 kB / 374.5 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.007332, allocations: 0 / 374.5 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.007346, allocations: 0 / 374.5 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.007401, allocations: 7.984 kB / 374.5 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.007407, allocations: 8 kB / 374.5 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.007431, allocations: 0 / 374.5 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.007436, allocations: 0 / 374.5 MB, free: 5.918 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.2e-05/0.007518, allocations: 160.6 kB / 374.6 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.007551, allocations: 11.89 kB / 374.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.007668, allocations: 53.97 kB / 374.7 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007671, allocations: 0 / 374.7 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.007674, allocations: 4 kB / 374.7 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.007679, allocations: 3.984 kB / 374.7 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.007835, allocations: 128.6 kB / 374.8 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.007837, allocations: 0 / 374.8 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.007867, allocations: 7.938 kB / 374.9 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.00787, allocations: 0 / 374.9 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.007877, allocations: 0 / 374.9 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.007879, allocations: 4 kB / 374.9 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.00788, allocations: 0 / 374.9 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.008021, allocations: 199.8 kB / 375.1 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.008042, allocations: 15.88 kB / 375.1 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.008057, allocations: 7.938 kB / 375.1 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-05/0.00811, allocations: 4 kB / 375.1 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.008125, allocations: 0 / 375.1 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.008129, allocations: 0 / 375.1 MB, free: 5.254 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.238e-05/0.008221, allocations: 151.2 kB / 375.2 MB, free: 5.105 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.008221, allocations: 0 / 375.2 MB, free: 5.105 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002882/0.008509, allocations: 39.86 kB / 375.3 MB, free: 5.066 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.001169/0.009678, allocations: 436.2 kB / 375.7 MB, free: 4.801 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.00978, allocations: 23.67 kB / 375.7 MB, free: 4.773 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.009782, allocations: 0 / 375.7 MB, free: 4.773 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.009804, allocations: 23.62 kB / 375.7 MB, free: 4.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.01009, allocations: 23.22 kB / 375.8 MB, free: 4.727 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.01042, allocations: 157.9 kB / 375.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.264e-05/0.01046, allocations: 59.34 kB / 376 MB, free: 4.465 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.446e-05/0.01052, allocations: 15.98 kB / 376 MB, free: 4.449 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.01055, allocations: 20.42 kB / 376 MB, free: 4.43 MB / 346.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01055, allocations: 4 kB / 376 MB, free: 4.426 MB / 346.7 MB Notification: Performance of Templates: time 0.004453/0.01501, allocations: 1.811 MB / 377.8 MB, free: 2.621 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: 2.9569479878991842]