Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.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.CombiTable1D.Test30,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.CombiTable1D.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,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.CombiTable1D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.097/2.097, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001084/0.001084, allocations: 86.7 kB / 267.5 MB, free: 14.04 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.2861/0.2861, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.082e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.5953, allocations: 86.4 MB / 0.5572 GB, free: 1.188 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.5956, allocations: 73.89 kB / 0.5572 GB, free: 1.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01694/0.6126, allocations: 3.929 MB / 0.5611 GB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6127, allocations: 0 / 0.5611 GB, free: 13.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.6127, allocations: 8 kB / 0.5611 GB, free: 13.78 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004911/0.6132, allocations: 384.1 kB / 0.5615 GB, free: 13.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.6133, allocations: 8.031 kB / 0.5615 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.6133, allocations: 7.906 kB / 0.5615 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.6137, allocations: 215.2 kB / 0.5617 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.6137, allocations: 0 / 0.5617 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.6137, allocations: 0 / 0.5617 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.6139, allocations: 44.59 kB / 0.5617 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.6139, allocations: 7.938 kB / 0.5617 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.6139, allocations: 4 kB / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6139, allocations: 0 / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.272e-05/0.614, allocations: 15.36 kB / 0.5617 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.6146, allocations: 297.4 kB / 0.562 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.6149, allocations: 45.27 kB / 0.5621 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.6149, allocations: 8.859 kB / 0.5621 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.615, allocations: 4.094 kB / 0.5621 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.615, allocations: 42.23 kB / 0.5621 GB, free: 12.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.455e-06/0.615, allocations: 0 / 0.5621 GB, free: 12.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005622/0.6156, allocations: 110.8 kB / 0.5622 GB, free: 12.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.6157, allocations: 63.36 kB / 0.5623 GB, free: 12.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.6159, allocations: 180.9 kB / 0.5625 GB, free: 12.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.616, allocations: 29.7 kB / 0.5625 GB, free: 12.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.6161, allocations: 169 kB / 0.5627 GB, free: 12.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.6161, allocations: 19.12 kB / 0.5627 GB, free: 12.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.6161, allocations: 0 / 0.5627 GB, free: 12.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6163, allocations: 310.8 kB / 0.563 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.65e-05/0.6163, allocations: 11.75 kB / 0.563 GB, free: 11.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.818e-05/0.6164, allocations: 15.48 kB / 0.563 GB, free: 11.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.558e-05/0.6165, allocations: 19.31 kB / 0.563 GB, free: 11.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6165, allocations: 0 / 0.563 GB, free: 11.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001686/0.6167, allocations: 59.44 kB / 0.5631 GB, free: 11.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6167, allocations: 4 kB / 0.5631 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6167, allocations: 3.938 kB / 0.5631 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.6168, allocations: 0 / 0.5631 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.6169, allocations: 15.98 kB / 0.5631 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6169, allocations: 0 / 0.5631 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.6171, allocations: 23.88 kB / 0.5631 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.6171, allocations: 0 / 0.5631 GB, free: 11.62 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 (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 7.923e-05/0.6172, allocations: 102.5 kB / 0.5632 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.77e-05/0.6172, allocations: 19.19 kB / 0.5632 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.6175, allocations: 79.83 kB / 0.5633 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.6175, allocations: 0 / 0.5633 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6175, allocations: 7.938 kB / 0.5633 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6176, allocations: 0 / 0.5633 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.6181, allocations: 361.1 kB / 0.5637 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6181, allocations: 0 / 0.5637 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.6183, allocations: 12 kB / 0.5637 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.6183, allocations: 0 / 0.5637 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.6183, allocations: 4 kB / 0.5637 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.6183, allocations: 0 / 0.5637 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.6183, allocations: 7.938 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.6185, allocations: 169.6 kB / 0.5638 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/0.6186, allocations: 92.89 kB / 0.5639 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.6187, allocations: 3.984 kB / 0.5639 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.6188, allocations: 8 kB / 0.5639 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.6189, allocations: 144 / 0.5639 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.6189, allocations: 11.94 kB / 0.564 GB, free: 10.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001995/0.6191, allocations: 156.9 kB / 0.5641 GB, free: 10.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6191, allocations: 0 / 0.5641 GB, free: 10.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003307/0.6194, allocations: 14.94 kB / 0.5641 GB, free: 10.58 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 (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.001123/0.6206, allocations: 375.7 kB / 0.5645 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.6208, allocations: 34.94 kB / 0.5645 GB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6208, allocations: 4 kB / 0.5645 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.868e-05/0.6209, allocations: 15.94 kB / 0.5645 GB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.6212, allocations: 13.8 kB / 0.5645 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.6218, allocations: 202 kB / 0.5647 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.6221, allocations: 0.7151 MB / 0.5654 GB, free: 9.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.6222, allocations: 15.42 kB / 0.5654 GB, free: 9.254 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6222, allocations: 4 kB / 0.5654 GB, free: 9.25 MB / 378.7 MB Notification: Performance of Templates: time 0.004897/0.6271, allocations: 1.565 MB / 0.567 GB, free: 7.691 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches