Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001475, allocations: 182.4 kB / 13.66 MB, free: 1.656 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.005/2.005, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001117/0.001116, allocations: 94.62 kB / 267.5 MB, free: 14.11 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.2789/0.2789, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.697e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1248, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4879/0.6127, allocations: 87.39 MB / 0.5581 GB, free: 220 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.6131, allocations: 72.66 kB / 0.5582 GB, free: 184 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01792/0.631, allocations: 4.402 MB / 0.5625 GB, free: 12.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6311, allocations: 4 kB / 0.5625 GB, free: 12.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.6311, allocations: 4 kB / 0.5625 GB, free: 12.67 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.0005/0.6316, allocations: 382 kB / 0.5629 GB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.6317, allocations: 12.03 kB / 0.5629 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.6318, allocations: 11.8 kB / 0.5629 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.6321, allocations: 190.7 kB / 0.5631 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.6321, allocations: 4 kB / 0.5631 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.6321, allocations: 8 kB / 0.5631 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.6323, allocations: 66.94 kB / 0.5632 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.6323, allocations: 0 / 0.5632 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.6324, allocations: 0 / 0.5632 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.6324, allocations: 0 / 0.5632 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.6325, allocations: 42.94 kB / 0.5632 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.6331, allocations: 312.2 kB / 0.5635 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.6332, allocations: 38.12 kB / 0.5635 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.6333, allocations: 16.36 kB / 0.5635 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.6333, allocations: 3.938 kB / 0.5636 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.6334, allocations: 38.44 kB / 0.5636 GB, free: 11.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/0.6334, allocations: 4 kB / 0.5636 GB, free: 11.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006814/0.6341, allocations: 152.2 kB / 0.5637 GB, free: 11.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.6342, allocations: 81.09 kB / 0.5638 GB, free: 11.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.6343, allocations: 132.1 kB / 0.5639 GB, free: 11.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.6344, allocations: 29.33 kB / 0.564 GB, free: 11.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.6345, allocations: 166 kB / 0.5641 GB, free: 10.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.6345, allocations: 23.28 kB / 0.5641 GB, free: 10.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.6345, allocations: 0 / 0.5641 GB, free: 10.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6347, allocations: 322.1 kB / 0.5645 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.6347, allocations: 15.31 kB / 0.5645 GB, free: 10.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/0.6348, allocations: 37.02 kB / 0.5645 GB, free: 10.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.332e-05/0.6349, allocations: 27.39 kB / 0.5645 GB, free: 10.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6349, allocations: 0 / 0.5645 GB, free: 10.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001981/0.6351, allocations: 80.44 kB / 0.5646 GB, free: 10.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.6352, allocations: 8.031 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.6352, allocations: 4 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.6352, allocations: 3.953 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.6354, allocations: 23.97 kB / 0.5646 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.6354, allocations: 4 kB / 0.5647 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.6356, allocations: 11.38 kB / 0.5647 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.6356, allocations: 8 kB / 0.5647 GB, free: 10.38 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 8.217e-05/0.6357, allocations: 108.9 kB / 0.5648 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.6358, allocations: 7.906 kB / 0.5648 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.636, allocations: 103.7 kB / 0.5649 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.6361, allocations: 3.953 kB / 0.5649 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.6361, allocations: 3.984 kB / 0.5649 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6361, allocations: 0 / 0.5649 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.6367, allocations: 377.5 kB / 0.5652 GB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6367, allocations: 3.938 kB / 0.5653 GB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.6369, allocations: 27.92 kB / 0.5653 GB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.6369, allocations: 3.953 kB / 0.5653 GB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.6369, allocations: 3.984 kB / 0.5653 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.6369, allocations: 0 / 0.5653 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6369, allocations: 0 / 0.5653 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.6372, allocations: 187.1 kB / 0.5655 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.6373, allocations: 89 kB / 0.5655 GB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.6373, allocations: 6.828 kB / 0.5656 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.6375, allocations: 15.98 kB / 0.5656 GB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.6376, allocations: 7.984 kB / 0.5656 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.6376, allocations: 0 / 0.5656 GB, free: 9.438 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.6377, allocations: 114.1 kB / 0.5657 GB, free: 9.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6377, allocations: 4 kB / 0.5657 GB, free: 9.336 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003611/0.6381, allocations: 27.31 kB / 0.5657 GB, free: 9.312 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.001172/0.6393, allocations: 413.4 kB / 0.5661 GB, free: 8.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.6395, allocations: 51.86 kB / 0.5662 GB, free: 8.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6396, allocations: 4 kB / 0.5662 GB, free: 8.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.6397, allocations: 36.36 kB / 0.5662 GB, free: 8.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.64, allocations: 15.69 kB / 0.5662 GB, free: 8.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.6404, allocations: 164.4 kB / 0.5664 GB, free: 8.711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.6408, allocations: 0.7031 MB / 0.5671 GB, free: 7.984 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-05/0.6409, allocations: 19.42 kB / 0.5671 GB, free: 7.965 MB / 378.7 MB Notification: Performance of SimCode: time 9.31e-07/0.6409, allocations: 0 / 0.5671 GB, free: 7.965 MB / 378.7 MB Notification: Performance of Templates: time 0.005305/0.6462, allocations: 1.864 MB / 0.5689 GB, free: 6.109 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches