Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.001342, allocations: 178 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.85/1.85, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.000705/0.0007049, allocations: 91.8 kB / 270.9 MB, free: 8.34 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.3317/0.3317, allocations: 43.57 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 16 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1094, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.002041/0.1114, allocations: 1.617 MB / 491.8 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1128, allocations: 0.9058 MB / 492.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.1129, allocations: 4 kB / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.1131, allocations: 31.83 kB / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.1134, allocations: 131.5 kB / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007988/0.1142, allocations: 359.4 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.1145, allocations: 215.3 kB / 493.5 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.1147, allocations: 52.41 kB / 493.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.1149, allocations: 103.5 kB / 493.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.1151, allocations: 147.4 kB / 493.8 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.1151, allocations: 8 kB / 493.8 MB, free: 7.637 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.353e-05/0.1152, allocations: 28 kB / 493.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.1153, allocations: 131.6 kB / 493.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.1154, allocations: 69.45 kB / 494 MB, free: 7.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.1156, allocations: 259.8 kB / 494.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1157, allocations: 4 kB / 494.3 MB, free: 7.148 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1157, allocations: 0 / 494.3 MB, free: 7.148 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1157, allocations: 0 / 494.3 MB, free: 7.148 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008464/0.1165, allocations: 0.6726 MB / 494.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1166, allocations: 12.03 kB / 494.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/0.1166, allocations: 51.28 kB / 495 MB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.1171, allocations: 415.1 kB / 495.4 MB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1171, allocations: 8 kB / 495.4 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.1172, allocations: 12 kB / 495.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.1174, allocations: 135.3 kB / 495.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1174, allocations: 0 / 495.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1175, allocations: 0 / 495.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.1175, allocations: 7.953 kB / 495.6 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.1177, allocations: 87.94 kB / 495.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008104/0.1185, allocations: 0.6566 MB / 496.3 MB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.1187, allocations: 117.2 kB / 496.4 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1188, allocations: 49.97 kB / 496.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.1189, allocations: 8 kB / 496.5 MB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1189, allocations: 46.42 kB / 496.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.1189, allocations: 0 / 496.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001367/0.1203, allocations: 0.5333 MB / 497.1 MB, free: 4.156 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1203, allocations: 77.11 kB / 497.1 MB, free: 4.062 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008745/0.1212, allocations: 0.8504 MB / 498 MB, free: 3.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.1213, allocations: 29.7 kB / 498 MB, free: 3.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1214, allocations: 236.3 kB / 498.2 MB, free: 2.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.1215, allocations: 59.19 kB / 498.3 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-06/0.1215, allocations: 0 / 498.3 MB, free: 2.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1217, allocations: 370.8 kB / 498.7 MB, free: 2.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.1218, allocations: 59.97 kB / 498.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.122, allocations: 85.47 kB / 498.8 MB, free: 2.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.1222, allocations: 63.97 kB / 498.9 MB, free: 2.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1222, allocations: 0 / 498.9 MB, free: 2.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004334/0.1226, allocations: 240.9 kB / 499.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1227, allocations: 8 kB / 499.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1227, allocations: 0 / 499.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1227, allocations: 0 / 499.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.1229, allocations: 43.97 kB / 499.2 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1229, allocations: 7.891 kB / 499.2 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.123, allocations: 19.98 kB / 499.2 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.1231, allocations: 4 kB / 499.2 MB, free: 1.965 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001923/0.1232, allocations: 205.8 kB / 499.4 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.35e-05/0.1233, allocations: 59.34 kB / 499.4 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005561/0.1239, allocations: 274.9 kB / 499.7 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1239, allocations: 0 / 499.7 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.1239, allocations: 8 kB / 499.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1239, allocations: 3.953 kB / 499.7 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.125, allocations: 0.7669 MB / 0.4888 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.125, allocations: 0 / 0.4888 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.1252, allocations: 47.91 kB / 0.4888 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1252, allocations: 3.953 kB / 0.4888 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1252, allocations: 11.98 kB / 0.4888 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1252, allocations: 0 / 0.4888 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1252, allocations: 7.938 kB / 0.4888 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.1257, allocations: 410 kB / 0.4892 GB, free: 92 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1832/0.3089, allocations: 134.2 kB / 0.4893 GB, free: 43.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.309, allocations: 8.922 kB / 0.4894 GB, free: 43.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.3093, allocations: 16.03 kB / 0.4894 GB, free: 43.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.3094, allocations: 15.03 kB / 0.4894 GB, free: 43.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.3094, allocations: 7.906 kB / 0.4894 GB, free: 43.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008145/0.3102, allocations: 0.6183 MB / 0.49 GB, free: 42.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.3103, allocations: 0 / 0.49 GB, free: 42.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004099/0.3107, allocations: 55.56 kB / 0.49 GB, free: 42.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0009223/0.3116, allocations: 410.2 kB / 0.4904 GB, free: 42.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005461/0.3122, allocations: 155 kB / 0.4906 GB, free: 42.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3122, allocations: 0.9688 kB / 0.4906 GB, free: 42.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.3124, allocations: 90.62 kB / 0.4907 GB, free: 42.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006768/0.3131, allocations: 65.38 kB / 0.4907 GB, free: 42.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.3143, allocations: 0.9485 MB / 0.4917 GB, free: 42.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.3147, allocations: 0.8425 MB / 0.4925 GB, free: 41.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.3148, allocations: 42.02 kB / 0.4925 GB, free: 41.66 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3148, allocations: 0 / 0.4925 GB, free: 41.66 MB / 378.7 MB Notification: Performance of Templates: time 0.007954/0.3228, allocations: 5.27 MB / 0.4977 GB, free: 41.1 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches