Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001047/0.001047, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003174/0.004221, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007507/0.0007507, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001/0.001751, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09511/1.097, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2821/0.2821, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02476/0.3069, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.354e-05, allocations: 3.078 kB / 292.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002546/0.00257, allocations: 1.695 MB / 294.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004854/0.007423, allocations: 0.5646 MB / 294.9 MB, free: 4 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.007478, allocations: 4 kB / 294.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.007695, allocations: 91.67 kB / 295 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.007924, allocations: 107.5 kB / 295.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.008209, allocations: 115.6 kB / 295.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.008369, allocations: 87.81 kB / 295.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.418e-05/0.008453, allocations: 15.98 kB / 295.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.00856, allocations: 71.75 kB / 295.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.808e-05/0.008658, allocations: 47.88 kB / 295.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.008673, allocations: 4 kB / 295.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.602e-05/0.008769, allocations: 43.92 kB / 295.5 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.008809, allocations: 19.92 kB / 295.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.008837, allocations: 11.94 kB / 295.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.008999, allocations: 95.61 kB / 295.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.009015, allocations: 0 / 295.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.009016, allocations: 0 / 295.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.009031, allocations: 4 kB / 295.6 MB, free: 3.293 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004082/0.009439, allocations: 333 kB / 295.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.009471, allocations: 12.03 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.009502, allocations: 8.938 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003162/0.01266, allocations: 146 kB / 296.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.01267, allocations: 4.375 kB / 296.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.01269, allocations: 4.375 kB / 296.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.961e-05/0.01279, allocations: 54.94 kB / 296.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.0128, allocations: 192 / 296.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.01281, allocations: 12.12 kB / 296.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.01282, allocations: 4 kB / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.01284, allocations: 7.984 kB / 296.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.01307, allocations: 183 kB / 296.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.531e-05/0.01312, allocations: 33.34 kB / 296.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.01314, allocations: 12.94 kB / 296.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.01316, allocations: 0 / 296.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.01319, allocations: 38.5 kB / 296.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.01319, allocations: 0 / 296.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004757/0.01366, allocations: 149.5 kB / 296.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.0137, allocations: 59.34 kB / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.01383, allocations: 192.2 kB / 296.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.01384, allocations: 25.7 kB / 296.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.01388, allocations: 96.11 kB / 297 MB, free: 1.809 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.01391, allocations: 31.73 kB / 297 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.01395, allocations: 17.72 kB / 297 MB, free: 1.754 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/0.01403, allocations: 330.8 kB / 297.3 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.01405, allocations: 4 kB / 297.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.484e-05/0.01406, allocations: 8 kB / 297.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/0.0141, allocations: 27.67 kB / 297.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.01411, allocations: 0 / 297.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.461e-05/0.01419, allocations: 65.55 kB / 297.4 MB, free: 1.309 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.0142, allocations: 4 kB / 297.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01421, allocations: 0 / 297.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.01422, allocations: 4 kB / 297.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.01429, allocations: 15.98 kB / 297.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.0143, allocations: 0 / 297.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.01432, allocations: 4 kB / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.01433, allocations: 0 / 297.5 MB, free: 1.281 MB / 282.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 (8): * Single equations (assignments): 8 * 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 6.473e-05/0.01439, allocations: 128.6 kB / 297.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.01442, allocations: 8.359 kB / 297.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.01454, allocations: 79.36 kB / 297.7 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01454, allocations: 4 kB / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01454, allocations: 0 / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01455, allocations: 3.984 kB / 297.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.01482, allocations: 263.3 kB / 297.9 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.01482, allocations: 4 kB / 297.9 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.01488, allocations: 15.98 kB / 298 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.01489, allocations: 11.91 kB / 298 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01489, allocations: 4.031 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.0149, allocations: 7.984 kB / 298 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.0149, allocations: 0 / 298 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.0149, allocations: 0 / 298 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.01501, allocations: 164.3 kB / 298.1 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.01502, allocations: 4 kB / 298.1 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.921e-05/0.01507, allocations: 0 / 298.1 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.0151, allocations: 7.984 kB / 298.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.0151, allocations: 4 kB / 298.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.794e-05/0.01516, allocations: 68.69 kB / 298.2 MB, free: 464 kB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01516, allocations: 4 kB / 298.2 MB, free: 460 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.01535, allocations: 12 kB / 298.2 MB, free: 448 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001531/0.01688, allocations: 0.63 MB / 298.9 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.249e-05/0.01698, allocations: 36.72 kB / 298.9 MB, free: 128 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.01698, allocations: 4 kB / 298.9 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.01701, allocations: 28.78 kB / 298.9 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.01722, allocations: 22.42 kB / 299 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.01774, allocations: 243.9 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.874e-05/0.01779, allocations: 71.33 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.461e-05/0.01783, allocations: 16.78 kB / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.0179, allocations: 63.36 kB / 299.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0179, allocations: 0 / 299.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of Templates: time 0.009577/0.02747, allocations: 1.548 MB / 300.9 MB, free: 14.1 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","",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.9075062833726406]