Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2D.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008697/0.0008697, allocations: 173.5 kB / 16.72 MB, free: 5.082 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.169/1.169, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007514/0.0007514, allocations: 99.66 kB / 271.2 MB, free: 8.242 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.2692/0.2692, allocations: 43.56 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003399, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.0955, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test26): time 0.001863/0.0974, allocations: 1.317 MB / 492.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005314/0.09796, allocations: 303.7 kB / 492.4 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.09803, allocations: 0 / 492.4 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.09825, allocations: 51.86 kB / 492.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.09842, allocations: 39.89 kB / 492.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.09873, allocations: 103.8 kB / 492.6 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.09886, allocations: 55.84 kB / 492.7 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.09896, allocations: 12.17 kB / 492.7 MB, free: 9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.359e-05/0.09902, allocations: 31.86 kB / 492.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.09911, allocations: 27.89 kB / 492.8 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.09913, allocations: 4 kB / 492.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.977e-05/0.09921, allocations: 27.94 kB / 492.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.09927, allocations: 15.98 kB / 492.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.09932, allocations: 53.48 kB / 492.9 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.09945, allocations: 59.91 kB / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.09946, allocations: 3.938 kB / 492.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.09947, allocations: 0 / 492.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.09947, allocations: 0 / 492.9 MB, free: 8.773 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.000436/0.09992, allocations: 399.4 kB / 493.3 MB, free: 8.336 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.09996, allocations: 8.031 kB / 493.3 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.1, allocations: 12.83 kB / 493.3 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.1002, allocations: 192.7 kB / 493.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1002, allocations: 8.125 kB / 493.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.1002, allocations: 0 / 493.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1004, allocations: 65.67 kB / 493.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1004, allocations: 0 / 493.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1004, allocations: 0 / 493.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.1005, allocations: 0 / 493.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1006, allocations: 47.91 kB / 493.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.101, allocations: 292.7 kB / 493.9 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1011, allocations: 42.56 kB / 494 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.514e-05/0.1012, allocations: 28.94 kB / 494 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1012, allocations: 4 kB / 494 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1012, allocations: 38.48 kB / 494 MB, free: 7.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1012, allocations: 0 / 494 MB, free: 7.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007455/0.102, allocations: 245.2 kB / 494.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.102, allocations: 59.28 kB / 494.3 MB, free: 7.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1022, allocations: 178.4 kB / 494.5 MB, free: 6.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1022, allocations: 25.7 kB / 494.5 MB, free: 6.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.1023, allocations: 100 kB / 494.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.1023, allocations: 27.64 kB / 494.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.1023, allocations: 0 / 494.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.1024, allocations: 322.8 kB / 495 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.1025, allocations: 39.97 kB / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1026, allocations: 39.98 kB / 495 MB, free: 6.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1029, allocations: 92.73 kB / 495.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1029, allocations: 0 / 495.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002622/0.1031, allocations: 133.5 kB / 495.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1032, allocations: 4 kB / 495.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1032, allocations: 3.938 kB / 495.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1032, allocations: 8 kB / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1033, allocations: 19.98 kB / 495.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1033, allocations: 4 kB / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.235e-05/0.1034, allocations: 15.98 kB / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1034, allocations: 0 / 495.3 MB, free: 6.145 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 8.159e-05/0.1035, allocations: 129.8 kB / 495.4 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.1035, allocations: 7.906 kB / 495.5 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.1038, allocations: 158.5 kB / 495.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1039, allocations: 3.984 kB / 495.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1039, allocations: 0 / 495.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1039, allocations: 0 / 495.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.1043, allocations: 406.5 kB / 496 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1044, allocations: 0 / 496 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.48e-05/0.1045, allocations: 27.92 kB / 496 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1045, allocations: 288 / 496 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1045, allocations: 0 / 496 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1045, allocations: 4 kB / 496 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1045, allocations: 4 kB / 496 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.1048, allocations: 231.2 kB / 496.3 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.1048, allocations: 89 kB / 496.4 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1049, allocations: 0 / 496.4 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.929e-05/0.1049, allocations: 12 kB / 496.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.105, allocations: 7.984 kB / 496.4 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.105, allocations: 0 / 496.4 MB, free: 4.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.686e-05/0.1051, allocations: 143.9 kB / 496.5 MB, free: 4.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1051, allocations: 4 kB / 496.5 MB, free: 4.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.1054, allocations: 20 kB / 496.5 MB, free: 4.816 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.000774/0.1061, allocations: 402.2 kB / 496.9 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.1064, allocations: 99.92 kB / 497 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1064, allocations: 0 / 497 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1065, allocations: 47.91 kB / 497.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.1068, allocations: 23.73 kB / 497.1 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.1073, allocations: 258.9 kB / 497.4 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.1075, allocations: 0.6965 MB / 498.1 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.1076, allocations: 15.44 kB / 498.1 MB, free: 3.27 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1076, allocations: 0 / 498.1 MB, free: 3.27 MB / 378.7 MB Notification: Performance of Templates: time 0.002992/0.1106, allocations: 1.563 MB / 499.6 MB, free: 1.707 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches