Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009665/0.0009662, allocations: 181.1 kB / 17.41 MB, free: 4.281 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.49/1.49, allocations: 205.4 MB / 223.6 MB, free: 9.004 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.0007876/0.0007877, allocations: 80.95 kB / 271.9 MB, free: 8.254 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.3534/0.3534, allocations: 43.57 MB / 363.8 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003653, allocations: 12 kB / 432.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1136, allocations: 58.86 MB / 491.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2823/0.396, allocations: 87.27 MB / 0.5652 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.3962, allocations: 71.95 kB / 0.5652 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01034/0.4066, allocations: 4.221 MB / 0.5693 GB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4066, allocations: 7.828 kB / 0.5693 GB, free: 10.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.4066, allocations: 0 / 0.5693 GB, free: 10.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003997/0.407, allocations: 410.7 kB / 0.5697 GB, free: 10.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.4071, allocations: 8.031 kB / 0.5697 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.4071, allocations: 12.84 kB / 0.5698 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.4073, allocations: 200.7 kB / 0.57 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4073, allocations: 4.375 kB / 0.57 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.4074, allocations: 8.375 kB / 0.57 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4075, allocations: 69.73 kB / 0.57 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4076, allocations: 0 / 0.57 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.4076, allocations: 0 / 0.57 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4076, allocations: 4 kB / 0.57 GB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.4077, allocations: 43.97 kB / 0.5701 GB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.4081, allocations: 320.7 kB / 0.5704 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.4083, allocations: 62.44 kB / 0.5704 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.4084, allocations: 28.94 kB / 0.5705 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.4084, allocations: 0 / 0.5705 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.4084, allocations: 31.5 kB / 0.5705 GB, free: 9.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4084, allocations: 0 / 0.5705 GB, free: 9.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007506/0.4092, allocations: 269.4 kB / 0.5708 GB, free: 9.113 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.4092, allocations: 55.41 kB / 0.5708 GB, free: 9.047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.4094, allocations: 170.5 kB / 0.571 GB, free: 8.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.4094, allocations: 25.7 kB / 0.571 GB, free: 8.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.4094, allocations: 108 kB / 0.5711 GB, free: 8.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.4095, allocations: 23.66 kB / 0.5711 GB, free: 8.703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.4095, allocations: 0 / 0.5711 GB, free: 8.703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4096, allocations: 326.8 kB / 0.5714 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.4097, allocations: 43.97 kB / 0.5715 GB, free: 8.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.4098, allocations: 51.95 kB / 0.5715 GB, free: 8.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.4101, allocations: 105.4 kB / 0.5716 GB, free: 8.176 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4101, allocations: 0 / 0.5716 GB, free: 8.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002843/0.4104, allocations: 145.5 kB / 0.5718 GB, free: 8.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.4104, allocations: 4 kB / 0.5718 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.4104, allocations: 0 / 0.5718 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.4104, allocations: 0 / 0.5718 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4105, allocations: 27.97 kB / 0.5718 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4106, allocations: 1.375 kB / 0.5718 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.4106, allocations: 19.94 kB / 0.5718 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.4106, allocations: 4 kB / 0.5718 GB, free: 7.973 MB / 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 (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 8.707e-05/0.4107, allocations: 130.3 kB / 0.5719 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.4108, allocations: 7.906 kB / 0.5719 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.4111, allocations: 158.6 kB / 0.5721 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4111, allocations: 0 / 0.5721 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4111, allocations: 0 / 0.5721 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4112, allocations: 11.88 kB / 0.5721 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.4117, allocations: 434.4 kB / 0.5725 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4117, allocations: 0 / 0.5725 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.493e-05/0.4118, allocations: 23.98 kB / 0.5725 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4118, allocations: 0 / 0.5725 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.4118, allocations: 15.88 kB / 0.5726 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4118, allocations: 0 / 0.5726 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4118, allocations: 3.984 kB / 0.5726 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.4121, allocations: 239.2 kB / 0.5728 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.4122, allocations: 89 kB / 0.5729 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.4122, allocations: 3.938 kB / 0.5729 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4123, allocations: 23.98 kB / 0.5729 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.4124, allocations: 3.984 kB / 0.5729 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.4124, allocations: 4 kB / 0.5729 GB, free: 6.742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.282e-05/0.4125, allocations: 129.5 kB / 0.573 GB, free: 6.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4125, allocations: 0 / 0.573 GB, free: 6.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002306/0.4127, allocations: 31.92 kB / 0.5731 GB, free: 6.586 MB / 394.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 (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.0007777/0.4135, allocations: 407.7 kB / 0.5735 GB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.4138, allocations: 103.9 kB / 0.5736 GB, free: 6.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4138, allocations: 0 / 0.5736 GB, free: 6.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.4139, allocations: 59.91 kB / 0.5736 GB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.4142, allocations: 19.92 kB / 0.5736 GB, free: 6.105 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.4147, allocations: 281.1 kB / 0.5739 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.4149, allocations: 0.7004 MB / 0.5746 GB, free: 5.074 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.415, allocations: 15.44 kB / 0.5746 GB, free: 5.062 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.415, allocations: 0 / 0.5746 GB, free: 5.062 MB / 394.7 MB Notification: Performance of Templates: time 0.002913/0.4179, allocations: 1.73 MB / 0.5763 GB, free: 3.34 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches