Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009321/0.000932, allocations: 169.2 kB / 16.72 MB, free: 5.051 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.192/1.192, 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.0006921/0.000692, allocations: 85.2 kB / 271.2 MB, free: 8.266 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.2921/0.2921, allocations: 43.57 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 16 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1023, allocations: 58.84 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.001813/0.1042, allocations: 1.301 MB / 492.1 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005312/0.1048, allocations: 335.7 kB / 492.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.1048, allocations: 0 / 492.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004822/0.1053, allocations: 447.2 kB / 492.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.1056, allocations: 239.5 kB / 493.1 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.1059, allocations: 135.8 kB / 493.2 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.1062, allocations: 135.7 kB / 493.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1063, allocations: 20.16 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.802e-05/0.1064, allocations: 99.73 kB / 493.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.1066, allocations: 171.7 kB / 493.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1066, allocations: 0 / 493.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.417e-05/0.1067, allocations: 31.98 kB / 493.7 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1068, allocations: 79.75 kB / 493.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.1069, allocations: 112.8 kB / 493.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1071, allocations: 180 kB / 494.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1071, allocations: 0 / 494.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1071, allocations: 3.938 kB / 494.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1071, allocations: 0 / 494.1 MB, free: 7.633 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.000591/0.1077, allocations: 0.5989 MB / 494.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1078, allocations: 8.031 kB / 494.7 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.1078, allocations: 40.47 kB / 494.7 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.1081, allocations: 296.1 kB / 495 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1081, allocations: 4.375 kB / 495 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.1081, allocations: 4.375 kB / 495 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1083, allocations: 57.62 kB / 495.1 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1083, allocations: 0 / 495.1 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1083, allocations: 4 kB / 495.1 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1083, allocations: 3.984 kB / 495.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.1084, allocations: 35.97 kB / 495.1 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.1089, allocations: 400.6 kB / 495.5 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1091, allocations: 46.56 kB / 495.5 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.1092, allocations: 20.94 kB / 495.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1092, allocations: 0 / 495.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.1092, allocations: 30.56 kB / 495.6 MB, free: 5.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.264e-06/0.1092, allocations: 4 kB / 495.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005693/0.1098, allocations: 255.9 kB / 495.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.1098, allocations: 51.41 kB / 495.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007361/0.1106, allocations: 0.8728 MB / 496.8 MB, free: 4.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1107, allocations: 25.7 kB / 496.8 MB, free: 4.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1108, allocations: 224.1 kB / 497 MB, free: 4.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.1108, allocations: 7.812 kB / 497 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.1108, allocations: 3.938 kB / 497 MB, free: 4.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.111, allocations: 366.8 kB / 497.4 MB, free: 4.098 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.1111, allocations: 19.98 kB / 497.4 MB, free: 4.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.735e-05/0.1111, allocations: 27.98 kB / 497.4 MB, free: 4.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.1113, allocations: 60.83 kB / 497.5 MB, free: 3.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1113, allocations: 0 / 497.5 MB, free: 3.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002083/0.1115, allocations: 133.1 kB / 497.6 MB, free: 3.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1115, allocations: 4 kB / 497.6 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1115, allocations: 0 / 497.6 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1115, allocations: 4 kB / 497.6 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.1116, allocations: 15.92 kB / 497.6 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1116, allocations: 4 kB / 497.6 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.1117, allocations: 11.94 kB / 497.7 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1117, allocations: 0 / 497.7 MB, free: 3.812 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 0.0001668/0.1119, allocations: 217.8 kB / 497.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.1119, allocations: 43.44 kB / 497.9 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.1122, allocations: 149.4 kB / 498.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1122, allocations: 0 / 498.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1122, allocations: 0 / 498.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1122, allocations: 11.94 kB / 498.1 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.1127, allocations: 470.5 kB / 498.5 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1128, allocations: 4 kB / 498.5 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.1128, allocations: 12 kB / 498.5 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1128, allocations: 0 / 498.5 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1128, allocations: 7.938 kB / 498.6 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1128, allocations: 0 / 498.6 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1128, allocations: 0 / 498.6 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1131, allocations: 226.9 kB / 498.8 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.1132, allocations: 116.6 kB / 498.9 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1132, allocations: 3.938 kB / 498.9 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.1133, allocations: 4 kB / 498.9 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.1133, allocations: 7.984 kB / 498.9 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.1133, allocations: 0 / 498.9 MB, free: 2.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005699/0.1139, allocations: 0.655 MB / 499.6 MB, free: 1.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1139, allocations: 0 / 499.6 MB, free: 1.801 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.1142, allocations: 28 kB / 499.6 MB, free: 1.773 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.0007745/0.1149, allocations: 405.9 kB / 500 MB, free: 1.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1151, allocations: 67.91 kB / 0.4883 GB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1151, allocations: 0 / 0.4883 GB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.1152, allocations: 27.98 kB / 0.4884 GB, free: 1.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1156, allocations: 29.89 kB / 0.4884 GB, free: 1.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009873/0.1166, allocations: 0.8624 MB / 0.4892 GB, free: 400 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1701/0.2867, allocations: 0.821 MB / 0.49 GB, free: 42.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.2868, allocations: 12.38 kB / 0.49 GB, free: 42.7 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2868, allocations: 3.891 kB / 0.49 GB, free: 42.7 MB / 378.7 MB Notification: Performance of Templates: time 0.007438/0.2942, allocations: 3.646 MB / 0.4936 GB, free: 42.08 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches