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.002222/0.002222, allocations: 180.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001066/0.001066, allocations: 82.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2792/0.2792, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.278e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 58.87 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4653/0.5764, allocations: 87.45 MB / 0.5582 GB, free: 184 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.5767, allocations: 71.72 kB / 0.5583 GB, free: 148 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02294/0.5996, allocations: 5.209 MB / 0.5634 GB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5997, allocations: 0 / 0.5634 GB, free: 11.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.5997, allocations: 0 / 0.5634 GB, free: 11.75 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005353/0.6002, allocations: 393.6 kB / 0.5637 GB, free: 11.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6003, allocations: 12.03 kB / 0.5637 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.6004, allocations: 11.41 kB / 0.5638 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.6008, allocations: 211.8 kB / 0.564 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.6008, allocations: 7.984 kB / 0.564 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.6008, allocations: 0 / 0.564 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.601, allocations: 49.42 kB / 0.564 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.601, allocations: 0 / 0.564 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.601, allocations: 0 / 0.564 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.601, allocations: 0 / 0.564 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.6011, allocations: 19.55 kB / 0.564 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002348/0.6014, allocations: 192.1 kB / 0.5642 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.6015, allocations: 49.44 kB / 0.5643 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.836e-05/0.6016, allocations: 19.92 kB / 0.5643 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.6016, allocations: 0 / 0.5643 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.6018, allocations: 66.42 kB / 0.5643 GB, free: 10.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.145e-06/0.6018, allocations: 4 kB / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002597/0.6021, allocations: 76.27 kB / 0.5644 GB, free: 10.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.6022, allocations: 55.41 kB / 0.5645 GB, free: 10.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.6024, allocations: 171.6 kB / 0.5646 GB, free: 10.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.6025, allocations: 25.7 kB / 0.5647 GB, free: 10.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.6025, allocations: 161.3 kB / 0.5648 GB, free: 10.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.6026, allocations: 19.73 kB / 0.5648 GB, free: 10.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.6026, allocations: 7.5 kB / 0.5648 GB, free: 10.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6027, allocations: 314.8 kB / 0.5651 GB, free: 9.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.65e-05/0.6028, allocations: 11.56 kB / 0.5652 GB, free: 9.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.6029, allocations: 32.72 kB / 0.5652 GB, free: 9.789 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.139e-05/0.603, allocations: 27.12 kB / 0.5652 GB, free: 9.766 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.603, allocations: 0 / 0.5652 GB, free: 9.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001758/0.6032, allocations: 71.25 kB / 0.5653 GB, free: 9.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.6032, allocations: 4 kB / 0.5653 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6032, allocations: 0 / 0.5653 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.6032, allocations: 0 / 0.5653 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.6034, allocations: 15.94 kB / 0.5653 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.6034, allocations: 3.984 kB / 0.5653 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.066e-05/0.6035, allocations: 8.031 kB / 0.5653 GB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.6035, allocations: 0 / 0.5653 GB, free: 9.672 MB / 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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 9.073e-05/0.6036, allocations: 112.5 kB / 0.5654 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.6037, allocations: 11.81 kB / 0.5654 GB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.6039, allocations: 85.33 kB / 0.5655 GB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6039, allocations: 4 kB / 0.5655 GB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6039, allocations: 7.922 kB / 0.5655 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.604, allocations: 0 / 0.5655 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.6042, allocations: 185.5 kB / 0.5657 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.6042, allocations: 7.953 kB / 0.5657 GB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.6042, allocations: 4 kB / 0.5657 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.6043, allocations: 0 / 0.5657 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.6043, allocations: 6.625 kB / 0.5657 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.6043, allocations: 0 / 0.5657 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6043, allocations: 0 / 0.5657 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.6045, allocations: 108.8 kB / 0.5658 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.6046, allocations: 92.88 kB / 0.5659 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.6047, allocations: 11.98 kB / 0.5659 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.6048, allocations: 7.75 kB / 0.5659 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.6048, allocations: 8 kB / 0.5659 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.6048, allocations: 0 / 0.5659 GB, free: 8.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001762/0.605, allocations: 150.3 kB / 0.5661 GB, free: 8.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.605, allocations: 0 / 0.5661 GB, free: 8.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.6053, allocations: 27.38 kB / 0.5661 GB, free: 8.828 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001129/0.6065, allocations: 382 kB / 0.5665 GB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.6067, allocations: 40.38 kB / 0.5665 GB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6067, allocations: 0 / 0.5665 GB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.039e-05/0.6068, allocations: 19.06 kB / 0.5665 GB, free: 8.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.6071, allocations: 31.17 kB / 0.5666 GB, free: 8.445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.6076, allocations: 162.8 kB / 0.5667 GB, free: 8.273 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.6079, allocations: 0.7122 MB / 0.5674 GB, free: 7.535 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.6079, allocations: 15.44 kB / 0.5674 GB, free: 7.52 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.608, allocations: 0 / 0.5674 GB, free: 7.52 MB / 378.7 MB Notification: Performance of Templates: time 0.005027/0.613, allocations: 1.694 MB / 0.5691 GB, free: 5.828 MB / 378.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