Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002111/0.002111, allocations: 178 kB / 8.363 MB, free: 0.7148 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.985/1.985, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 92.28 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2904/0.2904, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.344e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4016, allocations: 58.86 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.5677, allocations: 86.92 MB / 0.5508 GB, free: 12.39 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.5681, allocations: 75.95 kB / 0.5509 GB, free: 12.32 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02427/0.5923, allocations: 5.346 MB / 0.5561 GB, free: 6.973 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5924, allocations: 0 / 0.5561 GB, free: 6.973 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.5924, allocations: 4 kB / 0.5561 GB, free: 6.969 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005968/0.593, allocations: 402.2 kB / 0.5565 GB, free: 6.531 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5931, allocations: 8.031 kB / 0.5565 GB, free: 6.523 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.5932, allocations: 15.81 kB / 0.5565 GB, free: 6.508 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.5936, allocations: 218.8 kB / 0.5567 GB, free: 6.254 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.5936, allocations: 0 / 0.5567 GB, free: 6.254 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.5937, allocations: 4 kB / 0.5567 GB, free: 6.25 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.505e-05/0.5938, allocations: 16 kB / 0.5567 GB, free: 6.234 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.5939, allocations: 53.61 kB / 0.5568 GB, free: 6.176 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5939, allocations: 4 kB / 0.5568 GB, free: 6.172 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.594, allocations: 0 / 0.5568 GB, free: 6.172 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.594, allocations: 7.938 kB / 0.5568 GB, free: 6.164 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.5945, allocations: 277.4 kB / 0.557 GB, free: 5.855 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.5946, allocations: 46.7 kB / 0.5571 GB, free: 5.801 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.5947, allocations: 20.97 kB / 0.5571 GB, free: 5.777 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.5947, allocations: 0 / 0.5571 GB, free: 5.777 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.5949, allocations: 71.34 kB / 0.5572 GB, free: 5.695 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.5949, allocations: 3.938 kB / 0.5572 GB, free: 5.691 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005894/0.5955, allocations: 157.2 kB / 0.5573 GB, free: 5.531 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.5956, allocations: 55.34 kB / 0.5574 GB, free: 5.465 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.5959, allocations: 189.5 kB / 0.5576 GB, free: 5.27 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.5959, allocations: 25.7 kB / 0.5576 GB, free: 5.238 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.596, allocations: 166.6 kB / 0.5577 GB, free: 5.074 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.5961, allocations: 23.72 kB / 0.5578 GB, free: 5.051 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.5961, allocations: 0 / 0.5578 GB, free: 5.051 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5962, allocations: 318.8 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.525e-05/0.5963, allocations: 16 kB / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.396e-05/0.5964, allocations: 29.72 kB / 0.5581 GB, free: 4.68 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.944e-05/0.5965, allocations: 19.98 kB / 0.5581 GB, free: 4.66 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5965, allocations: 0 / 0.5581 GB, free: 4.66 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002122/0.5967, allocations: 89.53 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5967, allocations: 8 kB / 0.5582 GB, free: 4.559 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5968, allocations: 0 / 0.5582 GB, free: 4.559 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5968, allocations: 0 / 0.5582 GB, free: 4.559 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.5969, allocations: 19.98 kB / 0.5583 GB, free: 4.539 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.597, allocations: 4 kB / 0.5583 GB, free: 4.535 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.044e-05/0.597, allocations: 3.938 kB / 0.5583 GB, free: 4.531 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.5971, allocations: 7.953 kB / 0.5583 GB, free: 4.523 MB / 395.1 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 (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 0.0001127/0.5972, allocations: 105 kB / 0.5584 GB, free: 4.414 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.5972, allocations: 19.88 kB / 0.5584 GB, free: 4.395 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.5976, allocations: 107.5 kB / 0.5585 GB, free: 4.285 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5976, allocations: 0 / 0.5585 GB, free: 4.285 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5976, allocations: 4.281 kB / 0.5585 GB, free: 4.281 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5976, allocations: 0 / 0.5585 GB, free: 4.281 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.5982, allocations: 383.7 kB / 0.5589 GB, free: 3.859 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5983, allocations: 7.938 kB / 0.5589 GB, free: 3.852 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.662e-05/0.5984, allocations: 11.94 kB / 0.5589 GB, free: 3.84 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.5984, allocations: 4.031 kB / 0.5589 GB, free: 3.836 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.5984, allocations: 4 kB / 0.5589 GB, free: 3.832 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.5984, allocations: 7.984 kB / 0.5589 GB, free: 3.824 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5984, allocations: 0 / 0.5589 GB, free: 3.824 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.5988, allocations: 209.9 kB / 0.5591 GB, free: 3.594 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.5989, allocations: 96.92 kB / 0.5592 GB, free: 3.48 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.5989, allocations: 7.938 kB / 0.5592 GB, free: 3.473 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.5991, allocations: 7.984 kB / 0.5592 GB, free: 3.465 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.5991, allocations: 7.953 kB / 0.5592 GB, free: 3.457 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.5991, allocations: 4 kB / 0.5592 GB, free: 3.453 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.5994, allocations: 152.2 kB / 0.5594 GB, free: 3.305 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5994, allocations: 4 kB / 0.5594 GB, free: 3.301 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.5998, allocations: 32 kB / 0.5594 GB, free: 3.27 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.00117/0.6009, allocations: 409.5 kB / 0.5598 GB, free: 2.914 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.6012, allocations: 59.92 kB / 0.5598 GB, free: 2.855 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6012, allocations: 0 / 0.5598 GB, free: 2.855 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.892e-05/0.6013, allocations: 31.94 kB / 0.5599 GB, free: 2.824 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.6017, allocations: 23.84 kB / 0.5599 GB, free: 2.801 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.6023, allocations: 203.8 kB / 0.5601 GB, free: 2.57 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.6027, allocations: 0.7159 MB / 0.5608 GB, free: 1.828 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.6027, allocations: 15.44 kB / 0.5608 GB, free: 1.812 MB / 395.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6027, allocations: 0 / 0.5608 GB, free: 1.812 MB / 395.1 MB Notification: Performance of Templates: time 0.005801/0.6086, allocations: 1.989 MB / 0.5627 GB, free: 15.83 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches