Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001479, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.944/1.944, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001149/0.001149, allocations: 96.36 kB / 270.9 MB, free: 8.387 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.4998/0.4998, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005111/0.0005108, allocations: 20 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 58.84 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.57, allocations: 87.54 MB / 0.5642 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.5703, allocations: 75.97 kB / 0.5643 GB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02354/0.5939, allocations: 5.228 MB / 0.5694 GB, free: 9.785 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.594, allocations: 0 / 0.5694 GB, free: 9.785 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.594, allocations: 4 kB / 0.5694 GB, free: 9.781 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006357/0.5946, allocations: 423 kB / 0.5698 GB, free: 9.328 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5947, allocations: 8.031 kB / 0.5698 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.5947, allocations: 11.91 kB / 0.5698 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.5951, allocations: 217.4 kB / 0.57 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.5952, allocations: 0 / 0.57 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.5952, allocations: 4 kB / 0.57 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.5954, allocations: 45.67 kB / 0.5701 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.5954, allocations: 0 / 0.5701 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.5954, allocations: 4 kB / 0.5701 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5954, allocations: 0 / 0.5701 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.5956, allocations: 17.02 kB / 0.5701 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.5958, allocations: 189.5 kB / 0.5703 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.5961, allocations: 66.59 kB / 0.5703 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.5961, allocations: 0 / 0.5703 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.5963, allocations: 63.48 kB / 0.5704 GB, free: 8.605 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.5963, allocations: 0 / 0.5704 GB, free: 8.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000429/0.5968, allocations: 102.2 kB / 0.5705 GB, free: 8.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.5968, allocations: 55.41 kB / 0.5706 GB, free: 8.434 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.5971, allocations: 165.4 kB / 0.5707 GB, free: 8.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.5971, allocations: 25.7 kB / 0.5707 GB, free: 8.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.5972, allocations: 166.6 kB / 0.5709 GB, free: 8.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.5972, allocations: 15.73 kB / 0.5709 GB, free: 8.055 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.5972, allocations: 0 / 0.5709 GB, free: 8.055 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5974, allocations: 318.8 kB / 0.5712 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.5975, allocations: 15.98 kB / 0.5712 GB, free: 7.719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.5976, allocations: 25.72 kB / 0.5713 GB, free: 7.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.841e-05/0.5977, allocations: 20.23 kB / 0.5713 GB, free: 7.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5977, allocations: 3.953 kB / 0.5713 GB, free: 7.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002287/0.5979, allocations: 77.62 kB / 0.5714 GB, free: 7.582 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.5979, allocations: 8 kB / 0.5714 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.598, allocations: 0 / 0.5714 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.598, allocations: 0 / 0.5714 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.5981, allocations: 11.98 kB / 0.5714 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5981, allocations: 7.969 kB / 0.5714 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/0.5982, allocations: 8 kB / 0.5714 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.5982, allocations: 4 kB / 0.5714 GB, free: 7.543 MB / 394.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001195/0.5984, allocations: 129.8 kB / 0.5715 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.5984, allocations: 11.86 kB / 0.5715 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.5987, allocations: 93.89 kB / 0.5716 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5987, allocations: 3.984 kB / 0.5716 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5988, allocations: 4 kB / 0.5716 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5988, allocations: 0 / 0.5716 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.599, allocations: 197.5 kB / 0.5718 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.599, allocations: 0 / 0.5718 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.5991, allocations: 11.89 kB / 0.5718 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5991, allocations: 4 kB / 0.5718 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.5991, allocations: 0 / 0.5718 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.5991, allocations: 0.7812 kB / 0.5718 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5991, allocations: 0 / 0.5718 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.5994, allocations: 113 kB / 0.5719 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.5995, allocations: 93 kB / 0.572 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.5995, allocations: 7.953 kB / 0.572 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.5996, allocations: 0 / 0.572 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.5997, allocations: 7.984 kB / 0.572 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.5997, allocations: 4.188 kB / 0.572 GB, free: 6.773 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.5999, allocations: 140.8 kB / 0.5722 GB, free: 6.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.988e-06/0.5999, allocations: 0 / 0.5722 GB, free: 6.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000285/0.6002, allocations: 23.94 kB / 0.5722 GB, free: 6.613 MB / 394.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: 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 (6): * Single equations (assignments): 4 * 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.001182/0.6014, allocations: 429.8 kB / 0.5726 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.6016, allocations: 39.98 kB / 0.5727 GB, free: 6.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6016, allocations: 0 / 0.5727 GB, free: 6.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.6017, allocations: 23.92 kB / 0.5727 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.6021, allocations: 19.98 kB / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005665/0.6027, allocations: 257.1 kB / 0.5729 GB, free: 5.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.6029, allocations: 0.7043 MB / 0.5736 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.603, allocations: 11.44 kB / 0.5736 GB, free: 5.191 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.603, allocations: 4 kB / 0.5736 GB, free: 5.188 MB / 394.7 MB Notification: Performance of Templates: time 0.004714/0.6077, allocations: 1.713 MB / 0.5753 GB, free: 3.48 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches