Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008539/0.000854, allocations: 177.8 kB / 16.72 MB, free: 4.961 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.209/1.209, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007231/0.0007231, allocations: 89.41 kB / 271.2 MB, free: 8.246 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.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 12 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09812/0.0985, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.001876/0.1004, allocations: 1.313 MB / 492.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1017, allocations: 0.8949 MB / 493 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.1018, allocations: 0 / 493 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.102, allocations: 19.91 kB / 493 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.1022, allocations: 35.86 kB / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1025, allocations: 99.8 kB / 493.2 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.1026, allocations: 55.83 kB / 493.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.1027, allocations: 8.188 kB / 493.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.1028, allocations: 19.92 kB / 493.3 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.1029, allocations: 27.84 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1029, allocations: 8 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.103, allocations: 35.98 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.1031, allocations: 19.92 kB / 493.4 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.1031, allocations: 49.55 kB / 493.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.1033, allocations: 67.84 kB / 493.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1033, allocations: 0 / 493.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1033, allocations: 0 / 493.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1033, allocations: 0 / 493.5 MB, free: 8.223 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.0004246/0.1037, allocations: 379.6 kB / 493.8 MB, free: 7.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1038, allocations: 12.03 kB / 493.8 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.1038, allocations: 12.83 kB / 493.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.104, allocations: 180.2 kB / 494 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.104, allocations: 12.31 kB / 494.1 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.104, allocations: 384 / 494.1 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1042, allocations: 87.31 kB / 494.1 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1042, allocations: 0 / 494.1 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1043, allocations: 0 / 494.1 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1043, allocations: 0 / 494.1 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.1044, allocations: 39.97 kB / 494.2 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.1047, allocations: 292.7 kB / 494.5 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1049, allocations: 46.56 kB / 494.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.105, allocations: 32.92 kB / 494.5 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.105, allocations: 4 kB / 494.5 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.105, allocations: 34.55 kB / 494.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.105, allocations: 3.938 kB / 494.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007348/0.1058, allocations: 237.3 kB / 494.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.1059, allocations: 81.09 kB / 494.9 MB, free: 6.605 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.106, allocations: 137.7 kB / 495 MB, free: 6.461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.106, allocations: 33.64 kB / 495.1 MB, free: 6.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.1061, allocations: 92.12 kB / 495.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.1061, allocations: 23.66 kB / 495.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.1061, allocations: 0 / 495.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.1062, allocations: 318.8 kB / 495.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.1063, allocations: 47.91 kB / 495.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1065, allocations: 57.69 kB / 495.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.1067, allocations: 84.81 kB / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1067, allocations: 32 / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002658/0.107, allocations: 125.8 kB / 495.8 MB, free: 5.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.107, allocations: 4 kB / 495.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.107, allocations: 4 kB / 495.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.107, allocations: 8 kB / 495.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1071, allocations: 23.92 kB / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1071, allocations: 4.062 kB / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.1072, allocations: 19.92 kB / 495.9 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1072, allocations: 4 kB / 495.9 MB, free: 5.594 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 () * 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 9.233e-05/0.1073, allocations: 125.8 kB / 496 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.1074, allocations: 3.906 kB / 496 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.1077, allocations: 142 kB / 496.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1077, allocations: 3.984 kB / 496.1 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1077, allocations: 0 / 496.1 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1077, allocations: 7.938 kB / 496.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.1082, allocations: 398.5 kB / 496.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1082, allocations: 0 / 496.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.191e-05/0.1083, allocations: 23.98 kB / 496.5 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1083, allocations: 0 / 496.5 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1083, allocations: 7.938 kB / 496.6 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1083, allocations: 4 kB / 496.6 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1083, allocations: 0 / 496.6 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.1086, allocations: 223.3 kB / 496.8 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.1087, allocations: 92.94 kB / 496.9 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.1087, allocations: 3.938 kB / 496.9 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.1088, allocations: 19.98 kB / 496.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1089, allocations: 0 / 496.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.1089, allocations: 7.984 kB / 496.9 MB, free: 4.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.717e-05/0.109, allocations: 103.3 kB / 497 MB, free: 4.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.109, allocations: 0 / 497 MB, free: 4.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.1092, allocations: 28 kB / 497 MB, free: 4.316 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 () * 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.0008593/0.1101, allocations: 434.7 kB / 497.5 MB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.1104, allocations: 95.88 kB / 497.5 MB, free: 3.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1104, allocations: 0 / 497.5 MB, free: 3.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1105, allocations: 51.97 kB / 497.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1108, allocations: 20.23 kB / 497.6 MB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.1112, allocations: 226.9 kB / 497.8 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.1115, allocations: 0.6887 MB / 498.5 MB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.1115, allocations: 15.44 kB / 498.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1115, allocations: 0 / 498.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of Templates: time 0.00317/0.1147, allocations: 1.703 MB / 0.4885 GB, free: 1.086 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches