Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.001227/0.001227, allocations: 79.75 kB / 21.19 MB, free: 3.375 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.001023/0.001023, allocations: 165 kB / 24.56 MB, free: 8 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.9831/0.9831, 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2572/0.2572, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.196e-05, allocations: 6.25 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.005666/0.005688, allocations: 1.642 MB / 377.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004553/0.01024, allocations: 1.278 MB / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.01031, allocations: 4 kB / 379 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.01056, allocations: 19.86 kB / 379 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.01089, allocations: 87.48 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.01111, allocations: 95.62 kB / 379.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.01127, allocations: 67.78 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.01137, allocations: 11.98 kB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.01145, allocations: 35.91 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.01156, allocations: 23.91 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.01157, allocations: 4 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.01172, allocations: 91.81 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.01178, allocations: 15.92 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.01181, allocations: 19.92 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.01204, allocations: 123.6 kB / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.01204, allocations: 0 / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.01204, allocations: 0 / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.01205, allocations: 4 kB / 379.5 MB, free: 1.105 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004162/0.01246, allocations: 435.8 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.0125, allocations: 8.031 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.01254, allocations: 12.89 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.0127, allocations: 132.5 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.01271, allocations: 384 / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.01274, allocations: 4.375 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003151/0.01589, allocations: 104 kB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.0159, allocations: 192 / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.01591, allocations: 4.125 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/0.01592, allocations: 4 kB / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.634e-05/0.01595, allocations: 11.92 kB / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.01628, allocations: 275.8 kB / 380.5 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.01646, allocations: 43.05 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.01648, allocations: 15.69 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.01651, allocations: 7.938 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.01653, allocations: 37.33 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.01654, allocations: 0 / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003714/0.01691, allocations: 101.5 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.01695, allocations: 81.11 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.01709, allocations: 197.9 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.0171, allocations: 25.7 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.01716, allocations: 142.9 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.01718, allocations: 19.8 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.01722, allocations: 23.38 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.01735, allocations: 0.4884 MB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.01737, allocations: 4 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.01742, allocations: 57.06 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.205e-05/0.01746, allocations: 23.88 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01746, allocations: 0 / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.309e-05/0.01756, allocations: 69.59 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01757, allocations: 8 kB / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01758, allocations: 288 / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.01759, allocations: 3.938 kB / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.74e-05/0.01764, allocations: 11.98 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01765, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.01768, allocations: 7.953 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.01768, allocations: 0 / 381.9 MB, free: 14.54 MB / 362.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 (5): * Single equations (assignments): 5 * 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.96e-05/0.01775, allocations: 156.6 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.01778, allocations: 23.88 kB / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.01791, allocations: 66.08 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01791, allocations: 4 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.01791, allocations: 0 / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.01792, allocations: 0 / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.01819, allocations: 321.4 kB / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.01819, allocations: 0 / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.01822, allocations: 15.92 kB / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01823, allocations: 4 kB / 382.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.01823, allocations: 0 / 382.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01823, allocations: 0 / 382.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01823, allocations: 4 kB / 382.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/0.02137, allocations: 212 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.02138, allocations: 7.953 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.0214, allocations: 4 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.02145, allocations: 7.984 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.02148, allocations: 0 / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.02148, allocations: 4 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.983e-05/0.02155, allocations: 149 kB / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02155, allocations: 0 / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002618/0.02182, allocations: 35.88 kB / 382.9 MB, free: 13.47 MB / 362.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 (5): * Single equations (assignments): 5 * 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.001107/0.02292, allocations: 493.5 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.02302, allocations: 31.67 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02302, allocations: 0 / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.706e-05/0.02305, allocations: 19.81 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.02331, allocations: 27.92 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.02364, allocations: 165.9 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.145e-05/0.02368, allocations: 59.34 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.255e-05/0.02372, allocations: 15.97 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.02376, allocations: 20.48 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02376, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Templates: time 0.01029/0.03405, allocations: 1.825 MB / 385.5 MB, free: 10.96 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.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: 3.4074816638603806]