Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24") translateModel(ModelicaTest.Tables.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009715/0.0009715, allocations: 166.8 kB / 16.72 MB, free: 4.965 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.213/1.213, allocations: 205.4 MB / 222.9 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.0007037/0.0007033, allocations: 90.36 kB / 271.2 MB, free: 8.238 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.286/0.286, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004368, allocations: 15.98 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09694, allocations: 58.86 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test24): time 0.001628/0.09862, allocations: 1.259 MB / 492.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.09966, allocations: 0.8949 MB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.09971, allocations: 4 kB / 493 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.09988, allocations: 19.91 kB / 493 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1, allocations: 39.84 kB / 493 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.1003, allocations: 75.91 kB / 493.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.935e-05/0.1004, allocations: 47.84 kB / 493.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.49e-05/0.1004, allocations: 15.97 kB / 493.2 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.1005, allocations: 23.86 kB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1006, allocations: 19.92 kB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1006, allocations: 0 / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.944e-05/0.1007, allocations: 47.91 kB / 493.3 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.1007, allocations: 11.98 kB / 493.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.1008, allocations: 41.58 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.1009, allocations: 63.89 kB / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1009, allocations: 0 / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1009, allocations: 0 / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1009, allocations: 0 / 493.4 MB, free: 8.066 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003675/0.1013, allocations: 371.5 kB / 493.7 MB, free: 7.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1013, allocations: 12.03 kB / 493.8 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.1014, allocations: 12.84 kB / 493.8 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.1015, allocations: 188.2 kB / 494 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.1016, allocations: 4.375 kB / 494 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.1016, allocations: 384 / 494 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.1017, allocations: 71.52 kB / 494 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1017, allocations: 0 / 494 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1018, allocations: 0 / 494 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.1018, allocations: 0 / 494 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.956e-05/0.1019, allocations: 31.97 kB / 494.1 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.1022, allocations: 284.8 kB / 494.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.1024, allocations: 46.56 kB / 494.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.1024, allocations: 24.94 kB / 494.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.1025, allocations: 0 / 494.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.1025, allocations: 30.56 kB / 494.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.1025, allocations: 0 / 494.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004952/0.103, allocations: 169.3 kB / 494.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.103, allocations: 77.11 kB / 494.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1032, allocations: 137.8 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1032, allocations: 25.7 kB / 494.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.1032, allocations: 92.14 kB / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.1033, allocations: 19.75 kB / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.1033, allocations: 0 / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.1034, allocations: 326.7 kB / 495.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.1034, allocations: 23.98 kB / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.225e-05/0.1035, allocations: 45.69 kB / 495.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1037, allocations: 56.83 kB / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1037, allocations: 0 / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001832/0.1039, allocations: 97.8 kB / 495.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1039, allocations: 7.281 kB / 495.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1039, allocations: 3.938 kB / 495.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.1039, allocations: 4 kB / 495.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.104, allocations: 11.98 kB / 495.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.104, allocations: 4 kB / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.104, allocations: 11.98 kB / 495.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.104, allocations: 0 / 495.5 MB, free: 5.688 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 (5): * Single equations (assignments): 5 * 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.159e-05/0.1041, allocations: 121.8 kB / 495.6 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.1042, allocations: 8.188 kB / 495.7 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.1044, allocations: 101.6 kB / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1044, allocations: 11.98 kB / 495.8 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1044, allocations: 3.938 kB / 495.8 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1044, allocations: 0 / 495.8 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.1048, allocations: 358.5 kB / 496.1 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1048, allocations: 4 kB / 496.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.1049, allocations: 12 kB / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.1049, allocations: 7.984 kB / 496.1 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1049, allocations: 4 kB / 496.1 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1049, allocations: 3.938 kB / 496.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1049, allocations: 0 / 496.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.1051, allocations: 187.6 kB / 496.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.1052, allocations: 89 kB / 496.4 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1052, allocations: 8.062 kB / 496.4 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.1053, allocations: 15.86 kB / 496.4 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.1053, allocations: 4 kB / 496.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1053, allocations: 0 / 496.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.364e-05/0.1054, allocations: 103.3 kB / 496.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1054, allocations: 4 kB / 496.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.1056, allocations: 27.98 kB / 496.6 MB, free: 4.531 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 (5): * Single equations (assignments): 5 * 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.0008225/0.1065, allocations: 437.9 kB / 497 MB, free: 4.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1067, allocations: 63.91 kB / 497.1 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1067, allocations: 0 / 497.1 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.1068, allocations: 35.97 kB / 497.1 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.107, allocations: 11.94 kB / 497.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.1074, allocations: 206.3 kB / 497.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.1076, allocations: 0.6887 MB / 498 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.1077, allocations: 15.44 kB / 498 MB, free: 3.066 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.1077, allocations: 0 / 498 MB, free: 3.066 MB / 378.7 MB Notification: Performance of Templates: time 0.002713/0.1104, allocations: 1.579 MB / 499.6 MB, free: 1.488 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches