Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001534/0.001534, allocations: 84.23 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001634/0.001634, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.405/1.405, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2002/0.2002, allocations: 32.82 MB / 293.5 MB, free: 32 kB / 270.1 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.066e-05, allocations: 5.375 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002663/0.002684, allocations: 1.588 MB / 441.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.00374, allocations: 0.5298 MB / 442.2 MB, free: 6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.003785, allocations: 0 / 442.2 MB, free: 6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.003979, allocations: 35.77 kB / 442.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.004233, allocations: 79.62 kB / 442.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.004526, allocations: 111.6 kB / 442.4 MB, free: 5.777 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.004667, allocations: 71.75 kB / 442.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.537e-05/0.004743, allocations: 4 kB / 442.5 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.00481, allocations: 31.86 kB / 442.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.004865, allocations: 23.91 kB / 442.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.004882, allocations: 4 kB / 442.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.004954, allocations: 31.92 kB / 442.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.005003, allocations: 15.92 kB / 442.6 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.005031, allocations: 15.88 kB / 442.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.005202, allocations: 87.7 kB / 442.7 MB, free: 5.496 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.005206, allocations: 4 kB / 442.7 MB, free: 5.492 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005207, allocations: 4 kB / 442.7 MB, free: 5.488 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.005211, allocations: 0 / 442.7 MB, free: 5.488 MB / 366.1 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.0004346/0.005645, allocations: 313.8 kB / 443 MB, free: 5.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.005676, allocations: 8.031 kB / 443 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.005716, allocations: 8.891 kB / 443.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.005904, allocations: 142.1 kB / 443.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.005914, allocations: 384 / 443.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.005932, allocations: 4.375 kB / 443.2 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.006065, allocations: 53.98 kB / 443.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.006075, allocations: 0 / 443.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.006087, allocations: 11.98 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.00609, allocations: 0 / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.216e-05/0.006182, allocations: 19.98 kB / 443.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.006541, allocations: 232.5 kB / 443.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.006754, allocations: 46.5 kB / 443.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.006808, allocations: 16.94 kB / 443.6 MB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.006829, allocations: 4 kB / 443.6 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.006853, allocations: 30.56 kB / 443.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.006854, allocations: 7.938 kB / 443.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005742/0.007428, allocations: 153.4 kB / 443.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.007471, allocations: 51.41 kB / 443.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.007652, allocations: 177.5 kB / 444 MB, free: 4.094 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.007671, allocations: 25.7 kB / 444 MB, free: 4.062 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.007736, allocations: 104.1 kB / 444.1 MB, free: 3.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.007755, allocations: 11.91 kB / 444.1 MB, free: 3.945 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.007801, allocations: 21.7 kB / 444.1 MB, free: 3.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.007951, allocations: 326.8 kB / 444.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.00803, allocations: 27.91 kB / 444.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.008096, allocations: 19.98 kB / 444.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.008239, allocations: 52.83 kB / 444.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.00824, allocations: 0 / 444.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002025/0.008442, allocations: 85.61 kB / 444.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.008456, allocations: 12 kB / 444.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.00846, allocations: 256 / 444.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.008471, allocations: 0 / 444.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.615e-05/0.008537, allocations: 15.98 kB / 444.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.008543, allocations: 3.938 kB / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.03e-05/0.008583, allocations: 4 kB / 444.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.008592, allocations: 4 kB / 444.7 MB, free: 3.359 MB / 366.1 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 9.49e-05/0.008687, allocations: 126.4 kB / 444.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.008728, allocations: 11.91 kB / 444.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.00898, allocations: 102.1 kB / 444.9 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.008986, allocations: 7.984 kB / 444.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.008989, allocations: 0 / 444.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.008991, allocations: 0 / 444.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.00941, allocations: 302.1 kB / 445.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.009413, allocations: 4 kB / 445.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.429e-05/0.009478, allocations: 11.98 kB / 445.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.009479, allocations: 0 / 445.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.009486, allocations: 4 kB / 445.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.009487, allocations: 0 / 445.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.00949, allocations: 4 kB / 445.3 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.009744, allocations: 191.3 kB / 445.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.009755, allocations: 7.891 kB / 445.4 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.009774, allocations: 7.984 kB / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.009842, allocations: 0 / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.009884, allocations: 7.984 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.009889, allocations: 192 / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.01001, allocations: 142.2 kB / 445.6 MB, free: 2.375 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01001, allocations: 4 kB / 445.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.01025, allocations: 23.88 kB / 445.6 MB, free: 2.348 MB / 366.1 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.001516/0.01176, allocations: 428.8 kB / 446 MB, free: 2.105 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.01196, allocations: 47.95 kB / 446.1 MB, free: 2.059 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01196, allocations: 0 / 446.1 MB, free: 2.059 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.01204, allocations: 27.92 kB / 446.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.01232, allocations: 22.48 kB / 446.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.01274, allocations: 209.1 kB / 446.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.194e-05/0.01282, allocations: 79.61 kB / 446.4 MB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.455e-05/0.01287, allocations: 11.98 kB / 446.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.0129, allocations: 16.5 kB / 446.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.0129, allocations: 4 kB / 446.5 MB, free: 1.648 MB / 366.1 MB Notification: Performance of Templates: time 0.003921/0.01682, allocations: 1.171 MB / 447.6 MB, free: 0.4922 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.518501121550798]