Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002195/0.002195, allocations: 179.4 kB / 8.364 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 2.056/2.056, 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.001141/0.00114, allocations: 92.69 kB / 262.1 MB, free: 13.88 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.3252/0.3252, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.454e-05, allocations: 8 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3957, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.5597, allocations: 87.18 MB / 0.551 GB, free: 12.13 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.5601, allocations: 79.45 kB / 0.5511 GB, free: 12.05 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02532/0.5854, allocations: 5.629 MB / 0.5566 GB, free: 6.43 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.5855, allocations: 4 kB / 0.5566 GB, free: 6.426 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.5855, allocations: 7.938 kB / 0.5566 GB, free: 6.418 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.0005877/0.5861, allocations: 382.3 kB / 0.557 GB, free: 6 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.5861, allocations: 8.031 kB / 0.557 GB, free: 5.992 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.5862, allocations: 7.906 kB / 0.557 GB, free: 5.984 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.5866, allocations: 214.8 kB / 0.5572 GB, free: 5.734 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5866, allocations: 4 kB / 0.5572 GB, free: 5.73 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.5867, allocations: 0 / 0.5572 GB, free: 5.73 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000103/0.5868, allocations: 23.98 kB / 0.5572 GB, free: 5.707 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.587, allocations: 63.39 kB / 0.5573 GB, free: 5.633 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.587, allocations: 0 / 0.5573 GB, free: 5.633 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.587, allocations: 0 / 0.5573 GB, free: 5.633 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.587, allocations: 4 kB / 0.5573 GB, free: 5.629 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.5875, allocations: 261.4 kB / 0.5576 GB, free: 5.336 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.5877, allocations: 58.67 kB / 0.5576 GB, free: 5.27 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.5877, allocations: 16.98 kB / 0.5576 GB, free: 5.25 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.5878, allocations: 0 / 0.5576 GB, free: 5.25 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.5879, allocations: 63.39 kB / 0.5577 GB, free: 5.176 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.588, allocations: 3.938 kB / 0.5577 GB, free: 5.172 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006035/0.5886, allocations: 149.2 kB / 0.5578 GB, free: 5.02 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.5887, allocations: 81.11 kB / 0.5579 GB, free: 4.922 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.5889, allocations: 140.4 kB / 0.558 GB, free: 4.781 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.5889, allocations: 29.7 kB / 0.5581 GB, free: 4.746 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.589, allocations: 158.6 kB / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.5891, allocations: 23.66 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.5891, allocations: 0 / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.5893, allocations: 314.8 kB / 0.5585 GB, free: 4.25 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.5893, allocations: 20 kB / 0.5586 GB, free: 4.23 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.607e-05/0.5894, allocations: 46.45 kB / 0.5586 GB, free: 4.176 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.783e-05/0.5895, allocations: 23.98 kB / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.5895, allocations: 0 / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002327/0.5898, allocations: 81.67 kB / 0.5587 GB, free: 4.066 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5898, allocations: 4 kB / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.5898, allocations: 0 / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.5898, allocations: 3.953 kB / 0.5587 GB, free: 4.059 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.59, allocations: 24.17 kB / 0.5587 GB, free: 4.035 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.59, allocations: 4 kB / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.729e-05/0.5902, allocations: 4 kB / 0.5587 GB, free: 4.027 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.5902, allocations: 4 kB / 0.5588 GB, free: 4.023 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.000107/0.5903, allocations: 109 kB / 0.5589 GB, free: 3.91 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.5903, allocations: 11.91 kB / 0.5589 GB, free: 3.898 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.5907, allocations: 106.1 kB / 0.559 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5907, allocations: 0 / 0.559 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5907, allocations: 3.953 kB / 0.559 GB, free: 3.785 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5907, allocations: 7.984 kB / 0.559 GB, free: 3.777 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000602/0.5913, allocations: 363.9 kB / 0.5593 GB, free: 3.375 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.5914, allocations: 0 / 0.5593 GB, free: 3.375 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.5915, allocations: 12 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.5915, allocations: 0 / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.5915, allocations: 7.938 kB / 0.5593 GB, free: 3.355 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.5915, allocations: 4 kB / 0.5594 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5915, allocations: 0 / 0.5594 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.5919, allocations: 214 kB / 0.5596 GB, free: 3.117 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.592, allocations: 85.02 kB / 0.5596 GB, free: 3.016 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.592, allocations: 11.88 kB / 0.5596 GB, free: 3.004 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.5921, allocations: 4.375 kB / 0.5597 GB, free: 3 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.5922, allocations: 8 kB / 0.5597 GB, free: 2.992 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.5922, allocations: 7.984 kB / 0.5597 GB, free: 2.984 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.5924, allocations: 115.3 kB / 0.5598 GB, free: 2.871 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5924, allocations: 7.875 kB / 0.5598 GB, free: 2.863 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.5928, allocations: 35.94 kB / 0.5598 GB, free: 2.828 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.001354/0.5942, allocations: 433.1 kB / 0.5602 GB, free: 2.445 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.5945, allocations: 55.94 kB / 0.5603 GB, free: 2.391 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5945, allocations: 0 / 0.5603 GB, free: 2.391 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/0.5946, allocations: 28 kB / 0.5603 GB, free: 2.363 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.595, allocations: 31.77 kB / 0.5603 GB, free: 2.332 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.5955, allocations: 155.7 kB / 0.5605 GB, free: 2.145 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.5958, allocations: 0.7119 MB / 0.5612 GB, free: 1.406 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.5959, allocations: 15.44 kB / 0.5612 GB, free: 1.391 MB / 395.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5959, allocations: 0 / 0.5612 GB, free: 1.391 MB / 395.1 MB Notification: Performance of Templates: time 0.006073/0.602, allocations: 2.064 MB / 0.5632 GB, free: 15.33 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches