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.001123/0.001123, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001206/0.001206, allocations: 161 kB / 24.56 MB, free: 16 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.956/0.956, allocations: 177.1 MB / 205 MB, free: 5.629 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.2517/0.2517, allocations: 29.41 MB / 290.9 MB, free: 2.422 MB / 266.7 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.[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.743e-06/1.743e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.478e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002354/0.002379, allocations: 1.546 MB / 371.2 MB, free: 9.457 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000676/0.003054, allocations: 494.7 kB / 371.6 MB, free: 8.969 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.003112, allocations: 3.938 kB / 371.6 MB, free: 8.965 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.003349, allocations: 19.8 kB / 371.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.003642, allocations: 79.61 kB / 371.7 MB, free: 8.867 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.003882, allocations: 87.64 kB / 371.8 MB, free: 8.781 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.004031, allocations: 63.83 kB / 371.9 MB, free: 8.719 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.975e-05/0.004071, allocations: 4.188 kB / 371.9 MB, free: 8.715 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.004199, allocations: 43.83 kB / 371.9 MB, free: 8.672 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.297e-05/0.004272, allocations: 19.92 kB / 372 MB, free: 8.652 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.004288, allocations: 4 kB / 372 MB, free: 8.648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.004445, allocations: 95.81 kB / 372.1 MB, free: 8.555 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.004504, allocations: 19.92 kB / 372.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.004538, allocations: 19.91 kB / 372.1 MB, free: 8.516 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.004753, allocations: 131.6 kB / 372.2 MB, free: 8.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004755, allocations: 0 / 372.2 MB, free: 8.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004756, allocations: 0 / 372.2 MB, free: 8.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.004759, allocations: 0 / 372.2 MB, free: 8.387 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.0004392/0.005199, allocations: 424 kB / 372.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.005242, allocations: 15.98 kB / 372.7 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.005288, allocations: 8.891 kB / 372.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.005618, allocations: 144.5 kB / 372.8 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.005629, allocations: 4.375 kB / 372.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.005641, allocations: 384 / 372.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.005767, allocations: 91.27 kB / 372.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.005784, allocations: 192 / 372.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.005796, allocations: 7.938 kB / 372.9 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.005802, allocations: 0 / 372.9 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.005834, allocations: 11.98 kB / 372.9 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.006101, allocations: 275.8 kB / 373.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.518e-05/0.006177, allocations: 50.92 kB / 373.2 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.006196, allocations: 11.75 kB / 373.2 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.006217, allocations: 0 / 373.2 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.006239, allocations: 41.38 kB / 373.3 MB, free: 7.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 6.01e-07/0.00624, allocations: 0 / 373.3 MB, free: 7.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001302/0.00637, allocations: 53.58 kB / 373.3 MB, free: 7.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.006406, allocations: 81.11 kB / 373.4 MB, free: 7.023 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.006542, allocations: 214.6 kB / 373.6 MB, free: 6.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.006553, allocations: 25.7 kB / 373.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.006608, allocations: 150.7 kB / 373.8 MB, free: 6.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.006626, allocations: 15.91 kB / 373.8 MB, free: 6.594 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.006654, allocations: 19.38 kB / 373.8 MB, free: 6.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.006793, allocations: 0.4923 MB / 374.3 MB, free: 6.062 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.006806, allocations: 4 kB / 374.3 MB, free: 6.059 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.258e-05/0.006839, allocations: 45.08 kB / 374.4 MB, free: 6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.006865, allocations: 15.69 kB / 374.4 MB, free: 5.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.006868, allocations: 4 kB / 374.4 MB, free: 5.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.814e-05/0.006937, allocations: 57.52 kB / 374.4 MB, free: 5.914 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.006952, allocations: 6.812 kB / 374.5 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.006956, allocations: 0 / 374.5 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.006973, allocations: 4.031 kB / 374.5 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.007034, allocations: 7.984 kB / 374.5 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.007039, allocations: 4 kB / 374.5 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.007058, allocations: 4 kB / 374.5 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.007063, allocations: 0 / 374.5 MB, free: 5.891 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 7.08e-05/0.007133, allocations: 156.6 kB / 374.6 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.007155, allocations: 15.89 kB / 374.6 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.667e-05/0.007252, allocations: 53.97 kB / 374.7 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.007253, allocations: 0 / 374.7 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.007257, allocations: 0 / 374.7 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.007261, allocations: 7.984 kB / 374.7 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.007364, allocations: 128.6 kB / 374.8 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007365, allocations: 0 / 374.8 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.007382, allocations: 7.938 kB / 374.8 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007384, allocations: 0 / 374.8 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.007391, allocations: 0 / 374.8 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.007392, allocations: 4 kB / 374.8 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.007394, allocations: 3.984 kB / 374.8 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.642e-05/0.007491, allocations: 195.9 kB / 375 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.007502, allocations: 7.891 kB / 375 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.007515, allocations: 4 kB / 375 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.799e-05/0.007543, allocations: 8.422 kB / 375.1 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.007557, allocations: 3.938 kB / 375.1 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.007559, allocations: 0 / 375.1 MB, free: 5.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.199e-05/0.007631, allocations: 151.2 kB / 375.2 MB, free: 5.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007631, allocations: 3.938 kB / 375.2 MB, free: 5.078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001911/0.007822, allocations: 39.86 kB / 375.3 MB, free: 5.039 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.0008714/0.008694, allocations: 441.5 kB / 375.7 MB, free: 4.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.067e-05/0.008784, allocations: 19.67 kB / 375.7 MB, free: 4.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008786, allocations: 4 kB / 375.7 MB, free: 4.742 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.008797, allocations: 15.69 kB / 375.7 MB, free: 4.723 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.009003, allocations: 19.97 kB / 375.7 MB, free: 4.703 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.009268, allocations: 165.8 kB / 375.9 MB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.009303, allocations: 59.34 kB / 376 MB, free: 4.434 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.032e-05/0.009343, allocations: 16.17 kB / 376 MB, free: 4.418 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.009374, allocations: 16.48 kB / 376 MB, free: 4.402 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009374, allocations: 4 kB / 376 MB, free: 4.398 MB / 346.7 MB Notification: Performance of Templates: time 0.003233/0.01261, allocations: 1.65 MB / 377.6 MB, free: 2.758 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.010886831674725]