Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24") translateModel(ModelicaTest.Tables.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 181.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000808/0.0008079, allocations: 90.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2145/0.2145, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4345/0.5715, allocations: 86.75 MB / 0.5635 GB, free: 13.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.5718, allocations: 72.62 kB / 0.5635 GB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01149/0.5833, allocations: 4.321 MB / 0.5678 GB, free: 9.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5834, allocations: 0 / 0.5678 GB, free: 9.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.5834, allocations: 0 / 0.5678 GB, free: 9.613 MB / 378.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.0005639/0.584, allocations: 386.3 kB / 0.5681 GB, free: 9.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.5841, allocations: 12.02 kB / 0.5681 GB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.5841, allocations: 7.906 kB / 0.5681 GB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.5844, allocations: 190.4 kB / 0.5683 GB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.5844, allocations: 0 / 0.5683 GB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.5844, allocations: 4 kB / 0.5683 GB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.5846, allocations: 66.64 kB / 0.5684 GB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.5846, allocations: 0 / 0.5684 GB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.5847, allocations: 4 kB / 0.5684 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5847, allocations: 4 kB / 0.5684 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.5848, allocations: 26.98 kB / 0.5684 GB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/0.5854, allocations: 279.2 kB / 0.5687 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.5856, allocations: 57.86 kB / 0.5687 GB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.5857, allocations: 0 / 0.5687 GB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.5857, allocations: 30.56 kB / 0.5688 GB, free: 8.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.5857, allocations: 4 kB / 0.5688 GB, free: 8.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006439/0.5864, allocations: 163.8 kB / 0.5689 GB, free: 8.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.5864, allocations: 77.11 kB / 0.569 GB, free: 8.199 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.5866, allocations: 126.9 kB / 0.5691 GB, free: 8.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.5866, allocations: 29.02 kB / 0.5692 GB, free: 8.047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.5867, allocations: 99.94 kB / 0.5693 GB, free: 7.949 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.5867, allocations: 22.98 kB / 0.5693 GB, free: 7.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.5867, allocations: 0 / 0.5693 GB, free: 7.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5869, allocations: 318.4 kB / 0.5696 GB, free: 7.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.198e-05/0.5869, allocations: 23.42 kB / 0.5696 GB, free: 7.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.587, allocations: 41.2 kB / 0.5696 GB, free: 7.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.818e-05/0.5871, allocations: 27.55 kB / 0.5697 GB, free: 7.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5871, allocations: 0 / 0.5697 GB, free: 7.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001894/0.5873, allocations: 99.84 kB / 0.5698 GB, free: 7.438 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5873, allocations: 6.656 kB / 0.5698 GB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.5874, allocations: 4 kB / 0.5698 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.5874, allocations: 4 kB / 0.5698 GB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.5874, allocations: 19.23 kB / 0.5698 GB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5875, allocations: 0 / 0.5698 GB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.5875, allocations: 8 kB / 0.5698 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.5875, allocations: 3.953 kB / 0.5698 GB, free: 7.398 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.521e-05/0.5876, allocations: 121.7 kB / 0.5699 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.5877, allocations: 7.906 kB / 0.5699 GB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.5879, allocations: 106.9 kB / 0.57 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5879, allocations: 0 / 0.57 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5879, allocations: 0 / 0.57 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.588, allocations: 4 kB / 0.57 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.5884, allocations: 358.3 kB / 0.5704 GB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5884, allocations: 3.984 kB / 0.5704 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.5885, allocations: 15.94 kB / 0.5704 GB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.5885, allocations: 4 kB / 0.5704 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5885, allocations: 4 kB / 0.5704 GB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5885, allocations: 0 / 0.5704 GB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5885, allocations: 0 / 0.5704 GB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.5887, allocations: 193.3 kB / 0.5706 GB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.5888, allocations: 93 kB / 0.5707 GB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.5888, allocations: 3.75 kB / 0.5707 GB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.5889, allocations: 4 kB / 0.5707 GB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.5889, allocations: 7.984 kB / 0.5707 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.589, allocations: 192 / 0.5707 GB, free: 6.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.954e-05/0.589, allocations: 109.2 kB / 0.5708 GB, free: 6.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5891, allocations: 3.938 kB / 0.5708 GB, free: 6.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002709/0.5893, allocations: 27.61 kB / 0.5708 GB, free: 6.316 MB / 378.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 (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.001083/0.5904, allocations: 452.2 kB / 0.5713 GB, free: 5.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.5907, allocations: 65.97 kB / 0.5713 GB, free: 5.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5907, allocations: 0 / 0.5713 GB, free: 5.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.913e-05/0.5908, allocations: 31.36 kB / 0.5713 GB, free: 5.848 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.591, allocations: 14.55 kB / 0.5714 GB, free: 5.836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.5915, allocations: 178.6 kB / 0.5715 GB, free: 5.645 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.5918, allocations: 0.6965 MB / 0.5722 GB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.547e-05/0.5919, allocations: 12.17 kB / 0.5722 GB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.592, allocations: 11.44 kB / 0.5722 GB, free: 4.898 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.592, allocations: 0 / 0.5722 GB, free: 4.898 MB / 378.7 MB Notification: Performance of Templates: time 0.004282/0.5962, allocations: 1.289 MB / 0.5735 GB, free: 3.621 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches