Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001467, 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 1.987/1.987, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001695/0.001695, allocations: 87.94 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.2991/0.2991, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.835e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3954, allocations: 58.85 MB / 477.1 MB, free: 5.25 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.5612, allocations: 86.43 MB / 0.5503 GB, free: 12.86 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.5615, allocations: 71.97 kB / 0.5504 GB, free: 12.79 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03023/0.5918, allocations: 7.808 MB / 0.558 GB, free: 4.965 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5919, allocations: 0 / 0.558 GB, free: 4.965 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.055e-05/0.5919, allocations: 8 kB / 0.558 GB, free: 4.957 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008455/0.5928, allocations: 0.5558 MB / 0.5586 GB, free: 4.355 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5928, allocations: 8.031 kB / 0.5586 GB, free: 4.348 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.593, allocations: 43.48 kB / 0.5586 GB, free: 4.305 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007549/0.5937, allocations: 327.3 kB / 0.5589 GB, free: 3.945 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.5938, allocations: 0 / 0.5589 GB, free: 3.945 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.5938, allocations: 8 kB / 0.5589 GB, free: 3.938 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001259/0.5939, allocations: 27.98 kB / 0.559 GB, free: 3.91 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.5941, allocations: 49.62 kB / 0.559 GB, free: 3.855 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5941, allocations: 0 / 0.559 GB, free: 3.855 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.5942, allocations: 0 / 0.559 GB, free: 3.855 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5942, allocations: 3.953 kB / 0.559 GB, free: 3.852 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009911/0.5952, allocations: 433.2 kB / 0.5594 GB, free: 3.391 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.5953, allocations: 38.58 kB / 0.5595 GB, free: 3.344 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.5954, allocations: 16.94 kB / 0.5595 GB, free: 3.324 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.5954, allocations: 0 / 0.5595 GB, free: 3.324 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.5955, allocations: 34.56 kB / 0.5595 GB, free: 3.281 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.502e-06/0.5955, allocations: 0 / 0.5595 GB, free: 3.281 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008087/0.5963, allocations: 240 kB / 0.5597 GB, free: 3.039 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.5964, allocations: 59.34 kB / 0.5598 GB, free: 2.969 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.5983, allocations: 0.7551 MB / 0.5605 GB, free: 2.203 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.5983, allocations: 25.7 kB / 0.5605 GB, free: 2.172 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.5985, allocations: 234.6 kB / 0.5608 GB, free: 1.941 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.5986, allocations: 15.72 kB / 0.5608 GB, free: 1.926 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.5986, allocations: 4 kB / 0.5608 GB, free: 1.922 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5988, allocations: 318.8 kB / 0.5611 GB, free: 1.602 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.832e-05/0.5988, allocations: 20 kB / 0.5611 GB, free: 1.582 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.733e-05/0.5989, allocations: 15.98 kB / 0.5611 GB, free: 1.566 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.986e-05/0.599, allocations: 23.94 kB / 0.5612 GB, free: 1.543 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.599, allocations: 3.984 kB / 0.5612 GB, free: 1.539 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002188/0.5992, allocations: 81.59 kB / 0.5612 GB, free: 1.453 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5993, allocations: 4 kB / 0.5612 GB, free: 1.449 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.5993, allocations: 0 / 0.5612 GB, free: 1.449 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.5993, allocations: 3.953 kB / 0.5612 GB, free: 1.445 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.5996, allocations: 27.98 kB / 0.5613 GB, free: 1.418 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5996, allocations: 0 / 0.5613 GB, free: 1.418 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.5998, allocations: 15.92 kB / 0.5613 GB, free: 1.402 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.5998, allocations: 4 kB / 0.5613 GB, free: 1.398 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 (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 9.055e-05/0.5999, allocations: 101 kB / 0.5614 GB, free: 1.293 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.6001, allocations: 47.44 kB / 0.5614 GB, free: 1.246 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.6005, allocations: 149.5 kB / 0.5616 GB, free: 1.094 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6005, allocations: 3.953 kB / 0.5616 GB, free: 1.09 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6005, allocations: 0 / 0.5616 GB, free: 1.09 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.6005, allocations: 0 / 0.5616 GB, free: 1.09 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.6018, allocations: 0.5697 MB / 0.5621 GB, free: 488 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.6018, allocations: 0 / 0.5621 GB, free: 488 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.602, allocations: 31.92 kB / 0.5622 GB, free: 456 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.602, allocations: 0 / 0.5622 GB, free: 456 kB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.6021, allocations: 3.953 kB / 0.5622 GB, free: 452 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.6021, allocations: 0 / 0.5622 GB, free: 452 kB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6021, allocations: 80 / 0.5622 GB, free: 452 kB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.6024, allocations: 218.9 kB / 0.5624 GB, free: 216 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.6028, allocations: 160.6 kB / 0.5625 GB, free: 36 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.6028, allocations: 4 kB / 0.5625 GB, free: 32 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.603, allocations: 19.94 kB / 0.5626 GB, free: 12 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.6031, allocations: 7.984 kB / 0.5626 GB, free: 4 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.6031, allocations: 0 / 0.5626 GB, free: 4 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001113/0.6043, allocations: 0.6122 MB / 0.5632 GB, free: 15.39 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6043, allocations: 0 / 0.5632 GB, free: 15.39 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.000487/0.6048, allocations: 56 kB / 0.5632 GB, free: 15.34 MB / 411.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 (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.001008/0.6058, allocations: 337.8 kB / 0.5635 GB, free: 15.05 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.6061, allocations: 55.97 kB / 0.5636 GB, free: 14.99 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.6061, allocations: 0 / 0.5636 GB, free: 14.99 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.6062, allocations: 31.94 kB / 0.5636 GB, free: 14.96 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.6067, allocations: 33.36 kB / 0.5636 GB, free: 14.93 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.6087, allocations: 0.7784 MB / 0.5644 GB, free: 14.12 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/0.6093, allocations: 0.838 MB / 0.5652 GB, free: 13.26 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.6095, allocations: 23.44 kB / 0.5652 GB, free: 13.23 MB / 411.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6095, allocations: 0 / 0.5652 GB, free: 13.23 MB / 411.1 MB Notification: Performance of Templates: time 0.01325/0.6227, allocations: 4.42 MB / 0.5696 GB, free: 8.805 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches