Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002477/0.002477, allocations: 181.5 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 81.75 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2922/0.2922, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.82e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4095, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.5717, allocations: 85.74 MB / 0.5496 GB, free: 13.58 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5721, allocations: 71.97 kB / 0.5497 GB, free: 13.51 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.5888, allocations: 4.015 MB / 0.5536 GB, free: 9.5 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5889, allocations: 4 kB / 0.5536 GB, free: 9.496 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.5889, allocations: 4 kB / 0.5536 GB, free: 9.492 MB / 395.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.0005002/0.5894, allocations: 390.2 kB / 0.554 GB, free: 9.066 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5895, allocations: 8.031 kB / 0.554 GB, free: 9.059 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.5895, allocations: 15.81 kB / 0.554 GB, free: 9.043 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.5899, allocations: 210.8 kB / 0.5542 GB, free: 8.797 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5899, allocations: 0 / 0.5542 GB, free: 8.797 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.59, allocations: 0 / 0.5542 GB, free: 8.797 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.53e-05/0.5901, allocations: 19.94 kB / 0.5542 GB, free: 8.777 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.791e-05/0.5902, allocations: 37.69 kB / 0.5543 GB, free: 8.734 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.5902, allocations: 8 kB / 0.5543 GB, free: 8.727 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.5902, allocations: 0 / 0.5543 GB, free: 8.727 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.5902, allocations: 0 / 0.5543 GB, free: 8.727 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.5907, allocations: 277.4 kB / 0.5546 GB, free: 8.418 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.591, allocations: 46.5 kB / 0.5546 GB, free: 8.363 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.591, allocations: 8.859 kB / 0.5546 GB, free: 8.352 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.5911, allocations: 0 / 0.5546 GB, free: 8.352 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.5911, allocations: 34.56 kB / 0.5546 GB, free: 8.309 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.5911, allocations: 0 / 0.5546 GB, free: 8.309 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005307/0.5917, allocations: 129.2 kB / 0.5548 GB, free: 8.176 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.5917, allocations: 59.36 kB / 0.5548 GB, free: 8.105 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.5921, allocations: 217.8 kB / 0.555 GB, free: 7.879 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.5921, allocations: 25.7 kB / 0.5551 GB, free: 7.848 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.648e-05/0.5922, allocations: 166.5 kB / 0.5552 GB, free: 7.684 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.5923, allocations: 19.66 kB / 0.5552 GB, free: 7.664 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.5923, allocations: 0 / 0.5552 GB, free: 7.664 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5924, allocations: 318.8 kB / 0.5555 GB, free: 7.344 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.5925, allocations: 8 kB / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.5925, allocations: 8 kB / 0.5556 GB, free: 7.328 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.113e-05/0.5926, allocations: 24.14 kB / 0.5556 GB, free: 7.305 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5926, allocations: 0 / 0.5556 GB, free: 7.305 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001447/0.5928, allocations: 57.69 kB / 0.5556 GB, free: 7.242 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5928, allocations: 4 kB / 0.5556 GB, free: 7.238 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5928, allocations: 0 / 0.5556 GB, free: 7.238 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5928, allocations: 0 / 0.5556 GB, free: 7.238 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.593, allocations: 15.94 kB / 0.5556 GB, free: 7.223 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.593, allocations: 0 / 0.5556 GB, free: 7.223 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/0.5931, allocations: 15.94 kB / 0.5557 GB, free: 7.207 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.5931, allocations: 4 kB / 0.5557 GB, free: 7.203 MB / 395.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 () * 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 8.133e-05/0.5932, allocations: 104.9 kB / 0.5558 GB, free: 7.094 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.5933, allocations: 11.91 kB / 0.5558 GB, free: 7.082 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.5935, allocations: 79.3 kB / 0.5559 GB, free: 7 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5935, allocations: 4 kB / 0.5559 GB, free: 6.996 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5935, allocations: 0 / 0.5559 GB, free: 6.996 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5936, allocations: 0 / 0.5559 GB, free: 6.996 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005625/0.5941, allocations: 350.9 kB / 0.5562 GB, free: 6.609 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.5941, allocations: 0 / 0.5562 GB, free: 6.609 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.5943, allocations: 12 kB / 0.5562 GB, free: 6.598 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.5943, allocations: 0 / 0.5562 GB, free: 6.598 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.5943, allocations: 4 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5943, allocations: 384 / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5943, allocations: 0 / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.5945, allocations: 179.4 kB / 0.5564 GB, free: 6.402 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.5947, allocations: 100.9 kB / 0.5565 GB, free: 6.285 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.5947, allocations: 7.984 kB / 0.5565 GB, free: 6.277 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.5948, allocations: 4 kB / 0.5565 GB, free: 6.273 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.5949, allocations: 4 kB / 0.5565 GB, free: 6.27 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.5949, allocations: 0 / 0.5565 GB, free: 6.27 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.5952, allocations: 171.2 kB / 0.5567 GB, free: 6.102 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5952, allocations: 4 kB / 0.5567 GB, free: 6.098 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.5955, allocations: 27.95 kB / 0.5567 GB, free: 6.07 MB / 395.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 () * 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.001029/0.5966, allocations: 334.3 kB / 0.557 GB, free: 5.777 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.5968, allocations: 35.98 kB / 0.557 GB, free: 5.742 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5968, allocations: 0 / 0.557 GB, free: 5.742 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.278e-05/0.5968, allocations: 19.94 kB / 0.5571 GB, free: 5.723 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.5972, allocations: 23.47 kB / 0.5571 GB, free: 5.699 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.5977, allocations: 210.2 kB / 0.5573 GB, free: 5.465 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.5982, allocations: 0.7158 MB / 0.558 GB, free: 4.723 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.5983, allocations: 15.44 kB / 0.558 GB, free: 4.707 MB / 395.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5983, allocations: 0 / 0.558 GB, free: 4.707 MB / 395.1 MB Notification: Performance of Templates: time 0.005024/0.6033, allocations: 1.688 MB / 0.5596 GB, free: 3.023 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches