Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0022/0.0022, allocations: 178.4 kB / 8.362 MB, free: 0.7148 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.042/2.042, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001103/0.001103, allocations: 90.56 kB / 262.1 MB, free: 13.89 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.2941/0.2941, allocations: 43.49 MB / 353.5 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.96e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4002, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.5733, allocations: 85.99 MB / 0.5499 GB, free: 13.31 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/0.5737, allocations: 67.97 kB / 0.5499 GB, free: 13.25 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02312/0.5969, allocations: 4.005 MB / 0.5539 GB, free: 9.246 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5969, allocations: 0 / 0.5539 GB, free: 9.246 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.331e-05/0.597, allocations: 4 kB / 0.5539 GB, free: 9.242 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.0006772/0.5977, allocations: 361.4 kB / 0.5542 GB, free: 8.848 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.37e-05/0.5978, allocations: 12.03 kB / 0.5542 GB, free: 8.836 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.5979, allocations: 11.84 kB / 0.5542 GB, free: 8.824 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.5983, allocations: 190.9 kB / 0.5544 GB, free: 8.598 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.5983, allocations: 4 kB / 0.5544 GB, free: 8.594 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.5984, allocations: 4 kB / 0.5544 GB, free: 8.59 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/0.5985, allocations: 12 kB / 0.5544 GB, free: 8.578 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.5987, allocations: 51.41 kB / 0.5545 GB, free: 8.516 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.5987, allocations: 0 / 0.5545 GB, free: 8.516 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.5988, allocations: 0 / 0.5545 GB, free: 8.516 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5988, allocations: 0 / 0.5545 GB, free: 8.516 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.5995, allocations: 273.3 kB / 0.5547 GB, free: 8.211 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.5998, allocations: 38.52 kB / 0.5548 GB, free: 8.164 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.5998, allocations: 12.8 kB / 0.5548 GB, free: 8.148 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.5999, allocations: 4.078 kB / 0.5548 GB, free: 8.145 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.5999, allocations: 34.56 kB / 0.5548 GB, free: 8.102 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 3.647e-06/0.6, allocations: 4 kB / 0.5548 GB, free: 8.098 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006977/0.6007, allocations: 101.3 kB / 0.5549 GB, free: 7.992 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.6008, allocations: 85.09 kB / 0.555 GB, free: 7.891 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.601, allocations: 117.9 kB / 0.5551 GB, free: 7.77 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.601, allocations: 25.7 kB / 0.5551 GB, free: 7.738 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.6012, allocations: 158.6 kB / 0.5553 GB, free: 7.582 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.6012, allocations: 11.75 kB / 0.5553 GB, free: 7.57 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.6012, allocations: 0 / 0.5553 GB, free: 7.57 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.6014, allocations: 327 kB / 0.5556 GB, free: 7.242 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.6015, allocations: 8 kB / 0.5556 GB, free: 7.234 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/0.6016, allocations: 25.7 kB / 0.5556 GB, free: 7.203 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.825e-05/0.6017, allocations: 20.12 kB / 0.5557 GB, free: 7.184 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.6017, allocations: 0 / 0.5557 GB, free: 7.184 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002133/0.6019, allocations: 57.69 kB / 0.5557 GB, free: 7.121 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.602, allocations: 7.984 kB / 0.5557 GB, free: 7.113 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.602, allocations: 0 / 0.5557 GB, free: 7.113 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.602, allocations: 4.031 kB / 0.5557 GB, free: 7.109 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.6022, allocations: 12 kB / 0.5557 GB, free: 7.098 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.6023, allocations: 0 / 0.5557 GB, free: 7.098 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.6024, allocations: 11.98 kB / 0.5558 GB, free: 7.086 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.6024, allocations: 0 / 0.5558 GB, free: 7.086 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 0.0001207/0.6025, allocations: 104.9 kB / 0.5559 GB, free: 6.977 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.6026, allocations: 7.906 kB / 0.5559 GB, free: 6.969 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.603, allocations: 86.02 kB / 0.5559 GB, free: 6.879 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.603, allocations: 0 / 0.5559 GB, free: 6.879 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.603, allocations: 0 / 0.5559 GB, free: 6.879 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.603, allocations: 0 / 0.5559 GB, free: 6.879 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006698/0.6037, allocations: 315 kB / 0.5562 GB, free: 6.527 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/0.6037, allocations: 3.984 kB / 0.5563 GB, free: 6.523 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.6039, allocations: 15.94 kB / 0.5563 GB, free: 6.508 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.6039, allocations: 0 / 0.5563 GB, free: 6.508 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.604, allocations: 4 kB / 0.5563 GB, free: 6.504 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.604, allocations: 3.938 kB / 0.5563 GB, free: 6.5 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.604, allocations: 0 / 0.5563 GB, free: 6.5 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.6043, allocations: 167.7 kB / 0.5564 GB, free: 6.32 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.414e-05/0.6044, allocations: 85.02 kB / 0.5565 GB, free: 6.219 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.6045, allocations: 4.062 kB / 0.5565 GB, free: 6.215 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.6047, allocations: 7.984 kB / 0.5565 GB, free: 6.207 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.6047, allocations: 11.94 kB / 0.5565 GB, free: 6.195 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.6048, allocations: 0 / 0.5565 GB, free: 6.195 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.6049, allocations: 111.8 kB / 0.5566 GB, free: 6.086 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.605, allocations: 4 kB / 0.5566 GB, free: 6.082 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006453/0.6056, allocations: 16 kB / 0.5567 GB, free: 6.066 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.001643/0.6073, allocations: 375.8 kB / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.6076, allocations: 31.98 kB / 0.5571 GB, free: 5.707 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6076, allocations: 0 / 0.5571 GB, free: 5.707 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.6077, allocations: 20 kB / 0.5571 GB, free: 5.688 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.6081, allocations: 19.73 kB / 0.5571 GB, free: 5.668 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.6087, allocations: 133.7 kB / 0.5572 GB, free: 5.504 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.6091, allocations: 0.6962 MB / 0.5579 GB, free: 4.781 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.537e-05/0.6092, allocations: 15.44 kB / 0.5579 GB, free: 4.766 MB / 395.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6093, allocations: 0 / 0.5579 GB, free: 4.766 MB / 395.1 MB Notification: Performance of Templates: time 0.006442/0.6157, allocations: 1.609 MB / 0.5595 GB, free: 3.16 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches