Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00224/0.002247, allocations: 177.8 kB / 8.36 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.177/2.177, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001169/0.001168, allocations: 87.88 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.2967/0.2967, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.394e-05/2.404e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4186, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.5823, allocations: 85.99 MB / 0.5499 GB, free: 13.31 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5826, allocations: 67.97 kB / 0.5499 GB, free: 13.25 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01766/0.6003, allocations: 4.012 MB / 0.5539 GB, free: 9.238 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6004, allocations: 0 / 0.5539 GB, free: 9.238 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.6004, allocations: 0 / 0.5539 GB, free: 9.238 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.0004868/0.6009, allocations: 366.4 kB / 0.5542 GB, free: 8.836 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/0.601, allocations: 12.03 kB / 0.5542 GB, free: 8.824 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.601, allocations: 3.906 kB / 0.5542 GB, free: 8.82 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.6013, allocations: 194.9 kB / 0.5544 GB, free: 8.59 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.6013, allocations: 0 / 0.5544 GB, free: 8.59 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.6014, allocations: 0 / 0.5544 GB, free: 8.59 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.347e-05/0.6015, allocations: 15.98 kB / 0.5544 GB, free: 8.574 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.6016, allocations: 59.36 kB / 0.5545 GB, free: 8.504 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.6017, allocations: 3.984 kB / 0.5545 GB, free: 8.5 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.6017, allocations: 0 / 0.5545 GB, free: 8.5 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.6017, allocations: 0 / 0.5545 GB, free: 8.5 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.6022, allocations: 261.4 kB / 0.5547 GB, free: 8.207 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.6024, allocations: 34.58 kB / 0.5548 GB, free: 8.164 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.6025, allocations: 20.94 kB / 0.5548 GB, free: 8.141 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.6025, allocations: 0 / 0.5548 GB, free: 8.141 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.6026, allocations: 34.5 kB / 0.5548 GB, free: 8.098 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.6026, allocations: 0 / 0.5548 GB, free: 8.098 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005493/0.6031, allocations: 105.3 kB / 0.5549 GB, free: 7.988 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.6032, allocations: 77.11 kB / 0.555 GB, free: 7.895 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.6034, allocations: 129 kB / 0.5551 GB, free: 7.762 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.6034, allocations: 25.7 kB / 0.5551 GB, free: 7.73 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.6035, allocations: 162.5 kB / 0.5553 GB, free: 7.57 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.6035, allocations: 11.75 kB / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.6036, allocations: 0 / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.6037, allocations: 319 kB / 0.5556 GB, free: 7.238 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.6038, allocations: 19.92 kB / 0.5556 GB, free: 7.219 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.6038, allocations: 21.72 kB / 0.5557 GB, free: 7.191 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/0.6039, allocations: 20.02 kB / 0.5557 GB, free: 7.172 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6039, allocations: 0 / 0.5557 GB, free: 7.172 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001558/0.6041, allocations: 57.69 kB / 0.5557 GB, free: 7.109 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6041, allocations: 4 kB / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6041, allocations: 256 / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6042, allocations: 0 / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.6043, allocations: 16 kB / 0.5557 GB, free: 7.09 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.6043, allocations: 0 / 0.5557 GB, free: 7.09 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.6044, allocations: 15.98 kB / 0.5558 GB, free: 7.074 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.6044, allocations: 4 kB / 0.5558 GB, free: 7.07 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 9.421e-05/0.6045, allocations: 108.9 kB / 0.5559 GB, free: 6.957 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.6046, allocations: 7.906 kB / 0.5559 GB, free: 6.949 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.6048, allocations: 74.08 kB / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6048, allocations: 0 / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6049, allocations: 0 / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6049, allocations: 0 / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.6054, allocations: 322.9 kB / 0.5563 GB, free: 6.512 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6054, allocations: 0 / 0.5563 GB, free: 6.512 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.6055, allocations: 12 kB / 0.5563 GB, free: 6.5 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6055, allocations: 0 / 0.5563 GB, free: 6.5 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.6055, allocations: 0 / 0.5563 GB, free: 6.5 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.6055, allocations: 3.984 kB / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6056, allocations: 0 / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.6058, allocations: 167.5 kB / 0.5564 GB, free: 6.316 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.6059, allocations: 85.16 kB / 0.5565 GB, free: 6.215 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.6059, allocations: 3.984 kB / 0.5565 GB, free: 6.211 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.606, allocations: 7.984 kB / 0.5565 GB, free: 6.203 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.6061, allocations: 4 kB / 0.5565 GB, free: 6.199 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.6061, allocations: 4 kB / 0.5565 GB, free: 6.195 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.6062, allocations: 103.3 kB / 0.5566 GB, free: 6.094 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6062, allocations: 7.875 kB / 0.5566 GB, free: 6.086 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.6066, allocations: 27.98 kB / 0.5567 GB, free: 6.059 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.001139/0.6078, allocations: 380.9 kB / 0.557 GB, free: 5.727 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.608, allocations: 32 kB / 0.5571 GB, free: 5.695 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.608, allocations: 0 / 0.5571 GB, free: 5.695 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.682e-05/0.6081, allocations: 19.94 kB / 0.5571 GB, free: 5.676 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.6084, allocations: 15.8 kB / 0.5571 GB, free: 5.66 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.6088, allocations: 125.8 kB / 0.5572 GB, free: 5.504 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.6092, allocations: 0.7001 MB / 0.5579 GB, free: 4.777 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.6093, allocations: 23.44 kB / 0.5579 GB, free: 4.754 MB / 395.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6093, allocations: 0 / 0.5579 GB, free: 4.754 MB / 395.1 MB Notification: Performance of Templates: time 0.005078/0.6144, allocations: 1.601 MB / 0.5595 GB, free: 3.156 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches