Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001337/0.001337, allocations: 177.9 kB / 16.41 MB, free: 5.707 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.637/1.637, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007924/0.0007924, allocations: 92.92 kB / 270.9 MB, free: 8.363 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.3046/0.3046, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 16 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.001688/0.1017, allocations: 1.305 MB / 491.5 MB, free: 9.906 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1028, allocations: 0.8907 MB / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.1029, allocations: 0 / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.103, allocations: 15.94 kB / 492.4 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.1032, allocations: 35.83 kB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1034, allocations: 107.8 kB / 492.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.1035, allocations: 51.84 kB / 492.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.747e-05/0.1036, allocations: 8.172 kB / 492.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.1037, allocations: 23.86 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1038, allocations: 27.84 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1038, allocations: 8 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.735e-05/0.1039, allocations: 39.97 kB / 492.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.104, allocations: 11.98 kB / 492.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.104, allocations: 37.64 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.1041, allocations: 67.84 kB / 492.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1041, allocations: 0 / 492.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1041, allocations: 0 / 492.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1041, allocations: 0 / 492.9 MB, free: 8.574 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.0004443/0.1046, allocations: 383.4 kB / 493.2 MB, free: 8.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1046, allocations: 12.02 kB / 493.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.1047, allocations: 11.86 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.1048, allocations: 194.8 kB / 493.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.1049, allocations: 0 / 493.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.1049, allocations: 4 kB / 493.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.1051, allocations: 75.39 kB / 493.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1051, allocations: 0 / 493.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1051, allocations: 4 kB / 493.5 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.1051, allocations: 4 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.1052, allocations: 39.92 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.1056, allocations: 288.8 kB / 493.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.1057, allocations: 42.56 kB / 493.9 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.085e-05/0.1058, allocations: 24.94 kB / 493.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1058, allocations: 8 kB / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.1058, allocations: 34.55 kB / 494 MB, free: 7.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1058, allocations: 3.938 kB / 494 MB, free: 7.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007398/0.1066, allocations: 249.2 kB / 494.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1066, allocations: 81.11 kB / 494.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1068, allocations: 129.8 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1068, allocations: 29.64 kB / 494.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.1068, allocations: 96.12 kB / 494.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.1069, allocations: 15.66 kB / 494.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.1069, allocations: 8 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.107, allocations: 318.8 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1071, allocations: 43.97 kB / 494.9 MB, free: 6.293 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1072, allocations: 53.69 kB / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1074, allocations: 39.98 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1074, allocations: 0 / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002802/0.1077, allocations: 133.6 kB / 495.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1077, allocations: 7.953 kB / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1077, allocations: 0 / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.1077, allocations: 0 / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1078, allocations: 35.91 kB / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1078, allocations: 4 kB / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.235e-05/0.1079, allocations: 12 kB / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1079, allocations: 0 / 495.2 MB, free: 6 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 7.427e-05/0.108, allocations: 117.8 kB / 495.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.108, allocations: 7.906 kB / 495.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.1084, allocations: 142 kB / 495.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1084, allocations: 0 / 495.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1084, allocations: 0 / 495.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1084, allocations: 7.938 kB / 495.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.1089, allocations: 406.8 kB / 495.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1089, allocations: 3.953 kB / 495.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/0.109, allocations: 19.98 kB / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.109, allocations: 4 kB / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.109, allocations: 0 / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.109, allocations: 0 / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.109, allocations: 0 / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.1093, allocations: 227.5 kB / 496.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.1094, allocations: 96.91 kB / 496.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.1094, allocations: 4 kB / 496.2 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.128e-05/0.1095, allocations: 11.98 kB / 496.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.1096, allocations: 7.984 kB / 496.2 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1096, allocations: 8 kB / 496.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.262e-05/0.1097, allocations: 103.8 kB / 496.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1097, allocations: 0 / 496.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000224/0.1099, allocations: 20 kB / 496.4 MB, free: 4.73 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.0007957/0.1107, allocations: 448.1 kB / 496.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.111, allocations: 95.88 kB / 496.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.111, allocations: 0 / 496.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.1111, allocations: 47.97 kB / 496.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1114, allocations: 19.98 kB / 497 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.1118, allocations: 218.8 kB / 497.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.112, allocations: 0.6887 MB / 497.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.1121, allocations: 23.42 kB / 497.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1121, allocations: 0 / 497.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of Templates: time 0.002911/0.115, allocations: 1.688 MB / 499.6 MB, free: 1.508 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches