Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.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.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009653/0.0009652, allocations: 176.1 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.196/1.196, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.000731/0.0007311, allocations: 100.9 kB / 271.2 MB, free: 8.242 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.2771/0.2771, allocations: 43.57 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003232, allocations: 12 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09579/0.09613, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.001577/0.09774, allocations: 1.263 MB / 492.1 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004807/0.09824, allocations: 307.7 kB / 492.4 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.03e-05/0.09829, allocations: 4 kB / 492.4 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.09846, allocations: 19.92 kB / 492.4 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.09859, allocations: 27.91 kB / 492.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.09882, allocations: 83.84 kB / 492.5 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.09893, allocations: 47.84 kB / 492.6 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.09903, allocations: 23.95 kB / 492.6 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.09907, allocations: 11.94 kB / 492.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.09913, allocations: 23.86 kB / 492.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.09915, allocations: 0 / 492.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.355e-05/0.09922, allocations: 27.98 kB / 492.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.625e-05/0.09927, allocations: 11.98 kB / 492.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.09932, allocations: 45.52 kB / 492.7 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.09943, allocations: 55.91 kB / 492.8 MB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.09944, allocations: 0 / 492.8 MB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.09945, allocations: 0 / 492.8 MB, free: 8.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.09946, allocations: 0 / 492.8 MB, free: 8.934 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003913/0.09985, allocations: 391.4 kB / 493.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.09989, allocations: 8.031 kB / 493.1 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.09993, allocations: 12.84 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.1001, allocations: 192.2 kB / 493.3 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1001, allocations: 4.375 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.1001, allocations: 4.359 kB / 493.4 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1002, allocations: 53.81 kB / 493.4 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1003, allocations: 4 kB / 493.4 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.1003, allocations: 4 kB / 493.4 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1003, allocations: 0 / 493.4 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.1004, allocations: 23.98 kB / 493.4 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.1007, allocations: 296.7 kB / 493.7 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1009, allocations: 50.5 kB / 493.8 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.101, allocations: 20.94 kB / 493.8 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.101, allocations: 0 / 493.8 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.101, allocations: 30.56 kB / 493.8 MB, free: 7.699 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.101, allocations: 0 / 493.8 MB, free: 7.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005092/0.1016, allocations: 165.3 kB / 494 MB, free: 7.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.1016, allocations: 59.41 kB / 494 MB, free: 7.461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1017, allocations: 165.7 kB / 494.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1018, allocations: 25.7 kB / 494.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.1018, allocations: 96.08 kB / 494.3 MB, free: 7.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.1018, allocations: 23.73 kB / 494.4 MB, free: 7.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.1019, allocations: 0 / 494.4 MB, free: 7.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.1019, allocations: 322.8 kB / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.271e-05/0.102, allocations: 27.97 kB / 494.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.1021, allocations: 23.98 kB / 494.7 MB, free: 6.762 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1022, allocations: 64.77 kB / 494.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1023, allocations: 0 / 494.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001789/0.1024, allocations: 93.58 kB / 494.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1025, allocations: 11.58 kB / 494.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1025, allocations: 0 / 494.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.1025, allocations: 4 kB / 494.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.037e-05/0.1026, allocations: 8 kB / 494.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.1026, allocations: 7.938 kB / 494.9 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.1026, allocations: 11.98 kB / 494.9 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1026, allocations: 0 / 494.9 MB, free: 6.559 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 8.415e-05/0.1027, allocations: 129.7 kB / 495 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.1027, allocations: 7.906 kB / 495.1 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.103, allocations: 110.2 kB / 495.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.103, allocations: 4 kB / 495.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.103, allocations: 0 / 495.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.103, allocations: 4.281 kB / 495.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.1034, allocations: 362.4 kB / 495.5 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1034, allocations: 4 kB / 495.5 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.1035, allocations: 15.98 kB / 495.5 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1035, allocations: 3.984 kB / 495.5 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1035, allocations: 4 kB / 495.5 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.954e-06/0.1035, allocations: 7.938 kB / 495.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1035, allocations: 0 / 495.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.1037, allocations: 191.4 kB / 495.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.1038, allocations: 85.02 kB / 495.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1038, allocations: 0 / 495.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.1039, allocations: 15.92 kB / 495.8 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1039, allocations: 4 kB / 495.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.1039, allocations: 0 / 495.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.731e-05/0.104, allocations: 134.7 kB / 496 MB, free: 5.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.104, allocations: 0 / 496 MB, free: 5.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000225/0.1042, allocations: 15.98 kB / 496 MB, free: 5.375 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.0007589/0.105, allocations: 402.1 kB / 496.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.1052, allocations: 63.95 kB / 496.4 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1052, allocations: 0 / 496.4 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.739e-05/0.1053, allocations: 31.92 kB / 496.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1056, allocations: 15.92 kB / 496.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.1059, allocations: 235.3 kB / 496.7 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.1062, allocations: 0.7043 MB / 497.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.1062, allocations: 11.44 kB / 497.4 MB, free: 3.902 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1062, allocations: 0 / 497.4 MB, free: 3.902 MB / 378.7 MB Notification: Performance of Templates: time 0.002583/0.1088, allocations: 1.415 MB / 498.9 MB, free: 2.488 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches