Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 177.8 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008461/0.0008461, allocations: 90.3 kB / 261.7 MB, free: 1.684 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.2368/0.2368, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.26e-05/1.263e-05, allocations: 0 / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3721/0.4886, allocations: 85.84 MB / 0.5498 GB, free: 8.863 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.4888, allocations: 75.92 kB / 0.5498 GB, free: 8.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009206/0.498, allocations: 4.226 MB / 0.554 GB, free: 5.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4981, allocations: 0 / 0.554 GB, free: 5.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.4981, allocations: 4 kB / 0.554 GB, free: 5.414 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002825/0.4984, allocations: 401.4 kB / 0.5543 GB, free: 4.984 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.4984, allocations: 8.031 kB / 0.5543 GB, free: 4.977 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.4985, allocations: 15.81 kB / 0.5544 GB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.4987, allocations: 213.7 kB / 0.5546 GB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.4987, allocations: 0 / 0.5546 GB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.4987, allocations: 7.938 kB / 0.5546 GB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.087e-05/0.4988, allocations: 28.14 kB / 0.5546 GB, free: 4.695 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.435e-05/0.4989, allocations: 69.83 kB / 0.5547 GB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4989, allocations: 0 / 0.5547 GB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.4989, allocations: 0 / 0.5547 GB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4989, allocations: 7.938 kB / 0.5547 GB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.4993, allocations: 380.6 kB / 0.555 GB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.4995, allocations: 71.95 kB / 0.5551 GB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.4995, allocations: 29.39 kB / 0.5551 GB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.4995, allocations: 3.562 kB / 0.5551 GB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.102e-05/0.4995, allocations: 34.66 kB / 0.5552 GB, free: 4.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.4995, allocations: 4 kB / 0.5552 GB, free: 4.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004365/0.5, allocations: 184.5 kB / 0.5554 GB, free: 3.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.5, allocations: 81.06 kB / 0.5554 GB, free: 3.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.5002, allocations: 197 kB / 0.5556 GB, free: 3.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.5002, allocations: 25.7 kB / 0.5556 GB, free: 3.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.5002, allocations: 113.5 kB / 0.5558 GB, free: 3.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.5003, allocations: 31.42 kB / 0.5558 GB, free: 3.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.5003, allocations: 4 kB / 0.5558 GB, free: 3.473 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.5003, allocations: 325.4 kB / 0.5561 GB, free: 3.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.5004, allocations: 23.05 kB / 0.5561 GB, free: 3.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.194e-05/0.5004, allocations: 32.72 kB / 0.5561 GB, free: 3.105 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/0.5004, allocations: 30.05 kB / 0.5562 GB, free: 3.086 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5004, allocations: 0 / 0.5562 GB, free: 3.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001115/0.5006, allocations: 98.11 kB / 0.5563 GB, free: 3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.5006, allocations: 4 kB / 0.5563 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5006, allocations: 4 kB / 0.5563 GB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.5006, allocations: 4 kB / 0.5563 GB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.5007, allocations: 24.17 kB / 0.5563 GB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5007, allocations: 4 kB / 0.5563 GB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.5008, allocations: 15.94 kB / 0.5563 GB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.5008, allocations: 6.688 kB / 0.5563 GB, free: 2.941 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 4.03e-05/0.5008, allocations: 101 kB / 0.5564 GB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.5009, allocations: 11.91 kB / 0.5564 GB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.5011, allocations: 133.8 kB / 0.5566 GB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.5011, allocations: 0 / 0.5566 GB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.5011, allocations: 3.938 kB / 0.5566 GB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5011, allocations: 4 kB / 0.5566 GB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.5015, allocations: 477 kB / 0.557 GB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.5015, allocations: 4.031 kB / 0.557 GB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.626e-05/0.5016, allocations: 23.92 kB / 0.5571 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.5016, allocations: 4 kB / 0.5571 GB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.5016, allocations: 192 / 0.5571 GB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5016, allocations: 0 / 0.5571 GB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5016, allocations: 11.94 kB / 0.5571 GB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.5017, allocations: 308.6 kB / 0.5574 GB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.5018, allocations: 89.02 kB / 0.5574 GB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.5018, allocations: 7.953 kB / 0.5575 GB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.971e-05/0.5019, allocations: 7.984 kB / 0.5575 GB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.502, allocations: 11.86 kB / 0.5575 GB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.502, allocations: 4 kB / 0.5575 GB, free: 1.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.872e-05/0.5021, allocations: 163.4 kB / 0.5576 GB, free: 1.617 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5021, allocations: 0 / 0.5576 GB, free: 1.617 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002626/0.5023, allocations: 23.98 kB / 0.5577 GB, free: 1.594 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006465/0.503, allocations: 339.1 kB / 0.558 GB, free: 1.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.5031, allocations: 59.23 kB / 0.558 GB, free: 1.266 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5032, allocations: 0 / 0.558 GB, free: 1.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/0.5032, allocations: 43.61 kB / 0.5581 GB, free: 1.234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.5034, allocations: 7.984 kB / 0.5581 GB, free: 1.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.5038, allocations: 232.6 kB / 0.5583 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.5039, allocations: 0.7204 MB / 0.559 GB, free: 260 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.565e-05/0.504, allocations: 28.39 kB / 0.559 GB, free: 232 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.504, allocations: 15.44 kB / 0.5591 GB, free: 216 kB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.504, allocations: 0 / 0.5591 GB, free: 216 kB / 362.7 MB Notification: Performance of Templates: time 0.003376/0.5074, allocations: 1.285 MB / 0.5603 GB, free: 14.95 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches