Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002421/0.002421, allocations: 180.3 kB / 13.66 MB, free: 1.66 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.096/2.096, 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.001095/0.001095, allocations: 82.64 kB / 267.5 MB, free: 14.12 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.2882/0.2882, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.049e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1172, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.5844, allocations: 86.25 MB / 0.557 GB, free: 1.348 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.5847, allocations: 81.09 kB / 0.5571 GB, free: 1.305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01443/0.5991, allocations: 3.599 MB / 0.5606 GB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5992, allocations: 4 kB / 0.5606 GB, free: 14.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.956e-05/0.5992, allocations: 0 / 0.5606 GB, free: 14.25 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.000426/0.5997, allocations: 375.7 kB / 0.561 GB, free: 13.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5997, allocations: 8.031 kB / 0.561 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.5998, allocations: 7.906 kB / 0.561 GB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.6001, allocations: 199.5 kB / 0.5612 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.6001, allocations: 0 / 0.5612 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.6001, allocations: 7.938 kB / 0.5612 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.6003, allocations: 48.95 kB / 0.5612 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6003, allocations: 0 / 0.5612 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.6003, allocations: 0 / 0.5612 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6003, allocations: 0 / 0.5612 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.39e-05/0.6004, allocations: 15.36 kB / 0.5613 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.6008, allocations: 278.9 kB / 0.5615 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.601, allocations: 38.45 kB / 0.5616 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.6011, allocations: 8.859 kB / 0.5616 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.6011, allocations: 7.188 kB / 0.5616 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.6011, allocations: 34.56 kB / 0.5616 GB, free: 13.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.744e-06/0.6012, allocations: 0 / 0.5616 GB, free: 13.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004833/0.6016, allocations: 111.4 kB / 0.5617 GB, free: 13.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.6017, allocations: 51.41 kB / 0.5618 GB, free: 12.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.6019, allocations: 149.8 kB / 0.5619 GB, free: 12.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.6019, allocations: 28.45 kB / 0.5619 GB, free: 12.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.602, allocations: 160.2 kB / 0.5621 GB, free: 12.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.6021, allocations: 18.72 kB / 0.5621 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.6021, allocations: 3.938 kB / 0.5621 GB, free: 12.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6022, allocations: 314.8 kB / 0.5624 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.6023, allocations: 11.5 kB / 0.5624 GB, free: 12.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/0.6023, allocations: 7.375 kB / 0.5624 GB, free: 12.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.027e-05/0.6023, allocations: 14.94 kB / 0.5624 GB, free: 12.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.6024, allocations: 0 / 0.5624 GB, free: 12.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001432/0.6025, allocations: 59.12 kB / 0.5625 GB, free: 12.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.6025, allocations: 8 kB / 0.5625 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6026, allocations: 0 / 0.5625 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.6026, allocations: 3.953 kB / 0.5625 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.6027, allocations: 12.25 kB / 0.5625 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.6027, allocations: 3.984 kB / 0.5625 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.6028, allocations: 12 kB / 0.5625 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.6029, allocations: 4 kB / 0.5625 GB, free: 12.18 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 6.997e-05/0.6029, allocations: 106.4 kB / 0.5626 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.603, allocations: 7.906 kB / 0.5626 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.6032, allocations: 79.88 kB / 0.5627 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6032, allocations: 7.953 kB / 0.5627 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6032, allocations: 0 / 0.5627 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.6033, allocations: 0 / 0.5627 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.6037, allocations: 326.7 kB / 0.563 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6037, allocations: 4 kB / 0.563 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.6039, allocations: 15.92 kB / 0.5631 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.6039, allocations: 7.953 kB / 0.5631 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.6039, allocations: 0 / 0.5631 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6039, allocations: 3.938 kB / 0.5631 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.6039, allocations: 4.125 kB / 0.5631 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.6041, allocations: 167.1 kB / 0.5632 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.6042, allocations: 91.94 kB / 0.5633 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.6042, allocations: 3.953 kB / 0.5633 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.6043, allocations: 4 kB / 0.5633 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.6044, allocations: 7.984 kB / 0.5633 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.6044, allocations: 0 / 0.5633 GB, free: 11.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.6046, allocations: 122.7 kB / 0.5635 GB, free: 11.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.6046, allocations: 4 kB / 0.5635 GB, free: 11.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.6049, allocations: 27.44 kB / 0.5635 GB, free: 11.18 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.001053/0.606, allocations: 359 kB / 0.5638 GB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.6061, allocations: 35.12 kB / 0.5639 GB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6062, allocations: 0 / 0.5639 GB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.153e-05/0.6062, allocations: 19.5 kB / 0.5639 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.6065, allocations: 21.17 kB / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.607, allocations: 153.6 kB / 0.564 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.6073, allocations: 0.7016 MB / 0.5647 GB, free: 9.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.6074, allocations: 11.44 kB / 0.5647 GB, free: 9.922 MB / 378.7 MB Notification: Performance of SimCode: time 2.936e-06/0.6074, allocations: 0 / 0.5647 GB, free: 9.922 MB / 378.7 MB Notification: Performance of Templates: time 0.004293/0.6117, allocations: 1.443 MB / 0.5661 GB, free: 8.484 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches