Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008633/0.0008633, allocations: 181.5 kB / 17.41 MB, free: 4.164 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007706/0.0007707, allocations: 85.36 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2997/0.2997, allocations: 43.56 MB / 363.7 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.000413, allocations: 12 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1066, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2878/0.3945, allocations: 88.79 MB / 0.5666 GB, free: 13.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.3948, allocations: 81.2 kB / 0.5667 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0213/0.4161, allocations: 8.911 MB / 0.5754 GB, free: 4.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4162, allocations: 0 / 0.5754 GB, free: 4.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.715e-05/0.4162, allocations: 7.984 kB / 0.5754 GB, free: 4.66 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007016/0.4169, allocations: 0.6262 MB / 0.576 GB, free: 3.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.4169, allocations: 8.031 kB / 0.576 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.417, allocations: 36.47 kB / 0.5761 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.4175, allocations: 370 kB / 0.5764 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.4175, allocations: 8.375 kB / 0.5764 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.4175, allocations: 8.375 kB / 0.5764 GB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.4177, allocations: 105.3 kB / 0.5765 GB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4177, allocations: 192 / 0.5765 GB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.4178, allocations: 7.938 kB / 0.5765 GB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4178, allocations: 11.88 kB / 0.5766 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.4179, allocations: 75.95 kB / 0.5766 GB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.4185, allocations: 0.4964 MB / 0.5771 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.4187, allocations: 90.55 kB / 0.5772 GB, free: 2.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.035e-05/0.4188, allocations: 40.78 kB / 0.5772 GB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.4188, allocations: 11.97 kB / 0.5773 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.4189, allocations: 34.56 kB / 0.5773 GB, free: 2.582 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.4189, allocations: 0 / 0.5773 GB, free: 2.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008206/0.4197, allocations: 393.7 kB / 0.5777 GB, free: 2.191 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.4197, allocations: 55.41 kB / 0.5777 GB, free: 2.125 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.4203, allocations: 0.5253 MB / 0.5782 GB, free: 1.594 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.4203, allocations: 25.7 kB / 0.5783 GB, free: 1.562 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.4205, allocations: 212.3 kB / 0.5785 GB, free: 1.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.4205, allocations: 59.19 kB / 0.5785 GB, free: 1.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.4205, allocations: 0 / 0.5785 GB, free: 1.293 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.4206, allocations: 350.8 kB / 0.5788 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.4207, allocations: 55.88 kB / 0.5789 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.847e-05/0.4209, allocations: 59.97 kB / 0.579 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.4211, allocations: 126.6 kB / 0.5791 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4211, allocations: 0 / 0.5791 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003067/0.4214, allocations: 209 kB / 0.5793 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.4214, allocations: 7.938 kB / 0.5793 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4214, allocations: 0 / 0.5793 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4214, allocations: 7.984 kB / 0.5793 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.4216, allocations: 31.98 kB / 0.5793 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.4216, allocations: 3.938 kB / 0.5793 GB, free: 452 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/0.4217, allocations: 15.98 kB / 0.5793 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4217, allocations: 4 kB / 0.5793 GB, free: 432 kB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.000141/0.4218, allocations: 177.8 kB / 0.5795 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.4219, allocations: 43.47 kB / 0.5796 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.4224, allocations: 244.5 kB / 0.5798 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.4224, allocations: 8 kB / 0.5798 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4224, allocations: 0 / 0.5798 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4224, allocations: 0 / 0.5798 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007933/0.4232, allocations: 0.6855 MB / 0.5805 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4232, allocations: 0 / 0.5805 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4233, allocations: 31.98 kB / 0.5805 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4233, allocations: 0 / 0.5805 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.4233, allocations: 7.938 kB / 0.5805 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4233, allocations: 4 kB / 0.5805 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4234, allocations: 3.984 kB / 0.5805 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.4237, allocations: 306.8 kB / 0.5808 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.4238, allocations: 140.6 kB / 0.5809 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.4239, allocations: 4 kB / 0.5809 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.424, allocations: 15.98 kB / 0.581 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.424, allocations: 11.98 kB / 0.581 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.4241, allocations: 15.94 kB / 0.581 GB, free: 14.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003912/0.4245, allocations: 399.1 kB / 0.5814 GB, free: 14.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4245, allocations: 0 / 0.5814 GB, free: 14.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.4248, allocations: 67.94 kB / 0.5814 GB, free: 14.17 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001389/0.4262, allocations: 0.7154 MB / 0.5821 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.4265, allocations: 143.8 kB / 0.5823 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4265, allocations: 0 / 0.5823 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.4266, allocations: 71.91 kB / 0.5823 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.4271, allocations: 61.52 kB / 0.5824 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.4281, allocations: 0.7718 MB / 0.5831 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.4285, allocations: 0.8067 MB / 0.5839 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.672e-05/0.4286, allocations: 43.39 kB / 0.584 GB, free: 11.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/0.4286, allocations: 4 kB / 0.584 GB, free: 11.62 MB / 410.7 MB Notification: Performance of Templates: time 0.006152/0.4347, allocations: 4.663 MB / 0.5885 GB, free: 6.953 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches