Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008604/0.0008604, allocations: 170.7 kB / 16.72 MB, free: 5.055 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.238/1.238, 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.000714/0.000714, allocations: 88.97 kB / 271.2 MB, free: 8.254 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.2928/0.2928, allocations: 43.56 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 16 kB / 432 MB, free: 5.605 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.09389, allocations: 58.85 MB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.002141/0.09608, allocations: 1.683 MB / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.09739, allocations: 0.9253 MB / 493.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.09748, allocations: 4 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.09767, allocations: 35.78 kB / 493.5 MB, free: 8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.09794, allocations: 131.5 kB / 493.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007461/0.0987, allocations: 371.3 kB / 494 MB, free: 7.508 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.09896, allocations: 239.2 kB / 494.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.09911, allocations: 60.53 kB / 494.3 MB, free: 7.215 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.09926, allocations: 111.5 kB / 494.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.09947, allocations: 171.4 kB / 494.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.09952, allocations: 8 kB / 494.5 MB, free: 6.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.962e-05/0.0996, allocations: 27.98 kB / 494.6 MB, free: 6.902 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.09974, allocations: 131.6 kB / 494.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.09987, allocations: 172.6 kB / 494.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.1001, allocations: 259.8 kB / 495.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1001, allocations: 0 / 495.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1001, allocations: 0 / 495.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1002, allocations: 4 kB / 495.1 MB, free: 6.34 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.0008357/0.101, allocations: 0.7 MB / 495.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.101, allocations: 8.031 kB / 495.8 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.1011, allocations: 52.28 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.1016, allocations: 447.8 kB / 496.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1016, allocations: 12.38 kB / 496.3 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.1016, allocations: 24.11 kB / 496.3 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.1019, allocations: 143.3 kB / 496.5 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1019, allocations: 3.906 kB / 496.5 MB, free: 4.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.102, allocations: 4 kB / 496.5 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.102, allocations: 8 kB / 496.5 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.1023, allocations: 119.8 kB / 496.6 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008022/0.1031, allocations: 0.6645 MB / 497.3 MB, free: 4.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.1033, allocations: 129.2 kB / 497.4 MB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.1035, allocations: 77.8 kB / 497.5 MB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.1035, allocations: 8 kB / 497.5 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1036, allocations: 30.56 kB / 497.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.1036, allocations: 0 / 497.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001854/0.1054, allocations: 0.7362 MB / 498.3 MB, free: 2.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1055, allocations: 81.2 kB / 498.3 MB, free: 2.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007951/0.1063, allocations: 0.8465 MB / 499.2 MB, free: 2.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.1063, allocations: 33.7 kB / 499.2 MB, free: 2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1065, allocations: 252.2 kB / 499.5 MB, free: 1.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.1065, allocations: 63.02 kB / 499.5 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.1066, allocations: 4 kB / 499.5 MB, free: 1.684 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1067, allocations: 370.7 kB / 499.9 MB, free: 1.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.1069, allocations: 107.9 kB / 500 MB, free: 1.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.1072, allocations: 125.6 kB / 0.4884 GB, free: 1.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.1077, allocations: 241.5 kB / 0.4886 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1077, allocations: 0 / 0.4886 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006376/0.1084, allocations: 332.9 kB / 0.4889 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1084, allocations: 4.094 kB / 0.489 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1084, allocations: 3.938 kB / 0.489 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1084, allocations: 4 kB / 0.489 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.1087, allocations: 59.94 kB / 0.489 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1087, allocations: 4.219 kB / 0.489 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.1089, allocations: 27.98 kB / 0.489 GB, free: 412 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.1089, allocations: 15.92 kB / 0.4891 GB, free: 396 kB / 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 (20): * Single equations (assignments): 20 * 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.0001788/0.1091, allocations: 209.7 kB / 0.4893 GB, free: 176 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.1092, allocations: 51.34 kB / 0.4893 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1596/0.2688, allocations: 384.6 kB / 0.4897 GB, free: 43.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.2689, allocations: 3.188 kB / 0.4897 GB, free: 43.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.2689, allocations: 0.5625 kB / 0.4897 GB, free: 43.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.2689, allocations: 3.281 kB / 0.4897 GB, free: 43.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.2702, allocations: 0.9018 MB / 0.4906 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.2703, allocations: 1.312 kB / 0.4906 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.2705, allocations: 62.28 kB / 0.4906 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2705, allocations: 2.766 kB / 0.4906 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.2706, allocations: 11.83 kB / 0.4906 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2706, allocations: 2.438 kB / 0.4906 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2706, allocations: 4.031 kB / 0.4906 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.2713, allocations: 0.5002 MB / 0.4911 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.2714, allocations: 141.4 kB / 0.4913 GB, free: 42.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.2714, allocations: 6.734 kB / 0.4913 GB, free: 42.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.2717, allocations: 31.3 kB / 0.4913 GB, free: 42.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.2718, allocations: 17.25 kB / 0.4913 GB, free: 42.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.2718, allocations: 10.58 kB / 0.4913 GB, free: 42.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006744/0.2725, allocations: 0.6201 MB / 0.4919 GB, free: 42.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2725, allocations: 0 / 0.4919 GB, free: 42.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.2728, allocations: 60.91 kB / 0.492 GB, free: 42.4 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 (20): * Single equations (assignments): 20 * 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.0008272/0.2737, allocations: 405.6 kB / 0.4924 GB, free: 42.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006559/0.2743, allocations: 262.7 kB / 0.4926 GB, free: 42.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2743, allocations: 0 / 0.4926 GB, free: 42.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.2746, allocations: 139.4 kB / 0.4928 GB, free: 42.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.2753, allocations: 65.5 kB / 0.4928 GB, free: 42.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.2765, allocations: 1.003 MB / 0.4938 GB, free: 41.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.2768, allocations: 0.8526 MB / 0.4946 GB, free: 41.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.277, allocations: 44.47 kB / 0.4947 GB, free: 41.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.277, allocations: 0 / 0.4947 GB, free: 41.04 MB / 378.7 MB Notification: Performance of Templates: time 0.007903/0.2849, allocations: 5.679 MB / 0.5002 GB, free: 40.43 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches