Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.604/1.604, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.0007735/0.000774, allocations: 98.28 kB / 271.9 MB, free: 8.23 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.3821/0.3821, allocations: 43.56 MB / 363.8 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004241, allocations: 20 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 58.85 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3431/0.4783, allocations: 88.75 MB / 0.5666 GB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4786, allocations: 74.73 kB / 0.5667 GB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01136/0.49, allocations: 4.264 MB / 0.5708 GB, free: 9.195 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4901, allocations: 0 / 0.5708 GB, free: 9.195 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.4901, allocations: 4 kB / 0.5708 GB, free: 9.191 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005686/0.4907, allocations: 484.4 kB / 0.5713 GB, free: 8.664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4907, allocations: 8.031 kB / 0.5713 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.4908, allocations: 20.73 kB / 0.5713 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.4911, allocations: 236.3 kB / 0.5716 GB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.4911, allocations: 4.375 kB / 0.5716 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.4911, allocations: 8.375 kB / 0.5716 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.4914, allocations: 115.3 kB / 0.5717 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4914, allocations: 192 / 0.5717 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.4914, allocations: 3.938 kB / 0.5717 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4914, allocations: 0 / 0.5717 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.4916, allocations: 57.03 kB / 0.5717 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.4922, allocations: 0.5165 MB / 0.5722 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.4925, allocations: 90.66 kB / 0.5723 GB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.4926, allocations: 44.83 kB / 0.5724 GB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.4926, allocations: 0 / 0.5724 GB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.4928, allocations: 91.3 kB / 0.5725 GB, free: 7.352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.4928, allocations: 3.094 kB / 0.5725 GB, free: 7.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003989/0.4932, allocations: 149.5 kB / 0.5726 GB, free: 7.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.4933, allocations: 55.41 kB / 0.5727 GB, free: 7.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.4935, allocations: 191.4 kB / 0.5728 GB, free: 6.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.4935, allocations: 37.7 kB / 0.5729 GB, free: 6.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.4936, allocations: 112 kB / 0.573 GB, free: 6.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.4936, allocations: 27.64 kB / 0.573 GB, free: 6.746 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-06/0.4936, allocations: 11.94 kB / 0.573 GB, free: 6.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4938, allocations: 330.8 kB / 0.5733 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-05/0.4938, allocations: 27.98 kB / 0.5734 GB, free: 6.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.494, allocations: 72.48 kB / 0.5734 GB, free: 6.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.4942, allocations: 104.2 kB / 0.5735 GB, free: 6.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.4942, allocations: 0 / 0.5735 GB, free: 6.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002679/0.4944, allocations: 141.9 kB / 0.5737 GB, free: 6.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4945, allocations: 12.64 kB / 0.5737 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4945, allocations: 0 / 0.5737 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4945, allocations: 0 / 0.5737 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4946, allocations: 28.67 kB / 0.5737 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.4946, allocations: 7.938 kB / 0.5737 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/0.4947, allocations: 11.91 kB / 0.5737 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.4947, allocations: 7.938 kB / 0.5737 GB, free: 5.961 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001179/0.4949, allocations: 130.3 kB / 0.5739 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.4949, allocations: 11.81 kB / 0.5739 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.4952, allocations: 145.1 kB / 0.574 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4952, allocations: 4 kB / 0.574 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4952, allocations: 0 / 0.574 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4952, allocations: 0 / 0.574 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.4955, allocations: 217.5 kB / 0.5742 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4955, allocations: 0 / 0.5742 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.948e-05/0.4956, allocations: 12 kB / 0.5742 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.4956, allocations: 4 kB / 0.5742 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.4956, allocations: 0 / 0.5742 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.4956, allocations: 7.984 kB / 0.5742 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4956, allocations: 3.938 kB / 0.5742 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.496, allocations: 196.8 kB / 0.5744 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.4961, allocations: 93.03 kB / 0.5745 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.4961, allocations: 0 / 0.5745 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.4962, allocations: 16.05 kB / 0.5745 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.4963, allocations: 4 kB / 0.5745 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.4963, allocations: 11.75 kB / 0.5746 GB, free: 5.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.4964, allocations: 141.1 kB / 0.5747 GB, free: 4.895 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4964, allocations: 3.938 kB / 0.5747 GB, free: 4.891 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.4967, allocations: 39.95 kB / 0.5747 GB, free: 4.852 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009797/0.4977, allocations: 431 kB / 0.5751 GB, free: 4.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.4979, allocations: 87.83 kB / 0.5752 GB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4979, allocations: 0 / 0.5752 GB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.4981, allocations: 39.98 kB / 0.5753 GB, free: 4.402 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.4984, allocations: 32.22 kB / 0.5753 GB, free: 4.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.4989, allocations: 333.8 kB / 0.5756 GB, free: 4.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.4992, allocations: 0.7165 MB / 0.5763 GB, free: 3.281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.4992, allocations: 15.44 kB / 0.5763 GB, free: 3.27 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4992, allocations: 384 / 0.5763 GB, free: 3.27 MB / 394.7 MB Notification: Performance of Templates: time 0.003832/0.5031, allocations: 2.165 MB / 0.5784 GB, free: 1.109 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches