Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.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.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002224/0.002224, allocations: 181.1 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.152/2.152, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001091/0.001091, allocations: 82.7 kB / 267.5 MB, free: 14.05 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.2964/0.2964, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.547e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.464/0.5808, allocations: 86.74 MB / 0.5575 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.5811, allocations: 80.19 kB / 0.5576 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01732/0.5984, allocations: 4.237 MB / 0.5617 GB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5985, allocations: 4 kB / 0.5617 GB, free: 13.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.5985, allocations: 4 kB / 0.5617 GB, free: 13.24 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.0005011/0.599, allocations: 384.2 kB / 0.5621 GB, free: 12.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5991, allocations: 8.031 kB / 0.5621 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.5992, allocations: 15.84 kB / 0.5621 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.5995, allocations: 207.3 kB / 0.5623 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.5995, allocations: 0 / 0.5623 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.5995, allocations: 8 kB / 0.5623 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.5997, allocations: 39.89 kB / 0.5624 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.5997, allocations: 7.188 kB / 0.5624 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.5997, allocations: 0 / 0.5624 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.5997, allocations: 3.984 kB / 0.5624 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/0.5998, allocations: 15.38 kB / 0.5624 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.6003, allocations: 305 kB / 0.5627 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.6004, allocations: 37.39 kB / 0.5627 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.201e-05/0.6005, allocations: 12.05 kB / 0.5627 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.6005, allocations: 0 / 0.5627 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.6005, allocations: 38.64 kB / 0.5628 GB, free: 12.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.6005, allocations: 0 / 0.5628 GB, free: 12.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006391/0.6012, allocations: 151.2 kB / 0.5629 GB, free: 11.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.6013, allocations: 51.41 kB / 0.563 GB, free: 11.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.6015, allocations: 180.2 kB / 0.5631 GB, free: 11.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.6016, allocations: 25.7 kB / 0.5631 GB, free: 11.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.6016, allocations: 161 kB / 0.5633 GB, free: 11.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.6017, allocations: 19.66 kB / 0.5633 GB, free: 11.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.6017, allocations: 3.625 kB / 0.5633 GB, free: 11.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6018, allocations: 318.8 kB / 0.5636 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.6019, allocations: 14.88 kB / 0.5636 GB, free: 11.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.936e-05/0.602, allocations: 23.62 kB / 0.5637 GB, free: 11.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.602, allocations: 14.88 kB / 0.5637 GB, free: 11.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.602, allocations: 0 / 0.5637 GB, free: 11.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001754/0.6022, allocations: 76.09 kB / 0.5638 GB, free: 11.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.6023, allocations: 8 kB / 0.5638 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6023, allocations: 0 / 0.5638 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.6023, allocations: 3.953 kB / 0.5638 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.6025, allocations: 31.98 kB / 0.5638 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6025, allocations: 0 / 0.5638 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.6027, allocations: 11.98 kB / 0.5638 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.6027, allocations: 7.25 kB / 0.5638 GB, free: 11.05 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 7.775e-05/0.6028, allocations: 104.9 kB / 0.5639 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.6028, allocations: 7.906 kB / 0.5639 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.6031, allocations: 99.84 kB / 0.564 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.6032, allocations: 3.953 kB / 0.564 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6032, allocations: 3.984 kB / 0.564 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6032, allocations: 0 / 0.564 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.6037, allocations: 369.7 kB / 0.5644 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6038, allocations: 0 / 0.5644 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.6039, allocations: 23.98 kB / 0.5644 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.604, allocations: 7.953 kB / 0.5644 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.604, allocations: 0 / 0.5644 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.604, allocations: 0 / 0.5644 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.604, allocations: 0 / 0.5644 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.6042, allocations: 179.6 kB / 0.5646 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.6043, allocations: 96.42 kB / 0.5647 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.6044, allocations: 7.953 kB / 0.5647 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.6045, allocations: 15.98 kB / 0.5647 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.6046, allocations: 7.984 kB / 0.5647 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.6046, allocations: 3.375 kB / 0.5647 GB, free: 10.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001796/0.6048, allocations: 140.1 kB / 0.5648 GB, free: 9.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6048, allocations: 0 / 0.5648 GB, free: 9.984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003296/0.6052, allocations: 27.25 kB / 0.5649 GB, free: 9.961 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.001066/0.6063, allocations: 373.7 kB / 0.5652 GB, free: 9.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.6065, allocations: 49.88 kB / 0.5653 GB, free: 9.613 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6065, allocations: 0 / 0.5653 GB, free: 9.613 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.279e-05/0.6066, allocations: 23 kB / 0.5653 GB, free: 9.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.6069, allocations: 15.61 kB / 0.5653 GB, free: 9.586 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.6074, allocations: 190.7 kB / 0.5655 GB, free: 9.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.6078, allocations: 0.7004 MB / 0.5662 GB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.113e-05/0.6079, allocations: 19.42 kB / 0.5662 GB, free: 8.641 MB / 378.7 MB Notification: Performance of SimCode: time 2.816e-06/0.6079, allocations: 4 kB / 0.5662 GB, free: 8.637 MB / 378.7 MB Notification: Performance of Templates: time 0.005165/0.6131, allocations: 1.692 MB / 0.5678 GB, free: 6.953 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches