Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 177 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 223.2 MB / 241 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008022/0.0008023, allocations: 95.23 kB / 292.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2938/0.2938, allocations: 44.21 MB / 387.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003334, allocations: 8 kB / 459.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3332, allocations: 61.9 MB / 0.5096 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.4413, allocations: 88.13 MB / 0.5956 GB, free: 6.988 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4416, allocations: 79.92 kB / 0.5957 GB, free: 6.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00959/0.4512, allocations: 3.721 MB / 0.5993 GB, free: 3.199 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4513, allocations: 7.938 kB / 0.5993 GB, free: 3.191 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.4513, allocations: 4 kB / 0.5993 GB, free: 3.188 MB / 410.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.0004276/0.4517, allocations: 379 kB / 0.5997 GB, free: 2.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.4518, allocations: 12.56 kB / 0.5997 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.4518, allocations: 3.906 kB / 0.5997 GB, free: 2.754 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.4521, allocations: 190.9 kB / 0.5999 GB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4521, allocations: 4 kB / 0.5999 GB, free: 2.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.4521, allocations: 4 kB / 0.5999 GB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.4523, allocations: 63.36 kB / 0.6 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4524, allocations: 0 / 0.6 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.4524, allocations: 4 kB / 0.6 GB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4524, allocations: 7.938 kB / 0.6 GB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.4525, allocations: 27.97 kB / 0.6 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.4529, allocations: 296.8 kB / 0.6003 GB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.862e-05/0.453, allocations: 46.56 kB / 0.6003 GB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.453, allocations: 4 kB / 0.6003 GB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.4531, allocations: 38.66 kB / 0.6004 GB, free: 1.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 3.416e-06/0.4531, allocations: 4 kB / 0.6004 GB, free: 1.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005833/0.4537, allocations: 193.2 kB / 0.6006 GB, free: 1.762 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.4537, allocations: 89.05 kB / 0.6006 GB, free: 1.656 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4539, allocations: 127.1 kB / 0.6008 GB, free: 1.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.4539, allocations: 25.7 kB / 0.6008 GB, free: 1.496 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.4539, allocations: 92.14 kB / 0.6009 GB, free: 1.402 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.454, allocations: 23.64 kB / 0.6009 GB, free: 1.379 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.454, allocations: 0 / 0.6009 GB, free: 1.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4541, allocations: 318.8 kB / 0.6012 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.4542, allocations: 39.95 kB / 0.6012 GB, free: 1.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/0.4543, allocations: 45.69 kB / 0.6013 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.469e-05/0.4544, allocations: 35.98 kB / 0.6013 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4544, allocations: 3.953 kB / 0.6013 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000202/0.4546, allocations: 113.6 kB / 0.6014 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4546, allocations: 5.406 kB / 0.6014 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4546, allocations: 0 / 0.6014 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4546, allocations: 0 / 0.6014 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4547, allocations: 23.92 kB / 0.6015 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4548, allocations: 0 / 0.6015 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.4548, allocations: 19.98 kB / 0.6015 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.4548, allocations: 0 / 0.6015 GB, free: 0.7656 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.4549, allocations: 113.8 kB / 0.6016 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.455, allocations: 11.86 kB / 0.6016 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.4553, allocations: 122 kB / 0.6017 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4553, allocations: 4.281 kB / 0.6017 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4553, allocations: 3.938 kB / 0.6017 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4553, allocations: 3.984 kB / 0.6017 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.4558, allocations: 398.3 kB / 0.6021 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4558, allocations: 7.984 kB / 0.6021 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.4559, allocations: 15.98 kB / 0.6021 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4559, allocations: 3.938 kB / 0.6021 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.4559, allocations: 4 kB / 0.6021 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4559, allocations: 0 / 0.6021 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4559, allocations: 4 kB / 0.6021 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.4562, allocations: 215.8 kB / 0.6023 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.4562, allocations: 85.02 kB / 0.6024 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.4563, allocations: 0 / 0.6024 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.4564, allocations: 11.98 kB / 0.6024 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.4564, allocations: 4 kB / 0.6024 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.4564, allocations: 7.938 kB / 0.6024 GB, free: 15.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.355e-05/0.4565, allocations: 107.2 kB / 0.6026 GB, free: 15.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4565, allocations: 0 / 0.6026 GB, free: 15.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.4568, allocations: 31.94 kB / 0.6026 GB, free: 15.53 MB / 426.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009635/0.4577, allocations: 457.2 kB / 0.603 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.458, allocations: 71.95 kB / 0.6031 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.458, allocations: 0 / 0.6031 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.987e-05/0.4581, allocations: 43.91 kB / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.4583, allocations: 25.25 kB / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.4587, allocations: 185.6 kB / 0.6033 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.4589, allocations: 0.7004 MB / 0.604 GB, free: 14.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.966e-05/0.459, allocations: 24.27 kB / 0.604 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.459, allocations: 15.44 kB / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4591, allocations: 0 / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of Templates: time 0.003592/0.4627, allocations: 1.459 MB / 0.6055 GB, free: 12.68 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches