Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001372/0.001372, allocations: 78.66 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.001639/0.001639, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.9238/0.9238, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2342/0.2342, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.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.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.65e-05, allocations: 6.25 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.00203/0.002047, allocations: 1.634 MB / 378.1 MB, free: 2.746 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.003177, allocations: 1.274 MB / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.003232, allocations: 4 kB / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.003425, allocations: 27.78 kB / 379.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.00368, allocations: 87.55 kB / 379.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.003903, allocations: 111.5 kB / 379.6 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.004017, allocations: 67.83 kB / 379.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.004099, allocations: 11.94 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.004158, allocations: 39.89 kB / 379.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.163e-05/0.004239, allocations: 19.92 kB / 379.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.004256, allocations: 7.938 kB / 379.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.004383, allocations: 91.88 kB / 379.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.004423, allocations: 19.91 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.004445, allocations: 11.94 kB / 379.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.004624, allocations: 135.5 kB / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004626, allocations: 0 / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004626, allocations: 0 / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.004629, allocations: 0 / 380 MB, free: 0.8398 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.0003542/0.004984, allocations: 435.9 kB / 380.4 MB, free: 388 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.005018, allocations: 8.031 kB / 380.5 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.005049, allocations: 12.89 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.005172, allocations: 136.5 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.00518, allocations: 384 / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.005197, allocations: 4.375 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.005308, allocations: 108 kB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.005315, allocations: 192 / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.005323, allocations: 4.125 kB / 380.7 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.005329, allocations: 4 kB / 380.7 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.00535, allocations: 7.984 kB / 380.7 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.005589, allocations: 260.3 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.005703, allocations: 43.06 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.00572, allocations: 15.77 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.005738, allocations: 0 / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.005759, allocations: 37.33 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.00576, allocations: 0 / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002533/0.006014, allocations: 93.5 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.006044, allocations: 77.11 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.006141, allocations: 197.9 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.006152, allocations: 29.7 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.006203, allocations: 146.8 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.006221, allocations: 15.89 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.00625, allocations: 27.36 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.00636, allocations: 496.1 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.006376, allocations: 11.92 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.00641, allocations: 53.08 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.006443, allocations: 23.61 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.006444, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.524e-05/0.00652, allocations: 61.59 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.006532, allocations: 8.031 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.006538, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.006551, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.807e-05/0.006599, allocations: 11.98 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.006604, allocations: 4 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.006624, allocations: 256 / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.006628, allocations: 0 / 382.3 MB, free: 14.32 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.997e-05/0.006698, allocations: 164.5 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.00672, allocations: 15.89 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.936e-05/0.006819, allocations: 66.09 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.006822, allocations: 8 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.006825, allocations: 0 / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.006828, allocations: 3.984 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.007059, allocations: 302 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.00706, allocations: 0 / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.007091, allocations: 11.98 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.007096, allocations: 0 / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-06/0.0071, allocations: 0 / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.007101, allocations: 0 / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007102, allocations: 0 / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.00721, allocations: 203.8 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.007221, allocations: 15.95 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.007231, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.007266, allocations: 4 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.007287, allocations: 7.922 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.007291, allocations: 4 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.372e-05/0.007345, allocations: 153 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007345, allocations: 0 / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.007523, allocations: 39.81 kB / 383.3 MB, free: 13.27 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.0008377/0.008361, allocations: 485.6 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.2e-05/0.008433, allocations: 31.66 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008434, allocations: 0 / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.008453, allocations: 19.62 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.008634, allocations: 23.92 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.008872, allocations: 173.9 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.518e-05/0.008908, allocations: 63.34 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.611e-05/0.008944, allocations: 11.98 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.009009, allocations: 82.19 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.009009, allocations: 4 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Templates: time 0.003245/0.01225, allocations: 2.04 MB / 386.2 MB, free: 10.49 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/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.8108538123779]