Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008979/0.0008979, allocations: 175 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.207/1.207, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007278/0.0007279, allocations: 99.58 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.2854/0.2854, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003255, allocations: 12 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.09659, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.00175/0.09839, allocations: 1.263 MB / 492.1 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.09957, allocations: 0.8988 MB / 493 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.262e-05/0.09964, allocations: 0 / 493 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.09984, allocations: 19.91 kB / 493 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.1, allocations: 31.91 kB / 493 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1003, allocations: 91.83 kB / 493.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.1004, allocations: 47.84 kB / 493.2 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.1005, allocations: 15.97 kB / 493.2 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.1006, allocations: 15.92 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.1007, allocations: 23.86 kB / 493.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.1007, allocations: 0 / 493.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1008, allocations: 47.97 kB / 493.3 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.1009, allocations: 7.938 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.1009, allocations: 41.58 kB / 493.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.101, allocations: 63.89 kB / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.1011, allocations: 7.984 kB / 493.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1011, allocations: 0 / 493.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1011, allocations: 0 / 493.4 MB, free: 8.289 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.0004293/0.1015, allocations: 371.6 kB / 493.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1016, allocations: 8.031 kB / 493.8 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.1016, allocations: 8.844 kB / 493.8 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.1018, allocations: 192.2 kB / 494 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1018, allocations: 384 / 494 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1018, allocations: 384 / 494 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.102, allocations: 75.47 kB / 494 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.102, allocations: 0 / 494 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.102, allocations: 3.984 kB / 494 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.102, allocations: 0 / 494 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.1021, allocations: 31.98 kB / 494.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.1025, allocations: 276.9 kB / 494.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.1027, allocations: 58.48 kB / 494.4 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.1027, allocations: 12.86 kB / 494.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1028, allocations: 0 / 494.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.1028, allocations: 30.56 kB / 494.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1028, allocations: 0 / 494.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005313/0.1033, allocations: 169.4 kB / 494.6 MB, free: 6.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.1034, allocations: 81.05 kB / 494.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1035, allocations: 133.8 kB / 494.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1035, allocations: 25.7 kB / 494.8 MB, free: 6.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.1036, allocations: 96.12 kB / 494.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.1036, allocations: 19.73 kB / 495 MB, free: 6.516 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.1036, allocations: 7.938 kB / 495 MB, free: 6.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.1037, allocations: 318.8 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.1038, allocations: 23.97 kB / 495.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.1039, allocations: 45.7 kB / 495.3 MB, free: 6.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.104, allocations: 60.77 kB / 495.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.104, allocations: 0 / 495.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000185/0.1042, allocations: 93.59 kB / 495.5 MB, free: 5.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1043, allocations: 11.59 kB / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1043, allocations: 0 / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.1043, allocations: 0 / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.1043, allocations: 15.98 kB / 495.5 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1044, allocations: 0 / 495.5 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.1044, allocations: 8 kB / 495.5 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1044, allocations: 8 kB / 495.5 MB, free: 5.914 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.428e-05/0.1045, allocations: 121.8 kB / 495.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.1045, allocations: 7.906 kB / 495.7 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.1048, allocations: 105.8 kB / 495.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1048, allocations: 4 kB / 495.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1048, allocations: 4.062 kB / 495.8 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1048, allocations: 0 / 495.8 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.1052, allocations: 362.7 kB / 496.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1052, allocations: 0 / 496.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.1053, allocations: 19.98 kB / 496.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1053, allocations: 0 / 496.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1053, allocations: 0 / 496.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1053, allocations: 3.938 kB / 496.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1053, allocations: 3.984 kB / 496.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.1055, allocations: 191.4 kB / 496.3 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.1056, allocations: 85.02 kB / 496.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1056, allocations: 3.984 kB / 496.4 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.1057, allocations: 11.94 kB / 496.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.1057, allocations: 3.938 kB / 496.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1057, allocations: 7.984 kB / 496.4 MB, free: 4.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.946e-05/0.1058, allocations: 103.8 kB / 496.5 MB, free: 4.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1058, allocations: 0 / 496.5 MB, free: 4.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000237/0.1061, allocations: 31.94 kB / 496.6 MB, free: 4.758 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.0008118/0.1069, allocations: 441.6 kB / 497 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1071, allocations: 63.95 kB / 497.1 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1071, allocations: 0 / 497.1 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.1072, allocations: 31.92 kB / 497.1 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1075, allocations: 19.92 kB / 497.1 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.1078, allocations: 198.3 kB / 497.3 MB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.1081, allocations: 0.6965 MB / 498 MB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.1081, allocations: 11.44 kB / 498 MB, free: 3.297 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1081, allocations: 0 / 498 MB, free: 3.297 MB / 378.7 MB Notification: Performance of Templates: time 0.002922/0.111, allocations: 1.571 MB / 499.6 MB, free: 1.727 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches