Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,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.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009054/0.0009053, allocations: 175.2 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.232/1.232, 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.0007354/0.0007355, allocations: 90.34 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.2803/0.2803, allocations: 43.55 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 12 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09414, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.001602/0.09578, allocations: 1.267 MB / 492.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004722/0.09627, allocations: 287.8 kB / 492.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.09631, allocations: 0 / 492.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.09655, allocations: 75.83 kB / 492.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.09669, allocations: 55.81 kB / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.09688, allocations: 59.92 kB / 492.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.097, allocations: 63.81 kB / 492.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.09709, allocations: 15.98 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.09714, allocations: 27.84 kB / 492.7 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.09723, allocations: 39.89 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.09725, allocations: 0 / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.299e-05/0.09732, allocations: 27.98 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.09737, allocations: 19.92 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.09741, allocations: 53.5 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.09752, allocations: 55.91 kB / 492.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.09753, allocations: 4 kB / 492.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09754, allocations: 0 / 492.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.09755, allocations: 0 / 492.9 MB, free: 8.602 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.0004/0.09795, allocations: 395.3 kB / 493.2 MB, free: 8.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.09799, allocations: 15.97 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.09803, allocations: 8.844 kB / 493.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.09819, allocations: 200.1 kB / 493.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.09821, allocations: 384 / 493.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.09823, allocations: 4.375 kB / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.09835, allocations: 49.81 kB / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.09837, allocations: 0 / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.09839, allocations: 0 / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.09839, allocations: 0 / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.688e-05/0.09849, allocations: 31.92 kB / 493.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.0988, allocations: 284.9 kB / 493.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.09897, allocations: 38.56 kB / 493.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.09903, allocations: 20.86 kB / 493.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.09906, allocations: 4 kB / 493.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.09908, allocations: 34.5 kB / 493.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.09909, allocations: 0 / 493.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004972/0.09959, allocations: 165.3 kB / 494.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.09963, allocations: 59.33 kB / 494.1 MB, free: 7.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.09981, allocations: 206.2 kB / 494.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.09983, allocations: 25.7 kB / 494.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.09988, allocations: 100.1 kB / 494.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.09991, allocations: 19.72 kB / 494.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.09992, allocations: 0 / 494.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.1, allocations: 330.8 kB / 494.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-05/0.1001, allocations: 19.98 kB / 494.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-05/0.1002, allocations: 28.05 kB / 494.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1003, allocations: 52.83 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1003, allocations: 0 / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001676/0.1005, allocations: 89.52 kB / 495 MB, free: 6.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1005, allocations: 4 kB / 495 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1005, allocations: 4 kB / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.1005, allocations: 4 kB / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-05/0.1006, allocations: 15.98 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1006, allocations: 4 kB / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.81e-05/0.1007, allocations: 7.938 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.1007, allocations: 0 / 495 MB, free: 6.207 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 8.354e-05/0.1008, allocations: 133.8 kB / 495.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.1008, allocations: 11.91 kB / 495.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.101, allocations: 101.9 kB / 495.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.101, allocations: 0 / 495.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.101, allocations: 0 / 495.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.101, allocations: 0 / 495.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/0.1014, allocations: 362.5 kB / 495.6 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1014, allocations: 0 / 495.6 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-05/0.1015, allocations: 12 kB / 495.6 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.1015, allocations: 3.984 kB / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.1015, allocations: 320 / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1015, allocations: 7.938 kB / 495.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1015, allocations: 7.938 kB / 495.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.1017, allocations: 183.3 kB / 495.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.1018, allocations: 89 kB / 495.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1018, allocations: 0 / 495.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.1019, allocations: 19.94 kB / 495.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.1019, allocations: 3.984 kB / 495.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1019, allocations: 4 kB / 496 MB, free: 5.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.102, allocations: 160 kB / 496.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1021, allocations: 0 / 496.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.1023, allocations: 16 kB / 496.1 MB, free: 5.008 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.0007728/0.1031, allocations: 410.9 kB / 496.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1032, allocations: 51.91 kB / 496.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1033, allocations: 4 kB / 496.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.672e-05/0.1033, allocations: 23.98 kB / 496.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.1036, allocations: 23.92 kB / 496.6 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.104, allocations: 254.9 kB / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.1043, allocations: 0.7043 MB / 497.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.1043, allocations: 11.44 kB / 497.6 MB, free: 3.512 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.1043, allocations: 0 / 497.6 MB, free: 3.512 MB / 378.7 MB Notification: Performance of Templates: time 0.0028/0.1071, allocations: 1.454 MB / 499 MB, free: 2.059 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches