Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 185.4 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.916/1.916, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001161/0.001161, allocations: 104.2 kB / 270.9 MB, free: 8.395 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.5404/0.5404, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004804, allocations: 16 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1299, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4632/0.5932, allocations: 87.21 MB / 0.5639 GB, free: 15.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.5935, allocations: 75.97 kB / 0.564 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01818/0.6117, allocations: 4.227 MB / 0.5681 GB, free: 11.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6117, allocations: 0 / 0.5681 GB, free: 11.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.6118, allocations: 0 / 0.5681 GB, free: 11.1 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.000664/0.6124, allocations: 418.5 kB / 0.5685 GB, free: 10.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.6125, allocations: 8.562 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.6126, allocations: 15.34 kB / 0.5685 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.6129, allocations: 197.3 kB / 0.5687 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.6129, allocations: 0 / 0.5687 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.6129, allocations: 4 kB / 0.5687 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.6132, allocations: 61.67 kB / 0.5688 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.6132, allocations: 0 / 0.5688 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.6133, allocations: 5.797 kB / 0.5688 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.6133, allocations: 0 / 0.5688 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.6135, allocations: 55.33 kB / 0.5688 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.6142, allocations: 324.7 kB / 0.5691 GB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.6144, allocations: 54.55 kB / 0.5692 GB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.6144, allocations: 0 / 0.5692 GB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.6145, allocations: 30.56 kB / 0.5692 GB, free: 9.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.6145, allocations: 7.938 kB / 0.5692 GB, free: 9.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001359/0.6159, allocations: 261.2 kB / 0.5695 GB, free: 9.531 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.6159, allocations: 55.41 kB / 0.5695 GB, free: 9.465 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.6162, allocations: 157.6 kB / 0.5697 GB, free: 9.301 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.6162, allocations: 25.7 kB / 0.5697 GB, free: 9.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.6163, allocations: 170.5 kB / 0.5699 GB, free: 9.102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.6164, allocations: 23.64 kB / 0.5699 GB, free: 9.078 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.6164, allocations: 0 / 0.5699 GB, free: 9.078 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6166, allocations: 318.8 kB / 0.5702 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.6168, allocations: 47.91 kB / 0.5702 GB, free: 8.711 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.6171, allocations: 48.03 kB / 0.5703 GB, free: 8.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.6173, allocations: 51.97 kB / 0.5703 GB, free: 8.613 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6173, allocations: 0 / 0.5703 GB, free: 8.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005516/0.6179, allocations: 134.4 kB / 0.5705 GB, free: 8.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.6179, allocations: 4 kB / 0.5705 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6179, allocations: 4 kB / 0.5705 GB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.618, allocations: 3.953 kB / 0.5705 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.6182, allocations: 19.98 kB / 0.5705 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.6182, allocations: 4 kB / 0.5705 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.6183, allocations: 11.98 kB / 0.5705 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.6184, allocations: 4 kB / 0.5705 GB, free: 8.426 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.0001399/0.6185, allocations: 133.8 kB / 0.5706 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.6186, allocations: 7.906 kB / 0.5706 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006568/0.6192, allocations: 159.8 kB / 0.5708 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6193, allocations: 0 / 0.5708 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.6193, allocations: 3.953 kB / 0.5708 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.6193, allocations: 0 / 0.5708 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009847/0.6203, allocations: 442.3 kB / 0.5712 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6203, allocations: 0 / 0.5712 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.6205, allocations: 27.98 kB / 0.5713 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.6205, allocations: 4 kB / 0.5713 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.6205, allocations: 4.984 kB / 0.5713 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.6206, allocations: 0 / 0.5713 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6206, allocations: 0 / 0.5713 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006321/0.6212, allocations: 243.3 kB / 0.5715 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/0.6213, allocations: 96.92 kB / 0.5716 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.6214, allocations: 4 kB / 0.5716 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.6215, allocations: 19.94 kB / 0.5716 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.6216, allocations: 4 kB / 0.5716 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.6216, allocations: 11.92 kB / 0.5716 GB, free: 7.188 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001825/0.6218, allocations: 133.5 kB / 0.5717 GB, free: 7.059 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6218, allocations: 0 / 0.5717 GB, free: 7.059 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003676/0.6222, allocations: 27.94 kB / 0.5718 GB, free: 7.031 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.001171/0.6234, allocations: 409.2 kB / 0.5722 GB, free: 6.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006281/0.624, allocations: 111.9 kB / 0.5723 GB, free: 6.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6241, allocations: 0 / 0.5723 GB, free: 6.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.6243, allocations: 55.97 kB / 0.5723 GB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.6246, allocations: 11.98 kB / 0.5723 GB, free: 6.547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.6253, allocations: 277 kB / 0.5726 GB, free: 6.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.6257, allocations: 0.7121 MB / 0.5733 GB, free: 5.512 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.6258, allocations: 19.42 kB / 0.5733 GB, free: 5.496 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6258, allocations: 0 / 0.5733 GB, free: 5.496 MB / 394.7 MB Notification: Performance of Templates: time 0.005093/0.6309, allocations: 1.734 MB / 0.575 GB, free: 3.766 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches