Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001026/0.001026, 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.0009367/0.0009367, 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 1/1, allocations: 177.1 MB / 205 MB, free: 5.27 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.2624/0.2624, allocations: 32.81 MB / 294.3 MB, free: 1.168 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.Test15,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 376 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.854e-05, allocations: 9.906 kB / 376 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.00206/0.002078, allocations: 1.661 MB / 377.7 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006775/0.002756, allocations: 0.5337 MB / 378.2 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.002809, allocations: 0 / 378.2 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.003049, allocations: 75.69 kB / 378.3 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.003284, allocations: 103.5 kB / 378.4 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.003468, allocations: 103.5 kB / 378.5 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.003606, allocations: 87.8 kB / 378.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.003693, allocations: 12 kB / 378.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.003755, allocations: 47.88 kB / 378.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.003841, allocations: 51.88 kB / 378.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.003856, allocations: 4 kB / 378.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.003927, allocations: 47.86 kB / 378.8 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.003973, allocations: 19.92 kB / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.004002, allocations: 19.92 kB / 378.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.004147, allocations: 87.66 kB / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004149, allocations: 0 / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004149, allocations: 4 kB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.004153, allocations: 0 / 378.9 MB, free: 1.738 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003704/0.004523, allocations: 439.9 kB / 379.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.004556, allocations: 12.03 kB / 379.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.004597, allocations: 16.84 kB / 379.3 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.004725, allocations: 149.1 kB / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.004733, allocations: 384 / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.004755, allocations: 4.375 kB / 379.5 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.004858, allocations: 62.92 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.036e-06/0.004866, allocations: 192 / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.004875, allocations: 8.125 kB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.004882, allocations: 7.938 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.164e-05/0.004914, allocations: 11.98 kB / 379.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.005192, allocations: 295.6 kB / 379.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.005252, allocations: 43.05 kB / 379.9 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.005273, allocations: 11.62 kB / 379.9 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.005295, allocations: 4 kB / 379.9 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.005314, allocations: 37.47 kB / 380 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.435e-06/0.005317, allocations: 3.984 kB / 380 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004718/0.005788, allocations: 169.3 kB / 380.1 MB, free: 356 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.005818, allocations: 55.41 kB / 380.2 MB, free: 288 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.005956, allocations: 234.4 kB / 380.4 MB, free: 36 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.005968, allocations: 29.7 kB / 380.4 MB, free: 0 / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.006039, allocations: 154.8 kB / 380.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.006066, allocations: 35.8 kB / 380.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.006098, allocations: 27.38 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.006222, allocations: 0.4961 MB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.006243, allocations: 11.98 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.00626, allocations: 12 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.748e-05/0.006307, allocations: 39.89 kB / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.006308, allocations: 0 / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.166e-05/0.0064, allocations: 81.53 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.006411, allocations: 4 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.006416, allocations: 0 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.006431, allocations: 4 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.006506, allocations: 12 kB / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.006511, allocations: 0 / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.006531, allocations: 7.984 kB / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.006537, allocations: 0 / 381.3 MB, free: 15.09 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 (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 7.47e-05/0.006612, allocations: 168.5 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.006636, allocations: 15.84 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.00677, allocations: 95.12 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.006773, allocations: 7.922 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.006777, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.00678, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.007063, allocations: 369 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.007065, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.007101, allocations: 15.98 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.007103, allocations: 8.031 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.00711, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.007111, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.007114, allocations: 7.938 kB / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.007232, allocations: 239.4 kB / 382.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.007242, allocations: 11.95 kB / 382.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.007252, allocations: 0 / 382.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-05/0.007286, allocations: 4 kB / 382.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.007316, allocations: 7.922 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.007321, allocations: 4 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.153e-05/0.007393, allocations: 171.2 kB / 382.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007393, allocations: 4 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.007557, allocations: 16 kB / 382.4 MB, free: 13.88 MB / 362.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.0009311/0.008488, allocations: 448 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.008589, allocations: 35.67 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.00859, allocations: 4 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.008621, allocations: 31.61 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.008833, allocations: 15.95 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.009203, allocations: 241.9 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.512e-05/0.009248, allocations: 63.34 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.358e-05/0.009282, allocations: 17.02 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.009312, allocations: 16.5 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.009312, allocations: 3.938 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of Templates: time 0.003184/0.0125, allocations: 1.374 MB / 384.7 MB, free: 11.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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.316561806946993]