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.0008674/0.0008675, allocations: 173.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.236/1.236, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007465/0.0007464, allocations: 93.16 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.3052/0.3052, allocations: 43.56 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 11.94 kB / 432 MB, free: 5.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1126, allocations: 58.84 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.00261/0.1152, allocations: 1.613 MB / 492.4 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1165, allocations: 0.9136 MB / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.1166, allocations: 0 / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.1168, allocations: 35.78 kB / 493.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.1171, allocations: 127.5 kB / 493.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007463/0.1179, allocations: 359.4 kB / 493.9 MB, free: 7.578 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.1181, allocations: 223.3 kB / 494.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1183, allocations: 60.19 kB / 494.1 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.1184, allocations: 99.53 kB / 494.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.1186, allocations: 151.5 kB / 494.4 MB, free: 7.055 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.1187, allocations: 4 kB / 494.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.1187, allocations: 35.94 kB / 494.4 MB, free: 7.016 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.1189, allocations: 123.6 kB / 494.5 MB, free: 6.895 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.119, allocations: 160.6 kB / 494.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.1193, allocations: 255.8 kB / 494.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1193, allocations: 0 / 494.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1193, allocations: 0 / 494.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1193, allocations: 0 / 494.9 MB, free: 6.48 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.0008116/0.1201, allocations: 0.6689 MB / 495.6 MB, free: 5.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1202, allocations: 8.031 kB / 495.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.1202, allocations: 60.27 kB / 495.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.1208, allocations: 439.9 kB / 496.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1208, allocations: 8.375 kB / 496.1 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.1208, allocations: 16.12 kB / 496.1 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.1211, allocations: 127.3 kB / 496.3 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1211, allocations: 7.906 kB / 496.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1211, allocations: 4 kB / 496.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1211, allocations: 0 / 496.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.1213, allocations: 87.89 kB / 496.4 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008709/0.1222, allocations: 0.6605 MB / 497 MB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.1224, allocations: 109.2 kB / 497.1 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.915e-05/0.1226, allocations: 53.83 kB / 497.2 MB, free: 4.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.1226, allocations: 8.203 kB / 497.2 MB, free: 4.062 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1226, allocations: 34.5 kB / 497.2 MB, free: 4.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.1226, allocations: 3.938 kB / 497.2 MB, free: 4.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001343/0.124, allocations: 0.5296 MB / 497.8 MB, free: 3.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.124, allocations: 81.09 kB / 497.8 MB, free: 3.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008717/0.1249, allocations: 0.8503 MB / 498.7 MB, free: 2.516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1249, allocations: 29.7 kB / 498.7 MB, free: 2.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.1251, allocations: 236.3 kB / 498.9 MB, free: 2.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.1252, allocations: 63.2 kB / 499 MB, free: 2.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.1252, allocations: 4 kB / 499 MB, free: 2.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1254, allocations: 366.7 kB / 499.4 MB, free: 1.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1255, allocations: 59.95 kB / 499.4 MB, free: 1.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.1257, allocations: 89.48 kB / 499.5 MB, free: 1.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.126, allocations: 145.6 kB / 499.7 MB, free: 1.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.126, allocations: 4 kB / 499.7 MB, free: 1.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004254/0.1265, allocations: 237 kB / 499.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1265, allocations: 4 kB / 499.9 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1265, allocations: 0 / 499.9 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1265, allocations: 4 kB / 499.9 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.1267, allocations: 39.97 kB / 499.9 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1267, allocations: 0 / 499.9 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.1268, allocations: 23.89 kB / 500 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1269, allocations: 8 kB / 500 MB, free: 1.191 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.0001934/0.1271, allocations: 209.7 kB / 0.4884 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.901e-05/0.1272, allocations: 51.34 kB / 0.4885 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/0.1277, allocations: 282.8 kB / 0.4888 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1278, allocations: 4 kB / 0.4888 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1278, allocations: 4 kB / 0.4888 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1278, allocations: 3.984 kB / 0.4888 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1999/0.3277, allocations: 0.7593 MB / 0.4895 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3277, allocations: 0.9844 kB / 0.4895 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.3279, allocations: 47.62 kB / 0.4896 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3279, allocations: 1.469 kB / 0.4896 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.328, allocations: 5.344 kB / 0.4896 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.328, allocations: 4.75 kB / 0.4896 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.328, allocations: 1.484 kB / 0.4896 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/0.3285, allocations: 422.5 kB / 0.49 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.3287, allocations: 141.1 kB / 0.4901 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.3287, allocations: 5.797 kB / 0.4901 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3289, allocations: 23.78 kB / 0.4901 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.329, allocations: 12.47 kB / 0.4902 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.329, allocations: 6.109 kB / 0.4902 GB, free: 42.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007019/0.3297, allocations: 0.6163 MB / 0.4908 GB, free: 42.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3297, allocations: 0 / 0.4908 GB, free: 42.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003429/0.3301, allocations: 54.2 kB / 0.4908 GB, free: 42.61 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.0007857/0.3309, allocations: 403.4 kB / 0.4912 GB, free: 42.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.3313, allocations: 158.2 kB / 0.4914 GB, free: 42.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3313, allocations: 3.625 kB / 0.4914 GB, free: 42.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.3315, allocations: 84.98 kB / 0.4914 GB, free: 42.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/0.3321, allocations: 63.42 kB / 0.4915 GB, free: 42.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.3333, allocations: 0.9543 MB / 0.4924 GB, free: 42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.3336, allocations: 0.8423 MB / 0.4932 GB, free: 41.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.3337, allocations: 37.33 kB / 0.4933 GB, free: 41.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3337, allocations: 0 / 0.4933 GB, free: 41.29 MB / 378.7 MB Notification: Performance of Templates: time 0.007255/0.341, allocations: 5.253 MB / 0.4984 GB, free: 40.74 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