Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.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.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001527, allocations: 185.1 kB / 16.41 MB, free: 5.727 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.945/1.945, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001198/0.001197, allocations: 93.3 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5782/0.5782, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004628, allocations: 11.98 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1272, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4588/0.5861, allocations: 87.09 MB / 0.5638 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.5864, allocations: 79.95 kB / 0.5638 GB, free: 15.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0182/0.6046, allocations: 4.476 MB / 0.5682 GB, free: 11.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6047, allocations: 0 / 0.5682 GB, free: 11.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.6047, allocations: 0 / 0.5682 GB, free: 11.13 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005785/0.6053, allocations: 406.4 kB / 0.5686 GB, free: 10.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.6054, allocations: 12.02 kB / 0.5686 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.6054, allocations: 11.34 kB / 0.5686 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.6057, allocations: 190.9 kB / 0.5688 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.6057, allocations: 4 kB / 0.5688 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.6058, allocations: 0 / 0.5688 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.606, allocations: 75.39 kB / 0.5689 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.606, allocations: 4 kB / 0.5689 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.6061, allocations: 5.031 kB / 0.5689 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.6061, allocations: 0 / 0.5689 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.6063, allocations: 44.62 kB / 0.5689 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.6068, allocations: 292.7 kB / 0.5692 GB, free: 9.973 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.607, allocations: 46.56 kB / 0.5693 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.6071, allocations: 4 kB / 0.5693 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.6071, allocations: 34.56 kB / 0.5693 GB, free: 9.871 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.6071, allocations: 0 / 0.5693 GB, free: 9.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001218/0.6083, allocations: 245.3 kB / 0.5695 GB, free: 9.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.6084, allocations: 88.48 kB / 0.5696 GB, free: 9.523 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.6086, allocations: 126.9 kB / 0.5697 GB, free: 9.391 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.6087, allocations: 29.7 kB / 0.5698 GB, free: 9.355 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.6087, allocations: 154.6 kB / 0.5699 GB, free: 9.203 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.6088, allocations: 23.66 kB / 0.5699 GB, free: 9.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.6088, allocations: 0 / 0.5699 GB, free: 9.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6089, allocations: 315.1 kB / 0.5702 GB, free: 8.863 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.6092, allocations: 51.91 kB / 0.5703 GB, free: 8.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.6094, allocations: 53.62 kB / 0.5703 GB, free: 8.754 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.6096, allocations: 40.02 kB / 0.5704 GB, free: 8.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6096, allocations: 0 / 0.5704 GB, free: 8.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005001/0.6101, allocations: 129.5 kB / 0.5705 GB, free: 8.582 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.6102, allocations: 8 kB / 0.5705 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6102, allocations: 0 / 0.5705 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.6102, allocations: 3.953 kB / 0.5705 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.6104, allocations: 23.98 kB / 0.5705 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.6105, allocations: 11.92 kB / 0.5705 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.6106, allocations: 8 kB / 0.5706 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.6106, allocations: 4 kB / 0.5706 GB, free: 8.523 MB / 394.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 (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 prepare postOptimizeDAE: time 0.0001183/0.6108, allocations: 117.8 kB / 0.5707 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.6108, allocations: 7.906 kB / 0.5707 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005818/0.6114, allocations: 138.3 kB / 0.5708 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.6114, allocations: 3.953 kB / 0.5708 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6114, allocations: 0 / 0.5708 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.6114, allocations: 288 / 0.5708 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008356/0.6123, allocations: 410.8 kB / 0.5712 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.6123, allocations: 11.98 kB / 0.5712 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.6125, allocations: 23.98 kB / 0.5712 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.6125, allocations: 3.953 kB / 0.5712 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.6125, allocations: 7.984 kB / 0.5712 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.6126, allocations: 0 / 0.5712 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6126, allocations: 0 / 0.5712 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/0.6131, allocations: 223.3 kB / 0.5715 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.6132, allocations: 89 kB / 0.5715 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.6132, allocations: 7.953 kB / 0.5716 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.6134, allocations: 19.98 kB / 0.5716 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.6135, allocations: 4.75 kB / 0.5716 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.6135, allocations: 0 / 0.5716 GB, free: 7.375 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.6136, allocations: 115.2 kB / 0.5717 GB, free: 7.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6136, allocations: 0 / 0.5717 GB, free: 7.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.614, allocations: 35.88 kB / 0.5717 GB, free: 7.227 MB / 394.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.001301/0.6153, allocations: 454.3 kB / 0.5722 GB, free: 6.875 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000538/0.6159, allocations: 95.88 kB / 0.5722 GB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6159, allocations: 0 / 0.5722 GB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.6162, allocations: 47.97 kB / 0.5723 GB, free: 6.734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.6165, allocations: 15.98 kB / 0.5723 GB, free: 6.719 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.617, allocations: 225.2 kB / 0.5725 GB, free: 6.473 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.6174, allocations: 0.6965 MB / 0.5732 GB, free: 5.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.724e-05/0.6175, allocations: 23.42 kB / 0.5732 GB, free: 5.727 MB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6175, allocations: 4 kB / 0.5732 GB, free: 5.723 MB / 394.7 MB Notification: Performance of Templates: time 0.005074/0.6226, allocations: 1.771 MB / 0.575 GB, free: 3.953 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches