Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008977/0.0008977, allocations: 181.7 kB / 17.41 MB, free: 4.383 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.283/1.283, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007547/0.0007548, allocations: 84.75 kB / 271.9 MB, free: 8.254 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.3056/0.3056, allocations: 43.57 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.0004231, allocations: 19.92 kB / 432.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1058, allocations: 58.85 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2905/0.3964, allocations: 87.13 MB / 0.565 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.3967, allocations: 79.95 kB / 0.5651 GB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01118/0.4079, allocations: 4.485 MB / 0.5695 GB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.408, allocations: 0 / 0.5695 GB, free: 10.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.408, allocations: 0 / 0.5695 GB, free: 10.75 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.000526/0.4085, allocations: 394.7 kB / 0.5698 GB, free: 10.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4086, allocations: 16.02 kB / 0.5699 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.4086, allocations: 4.844 kB / 0.5699 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.4089, allocations: 196.9 kB / 0.5701 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.4089, allocations: 4.375 kB / 0.5701 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.4089, allocations: 8.375 kB / 0.5701 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.4091, allocations: 75.89 kB / 0.5701 GB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4091, allocations: 1.406 kB / 0.5701 GB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.4091, allocations: 3.938 kB / 0.5701 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4091, allocations: 0 / 0.5701 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.4093, allocations: 47.97 kB / 0.5702 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.4097, allocations: 284.8 kB / 0.5705 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.4099, allocations: 50.5 kB / 0.5705 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.41, allocations: 28.94 kB / 0.5705 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.41, allocations: 0 / 0.5705 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.41, allocations: 34.86 kB / 0.5706 GB, free: 9.457 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.41, allocations: 0 / 0.5706 GB, free: 9.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008181/0.4109, allocations: 245.5 kB / 0.5708 GB, free: 9.211 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.411, allocations: 77.11 kB / 0.5709 GB, free: 9.117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.4111, allocations: 144.5 kB / 0.571 GB, free: 8.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.4112, allocations: 28.42 kB / 0.571 GB, free: 8.934 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.4112, allocations: 96.05 kB / 0.5711 GB, free: 8.836 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.4112, allocations: 27.64 kB / 0.5712 GB, free: 8.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.4113, allocations: 0 / 0.5712 GB, free: 8.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4114, allocations: 322.8 kB / 0.5715 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.4115, allocations: 43.91 kB / 0.5715 GB, free: 8.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.4117, allocations: 53.69 kB / 0.5716 GB, free: 8.383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.4119, allocations: 96.77 kB / 0.5717 GB, free: 8.285 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4119, allocations: 0 / 0.5717 GB, free: 8.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002916/0.4122, allocations: 126.3 kB / 0.5718 GB, free: 8.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4122, allocations: 7.984 kB / 0.5718 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4122, allocations: 7.984 kB / 0.5718 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4123, allocations: 0 / 0.5718 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.4124, allocations: 23.98 kB / 0.5718 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4125, allocations: 0 / 0.5718 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.4125, allocations: 19.98 kB / 0.5718 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.4125, allocations: 0 / 0.5718 GB, free: 8.098 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.0001227/0.4127, allocations: 129.7 kB / 0.572 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.4127, allocations: 7.906 kB / 0.572 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.4131, allocations: 138.6 kB / 0.5721 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4131, allocations: 8 kB / 0.5721 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4131, allocations: 0 / 0.5721 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4131, allocations: 0 / 0.5721 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006236/0.4137, allocations: 414.4 kB / 0.5725 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4138, allocations: 0 / 0.5725 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.4138, allocations: 23.98 kB / 0.5725 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/0.4139, allocations: 4 kB / 0.5725 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.4139, allocations: 0 / 0.5725 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.4139, allocations: 0 / 0.5725 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4139, allocations: 4.781 kB / 0.5725 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.4143, allocations: 227.3 kB / 0.5727 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.4143, allocations: 89 kB / 0.5728 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.4143, allocations: 0 / 0.5728 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.676e-05/0.4144, allocations: 23.98 kB / 0.5729 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.4145, allocations: 7.922 kB / 0.5729 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.4145, allocations: 4 kB / 0.5729 GB, free: 6.934 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.947e-05/0.4146, allocations: 110.6 kB / 0.573 GB, free: 6.828 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4146, allocations: 0 / 0.573 GB, free: 6.828 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.4149, allocations: 47.8 kB / 0.573 GB, free: 6.781 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.0008961/0.4158, allocations: 445.4 kB / 0.5734 GB, free: 6.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.4161, allocations: 99.88 kB / 0.5735 GB, free: 6.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4161, allocations: 0 / 0.5735 GB, free: 6.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.4162, allocations: 47.95 kB / 0.5736 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.4165, allocations: 12 kB / 0.5736 GB, free: 6.281 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.4169, allocations: 229.5 kB / 0.5738 GB, free: 6.027 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.4172, allocations: 0.6926 MB / 0.5745 GB, free: 5.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.4172, allocations: 23.42 kB / 0.5745 GB, free: 5.285 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4172, allocations: 0 / 0.5745 GB, free: 5.285 MB / 394.7 MB Notification: Performance of Templates: time 0.00307/0.4203, allocations: 1.747 MB / 0.5762 GB, free: 3.543 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches