Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001478, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00108/0.00108, allocations: 78.66 kB / 267.5 MB, free: 14.05 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.278/0.278, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.322e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 58.87 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5907/0.7014, allocations: 86.74 MB / 0.5575 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.7017, allocations: 77.92 kB / 0.5576 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01771/0.7195, allocations: 4.301 MB / 0.5618 GB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7195, allocations: 0 / 0.5618 GB, free: 13.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.7196, allocations: 0 / 0.5618 GB, free: 13.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004971/0.7201, allocations: 384.9 kB / 0.5622 GB, free: 12.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.7201, allocations: 20.02 kB / 0.5622 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.7202, allocations: 15.8 kB / 0.5622 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.7205, allocations: 206.1 kB / 0.5624 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.7205, allocations: 0 / 0.5624 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.7206, allocations: 7.5 kB / 0.5624 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.7207, allocations: 44.2 kB / 0.5624 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.7207, allocations: 3.984 kB / 0.5624 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.7207, allocations: 0 / 0.5624 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7208, allocations: 0 / 0.5624 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.7209, allocations: 18.81 kB / 0.5625 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.7213, allocations: 309.4 kB / 0.5627 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.7214, allocations: 33.56 kB / 0.5628 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.52e-05/0.7215, allocations: 16.05 kB / 0.5628 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.7215, allocations: 0 / 0.5628 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.7216, allocations: 38.25 kB / 0.5628 GB, free: 11.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.7216, allocations: 0 / 0.5628 GB, free: 11.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006474/0.7222, allocations: 153.3 kB / 0.563 GB, free: 11.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.7223, allocations: 51.41 kB / 0.563 GB, free: 11.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.7226, allocations: 191.4 kB / 0.5632 GB, free: 11.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.7227, allocations: 25.7 kB / 0.5632 GB, free: 11.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.7227, allocations: 169.1 kB / 0.5634 GB, free: 11.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.7228, allocations: 26.97 kB / 0.5634 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.7228, allocations: 0 / 0.5634 GB, free: 11.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7229, allocations: 318 kB / 0.5637 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.244e-05/0.723, allocations: 11.38 kB / 0.5637 GB, free: 11.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.871e-05/0.723, allocations: 14.88 kB / 0.5637 GB, free: 11.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.558e-05/0.7231, allocations: 15.3 kB / 0.5638 GB, free: 11.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.7231, allocations: 0 / 0.5638 GB, free: 11.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001767/0.7233, allocations: 75.78 kB / 0.5638 GB, free: 10.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.7233, allocations: 8 kB / 0.5638 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7234, allocations: 3.938 kB / 0.5638 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.7234, allocations: 3.953 kB / 0.5639 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.7236, allocations: 27.98 kB / 0.5639 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.7236, allocations: 3.938 kB / 0.5639 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.7238, allocations: 15.98 kB / 0.5639 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.7238, allocations: 0 / 0.5639 GB, free: 10.89 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 () * 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 7.442e-05/0.7239, allocations: 108.9 kB / 0.564 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.7239, allocations: 15.81 kB / 0.564 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.7242, allocations: 91.06 kB / 0.5641 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.7242, allocations: 7.953 kB / 0.5641 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.7242, allocations: 0 / 0.5641 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7243, allocations: 144 / 0.5641 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.7248, allocations: 380.4 kB / 0.5645 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7248, allocations: 4 kB / 0.5645 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.725, allocations: 23.98 kB / 0.5645 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.725, allocations: 7.891 kB / 0.5645 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.7251, allocations: 0 / 0.5645 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.7251, allocations: 4 kB / 0.5645 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7251, allocations: 0 / 0.5645 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.7253, allocations: 177.4 kB / 0.5647 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.7254, allocations: 96.75 kB / 0.5648 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.7255, allocations: 3.953 kB / 0.5648 GB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.7256, allocations: 15.98 kB / 0.5648 GB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.7257, allocations: 11.73 kB / 0.5648 GB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.7257, allocations: 0 / 0.5648 GB, free: 9.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002073/0.7259, allocations: 159.3 kB / 0.565 GB, free: 9.797 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.726, allocations: 0 / 0.565 GB, free: 9.797 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003325/0.7263, allocations: 27.94 kB / 0.565 GB, free: 9.77 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 () * 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.001084/0.7274, allocations: 372.7 kB / 0.5653 GB, free: 9.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.7276, allocations: 47.48 kB / 0.5654 GB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7276, allocations: 0 / 0.5654 GB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.7277, allocations: 23.06 kB / 0.5654 GB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.728, allocations: 14.36 kB / 0.5654 GB, free: 9.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.7286, allocations: 215.5 kB / 0.5656 GB, free: 9.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.7289, allocations: 0.7132 MB / 0.5663 GB, free: 8.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/0.729, allocations: 11.44 kB / 0.5663 GB, free: 8.438 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.729, allocations: 0 / 0.5663 GB, free: 8.438 MB / 378.7 MB Notification: Performance of Templates: time 0.004919/0.7339, allocations: 1.749 MB / 0.568 GB, free: 6.699 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches