Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.0009325/0.0009325, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001046/0.001046, allocations: 168.5 kB / 24.82 MB, free: 9.262 MB / 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.9224/0.9224, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2359/0.2359, allocations: 32.81 MB / 294.6 MB, free: 1.227 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.334e-05, allocations: 5.406 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003247/0.00326, allocations: 1.638 MB / 378.1 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.004784, allocations: 1.27 MB / 379.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.004839, allocations: 0 / 379.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.00502, allocations: 23.84 kB / 379.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.005275, allocations: 91.48 kB / 379.5 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.008493, allocations: 91.64 kB / 379.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.008615, allocations: 71.77 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.623e-05/0.008691, allocations: 11.98 kB / 379.7 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.773e-05/0.008749, allocations: 27.92 kB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.555e-05/0.008835, allocations: 27.89 kB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.008848, allocations: 7.938 kB / 379.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.008984, allocations: 87.89 kB / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.009018, allocations: 15.92 kB / 379.8 MB, free: 1 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.00904, allocations: 11.98 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.009227, allocations: 135.5 kB / 380 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.009229, allocations: 4 kB / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00923, allocations: 0 / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.009232, allocations: 0 / 380 MB, free: 0.8516 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.0003501/0.009582, allocations: 428 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.009616, allocations: 12.03 kB / 380.4 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.009647, allocations: 12.88 kB / 380.4 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.009769, allocations: 136.5 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.009777, allocations: 384 / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.009792, allocations: 4.312 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.009896, allocations: 104 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.009904, allocations: 4.188 kB / 380.7 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.009911, allocations: 4.125 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.009915, allocations: 0 / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.009939, allocations: 11.98 kB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.01036, allocations: 252.4 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.01048, allocations: 42.98 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.01049, allocations: 15.69 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.01051, allocations: 96 / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.01053, allocations: 41.31 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.01053, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002516/0.01078, allocations: 93.48 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.01081, allocations: 81.11 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.01092, allocations: 196.1 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.01094, allocations: 25.7 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.01099, allocations: 146.8 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.011, allocations: 15.84 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.01104, allocations: 27.36 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.01115, allocations: 496.1 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.01117, allocations: 7.984 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/0.01422, allocations: 53.14 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.01425, allocations: 31.64 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.01425, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.749e-05/0.01433, allocations: 61.58 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.01434, allocations: 8 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.01434, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.01435, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.137e-05/0.0144, allocations: 11.98 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.0144, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.01442, allocations: 4 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.01443, allocations: 0 / 382.3 MB, free: 14.34 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.324e-05/0.01449, allocations: 164.5 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.01452, allocations: 11.89 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.131e-05/0.01461, allocations: 66.14 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.01461, allocations: 3.938 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.01461, allocations: 0 / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.01461, allocations: 0 / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.01484, allocations: 302 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01484, allocations: 0 / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.01487, allocations: 8.312 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01487, allocations: 4 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.01488, allocations: 4 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.01488, allocations: 4 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01488, allocations: 3.984 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.01499, allocations: 204.1 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.015, allocations: 11.94 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.01501, allocations: 4 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.119e-05/0.01506, allocations: 7.984 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.01508, allocations: 7.922 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.01508, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.048e-05/0.01515, allocations: 141.4 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01515, allocations: 0 / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002484/0.01539, allocations: 43.86 kB / 383.2 MB, free: 13.3 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.001003/0.0164, allocations: 492.5 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.219e-05/0.01647, allocations: 35.67 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01647, allocations: 4 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.284e-05/0.01649, allocations: 19.62 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.01673, allocations: 23.86 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.01698, allocations: 165.9 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.538e-05/0.01701, allocations: 59.34 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003054/0.02006, allocations: 15.97 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.02013, allocations: 86.19 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02013, allocations: 4 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of Templates: time 0.004356/0.02449, allocations: 2.023 MB / 386.2 MB, free: 10.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.744108834769577]