Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001254/0.001254, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001551/0.001551, allocations: 161.4 kB / 24.56 MB, free: 20 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.9495/0.9495, allocations: 177.2 MB / 205 MB, free: 5.285 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.2791/0.2791, allocations: 32.81 MB / 294.3 MB, free: 1.23 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.797e-05, allocations: 9.344 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002081/0.002099, allocations: 1.661 MB / 377.7 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.003288, allocations: 1.286 MB / 379 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.003339, allocations: 0 / 379 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.003529, allocations: 27.73 kB / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.003774, allocations: 83.55 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.003989, allocations: 123.6 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.004129, allocations: 83.75 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.004218, allocations: 15.94 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.774e-05/0.004276, allocations: 39.91 kB / 379.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/0.004366, allocations: 31.89 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.004382, allocations: 4 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.004509, allocations: 95.81 kB / 379.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.004551, allocations: 15.92 kB / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.004582, allocations: 23.92 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.004772, allocations: 139.5 kB / 379.7 MB, free: 1.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004774, allocations: 0 / 379.7 MB, free: 1.016 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004774, allocations: 4 kB / 379.7 MB, free: 1.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.004778, allocations: 0 / 379.7 MB, free: 1.012 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003689/0.005147, allocations: 435.9 kB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.005179, allocations: 11.97 kB / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.005221, allocations: 20.84 kB / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.005353, allocations: 136.5 kB / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.00536, allocations: 384 / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.005383, allocations: 8.375 kB / 380.3 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.005511, allocations: 112 kB / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.005519, allocations: 192 / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.00553, allocations: 16.11 kB / 380.4 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005537, allocations: 4 kB / 380.4 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.245e-05/0.005569, allocations: 11.98 kB / 380.4 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.005863, allocations: 299.6 kB / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.635e-05/0.005929, allocations: 46.98 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.005955, allocations: 19.81 kB / 380.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.005974, allocations: 4 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.005997, allocations: 33.39 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.005998, allocations: 0 / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003495/0.006348, allocations: 137.4 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.006384, allocations: 81.11 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.006499, allocations: 207.9 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.006508, allocations: 25.7 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.006556, allocations: 142.9 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.006578, allocations: 27.75 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.00661, allocations: 27.36 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.006713, allocations: 0.4922 MB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.006735, allocations: 15.98 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.571e-05/0.006771, allocations: 49.08 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.006819, allocations: 39.66 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.00682, allocations: 4.031 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.567e-05/0.006905, allocations: 77.58 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.006915, allocations: 4 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.006919, allocations: 320 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.006931, allocations: 3.984 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.007012, allocations: 20.36 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007017, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.007037, allocations: 3.938 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.007046, allocations: 15.98 kB / 382.2 MB, free: 14.28 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 6.151e-05/0.007107, allocations: 160.5 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.007129, allocations: 19.94 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.007252, allocations: 86.33 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.007255, allocations: 4 kB / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.007258, allocations: 0 / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007261, allocations: 0 / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.007506, allocations: 357.3 kB / 382.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.007508, allocations: 3.984 kB / 382.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.007544, allocations: 16 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007546, allocations: 0 / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.007552, allocations: 0 / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007553, allocations: 4 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.007553, allocations: 0 / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.007668, allocations: 223.8 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.007679, allocations: 11.95 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.00769, allocations: 0 / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.007725, allocations: 7.984 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.007751, allocations: 3.938 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.007766, allocations: 8 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.903e-05/0.007825, allocations: 157.4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007825, allocations: 0 / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.008013, allocations: 43.86 kB / 383.2 MB, free: 13.11 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 (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.0009346/0.008948, allocations: 489.2 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.966e-05/0.009047, allocations: 47.64 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009049, allocations: 0 / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/0.009078, allocations: 35.61 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.009263, allocations: 19.98 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.009549, allocations: 186.6 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.00959, allocations: 63.34 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.618e-05/0.009636, allocations: 24.69 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.009673, allocations: 20.5 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009674, allocations: 0 / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of Templates: time 0.003367/0.01304, allocations: 1.937 MB / 386 MB, free: 10.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.2034622812643647]