Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001261, allocations: 113.4 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 201.9 kB / 18.77 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 242.5 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2006/0.2006, allocations: 44.17 MB / 336.8 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.02 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.09418, allocations: 60.82 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003041/0.09726, allocations: 1.7 MB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007309/0.09801, allocations: 423.1 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.09809, allocations: 4 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.09831, allocations: 55.86 kB / 471.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.0985, allocations: 35.91 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.09884, allocations: 126.8 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.09898, allocations: 71.77 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.09909, allocations: 23.97 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.805e-05/0.09915, allocations: 27.86 kB / 471.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.09926, allocations: 51.81 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.09928, allocations: 7.938 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.09939, allocations: 43.98 kB / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.09946, allocations: 19.92 kB / 471.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.0995, allocations: 23.81 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.09965, allocations: 79.88 kB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.09966, allocations: 0 / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.09967, allocations: 3.938 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.09968, allocations: 0 / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004725/0.1002, allocations: 415.3 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1002, allocations: 8.031 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.1002, allocations: 8.844 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1004, allocations: 203.4 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1004, allocations: 4.375 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.1005, allocations: 11.94 kB / 472.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1007, allocations: 57.67 kB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1007, allocations: 3.938 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.1007, allocations: 0 / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1007, allocations: 4 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.1009, allocations: 43.91 kB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.1012, allocations: 300.7 kB / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.1015, allocations: 58.59 kB / 472.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.1016, allocations: 24.97 kB / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1016, allocations: 3.984 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.1016, allocations: 34.56 kB / 473 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1016, allocations: 0 / 473 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00164/0.1033, allocations: 389 kB / 473.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.1033, allocations: 51.41 kB / 473.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1035, allocations: 182.1 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1035, allocations: 29.7 kB / 473.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.1036, allocations: 108 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.1036, allocations: 31.55 kB / 473.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.1037, allocations: 21.72 kB / 473.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.1038, allocations: 326.8 kB / 474.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1039, allocations: 47.91 kB / 474.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.104, allocations: 43.95 kB / 474.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.1043, allocations: 92.81 kB / 474.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1043, allocations: 8 kB / 474.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003116/0.1046, allocations: 137.4 kB / 474.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1046, allocations: 8 kB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1046, allocations: 3.938 kB / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1047, allocations: 0 / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1048, allocations: 31.91 kB / 474.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1048, allocations: 0 / 474.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.307e-05/0.1049, allocations: 19.98 kB / 474.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1049, allocations: 0 / 474.5 MB, free: 9.258 MB / 350.1 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.083e-05/0.105, allocations: 126.4 kB / 474.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.105, allocations: 7.906 kB / 474.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.1054, allocations: 166.1 kB / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1054, allocations: 4 kB / 474.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1054, allocations: 0 / 474.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1054, allocations: 0 / 474.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006285/0.106, allocations: 476.3 kB / 475.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1061, allocations: 8 kB / 475.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.864e-05/0.1062, allocations: 31.97 kB / 475.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1062, allocations: 4 kB / 475.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1062, allocations: 3.984 kB / 475.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1062, allocations: 0 / 475.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1062, allocations: 4 kB / 475.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.1065, allocations: 253.5 kB / 475.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.1066, allocations: 89 kB / 475.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1066, allocations: 0 / 475.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.1067, allocations: 15.98 kB / 475.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.1068, allocations: 7.984 kB / 475.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1068, allocations: 4 kB / 475.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.1069, allocations: 143.2 kB / 475.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1069, allocations: 0 / 475.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1072, allocations: 31.89 kB / 475.9 MB, free: 7.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001/0.1082, allocations: 458.1 kB / 476.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.1085, allocations: 107.8 kB / 476.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1085, allocations: 0 / 476.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.1087, allocations: 59.91 kB / 476.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1091, allocations: 21.94 kB / 476.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.1096, allocations: 323.3 kB / 476.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1099, allocations: 0.7082 MB / 477.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.1099, allocations: 19.42 kB / 477.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1099, allocations: 0 / 477.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of Templates: time 0.003667/0.1136, allocations: 1.871 MB / 479.4 MB, free: 4.371 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches