Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.001484, allocations: 178.3 kB / 8.359 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 2.02/2.02, 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.00109/0.00109, allocations: 90.09 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.2956/0.2956, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.282e-05, allocations: 4.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4021, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.5596, allocations: 85.88 MB / 0.5498 GB, free: 13.42 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.56, allocations: 79.94 kB / 0.5498 GB, free: 13.34 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01693/0.5769, allocations: 3.984 MB / 0.5537 GB, free: 9.359 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.577, allocations: 0 / 0.5537 GB, free: 9.359 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.577, allocations: 4 kB / 0.5537 GB, free: 9.355 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004546/0.5775, allocations: 366.3 kB / 0.5541 GB, free: 8.953 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5775, allocations: 12.03 kB / 0.5541 GB, free: 8.941 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.5776, allocations: 7.906 kB / 0.5541 GB, free: 8.934 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.5779, allocations: 190.9 kB / 0.5543 GB, free: 8.707 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.5779, allocations: 0 / 0.5543 GB, free: 8.707 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.5779, allocations: 4 kB / 0.5543 GB, free: 8.703 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.368e-05/0.578, allocations: 12 kB / 0.5543 GB, free: 8.691 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.5782, allocations: 59.34 kB / 0.5544 GB, free: 8.621 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5782, allocations: 0 / 0.5544 GB, free: 8.621 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5782, allocations: 0 / 0.5544 GB, free: 8.621 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5782, allocations: 4 kB / 0.5544 GB, free: 8.617 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.5786, allocations: 249.4 kB / 0.5546 GB, free: 8.336 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.5788, allocations: 30.58 kB / 0.5546 GB, free: 8.297 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/0.5789, allocations: 16.8 kB / 0.5546 GB, free: 8.277 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.5789, allocations: 4 kB / 0.5547 GB, free: 8.273 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.579, allocations: 34.56 kB / 0.5547 GB, free: 8.23 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.579, allocations: 0 / 0.5547 GB, free: 8.23 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.000495/0.5795, allocations: 101.4 kB / 0.5548 GB, free: 8.125 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.5796, allocations: 77.11 kB / 0.5549 GB, free: 8.031 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.5797, allocations: 124.9 kB / 0.555 GB, free: 7.902 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.5798, allocations: 25.7 kB / 0.555 GB, free: 7.871 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.274e-05/0.5798, allocations: 162.5 kB / 0.5552 GB, free: 7.711 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.5799, allocations: 19.75 kB / 0.5552 GB, free: 7.691 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.5799, allocations: 0 / 0.5552 GB, free: 7.691 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.58, allocations: 319 kB / 0.5555 GB, free: 7.371 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.197e-05/0.5801, allocations: 8 kB / 0.5555 GB, free: 7.363 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.5801, allocations: 21.72 kB / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.5802, allocations: 8 kB / 0.5555 GB, free: 7.328 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5802, allocations: 0 / 0.5555 GB, free: 7.328 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001321/0.5803, allocations: 61.88 kB / 0.5556 GB, free: 7.262 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5804, allocations: 8.031 kB / 0.5556 GB, free: 7.254 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.5804, allocations: 0 / 0.5556 GB, free: 7.254 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.5804, allocations: 0 / 0.5556 GB, free: 7.254 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.5806, allocations: 19.92 kB / 0.5556 GB, free: 7.234 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.5806, allocations: 0 / 0.5556 GB, free: 7.234 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.5807, allocations: 4 kB / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.5807, allocations: 4 kB / 0.5556 GB, free: 7.227 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 (5): * Single equations (assignments): 5 * 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.432e-05/0.5808, allocations: 104.9 kB / 0.5557 GB, free: 7.117 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.5808, allocations: 11.91 kB / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.581, allocations: 70.08 kB / 0.5558 GB, free: 7.031 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5811, allocations: 144 / 0.5558 GB, free: 7.031 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5811, allocations: 0 / 0.5558 GB, free: 7.031 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.5811, allocations: 3.984 kB / 0.5558 GB, free: 7.027 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.5815, allocations: 303 kB / 0.5561 GB, free: 6.688 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5815, allocations: 0 / 0.5561 GB, free: 6.688 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.5817, allocations: 19.98 kB / 0.5561 GB, free: 6.668 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5817, allocations: 0 / 0.5561 GB, free: 6.668 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.5817, allocations: 4 kB / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5817, allocations: 0 / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5817, allocations: 0 / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.5819, allocations: 159.5 kB / 0.5563 GB, free: 6.492 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.582, allocations: 81.02 kB / 0.5563 GB, free: 6.395 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.582, allocations: 8.188 kB / 0.5563 GB, free: 6.387 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.5821, allocations: 11.98 kB / 0.5563 GB, free: 6.375 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.5822, allocations: 4 kB / 0.5564 GB, free: 6.371 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.5822, allocations: 4 kB / 0.5564 GB, free: 6.367 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.5823, allocations: 107.3 kB / 0.5565 GB, free: 6.262 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5823, allocations: 3.938 kB / 0.5565 GB, free: 6.258 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.00035/0.5827, allocations: 20 kB / 0.5565 GB, free: 6.238 MB / 395.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 (5): * Single equations (assignments): 5 * 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.001152/0.5839, allocations: 384.3 kB / 0.5568 GB, free: 5.902 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.584, allocations: 24 kB / 0.5569 GB, free: 5.879 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5841, allocations: 3.938 kB / 0.5569 GB, free: 5.875 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.18e-05/0.5841, allocations: 16 kB / 0.5569 GB, free: 5.859 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.5844, allocations: 23.8 kB / 0.5569 GB, free: 5.836 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.5848, allocations: 113.8 kB / 0.557 GB, free: 5.691 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.5851, allocations: 0.6962 MB / 0.5577 GB, free: 4.969 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.5852, allocations: 11.44 kB / 0.5577 GB, free: 4.957 MB / 395.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5852, allocations: 0 / 0.5577 GB, free: 4.957 MB / 395.1 MB Notification: Performance of Templates: time 0.004741/0.59, allocations: 1.569 MB / 0.5592 GB, free: 3.391 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches