Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.408/1.408, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.000823/0.000823, allocations: 89 kB / 267 MB, free: 9.281 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.3409/0.3409, allocations: 43.47 MB / 358.6 MB, free: 52.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.365e-05/3.367e-05, allocations: 8 kB / 425.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.4682, allocations: 87.73 MB / 0.5585 GB, free: 1.301 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001582/0.4684, allocations: 71.95 kB / 0.5586 GB, free: 1.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01881/0.4872, allocations: 7.838 MB / 0.5662 GB, free: 9.438 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4873, allocations: 0 / 0.5662 GB, free: 9.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.4873, allocations: 7.938 kB / 0.5662 GB, free: 9.43 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005559/0.4878, allocations: 0.4961 MB / 0.5667 GB, free: 8.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4879, allocations: 8.031 kB / 0.5667 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.488, allocations: 31.62 kB / 0.5667 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.4884, allocations: 303.8 kB / 0.567 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.4885, allocations: 0 / 0.567 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.4885, allocations: 8 kB / 0.567 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.4886, allocations: 92.75 kB / 0.5671 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4887, allocations: 3.984 kB / 0.5671 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4887, allocations: 11.94 kB / 0.5671 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.4887, allocations: 0 / 0.5671 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.148e-05/0.4888, allocations: 43.94 kB / 0.5672 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.4894, allocations: 469 kB / 0.5676 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.4895, allocations: 113.4 kB / 0.5677 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/0.4896, allocations: 49.75 kB / 0.5678 GB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.4896, allocations: 0 / 0.5678 GB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.4898, allocations: 116.9 kB / 0.5679 GB, free: 7.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.4898, allocations: 0 / 0.5679 GB, free: 7.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006782/0.4905, allocations: 347.7 kB / 0.5682 GB, free: 7.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.4906, allocations: 77.11 kB / 0.5683 GB, free: 7.078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.491, allocations: 435.6 kB / 0.5687 GB, free: 6.652 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.4911, allocations: 26.83 kB / 0.5687 GB, free: 6.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.722e-05/0.4912, allocations: 160.4 kB / 0.5689 GB, free: 6.457 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.4912, allocations: 55.28 kB / 0.569 GB, free: 6.402 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-06/0.4912, allocations: 4 kB / 0.569 GB, free: 6.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4914, allocations: 350.8 kB / 0.5693 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/0.4915, allocations: 36 kB / 0.5693 GB, free: 6.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.169e-05/0.4915, allocations: 67.42 kB / 0.5694 GB, free: 5.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.131e-05/0.4916, allocations: 51.88 kB / 0.5694 GB, free: 5.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4916, allocations: 0 / 0.5694 GB, free: 5.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002618/0.4919, allocations: 177.2 kB / 0.5696 GB, free: 5.703 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4919, allocations: 8 kB / 0.5696 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4919, allocations: 0 / 0.5696 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.492, allocations: 4.844 kB / 0.5696 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4921, allocations: 31.92 kB / 0.5697 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4921, allocations: 4 kB / 0.5697 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.4922, allocations: 8 kB / 0.5697 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.4922, allocations: 8.297 kB / 0.5697 GB, free: 5.641 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.256e-05/0.4923, allocations: 121 kB / 0.5698 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.4924, allocations: 27.62 kB / 0.5698 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.4927, allocations: 228.3 kB / 0.57 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4928, allocations: 0 / 0.57 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4928, allocations: 4 kB / 0.57 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4928, allocations: 0 / 0.57 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000776/0.4936, allocations: 0.6945 MB / 0.5707 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4936, allocations: 3.938 kB / 0.5707 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.63e-05/0.4936, allocations: 23.94 kB / 0.5707 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4937, allocations: 4 kB / 0.5707 GB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.4937, allocations: 7.984 kB / 0.5708 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4937, allocations: 0 / 0.5708 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4937, allocations: 0 / 0.5708 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.494, allocations: 418.8 kB / 0.5712 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.4942, allocations: 129 kB / 0.5713 GB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.4942, allocations: 7.953 kB / 0.5713 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.4944, allocations: 19.98 kB / 0.5713 GB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.4944, allocations: 15.98 kB / 0.5713 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.4944, allocations: 4 kB / 0.5713 GB, free: 3.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003711/0.4948, allocations: 350.1 kB / 0.5717 GB, free: 3.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4948, allocations: 0 / 0.5717 GB, free: 3.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000318/0.4952, allocations: 63.83 kB / 0.5717 GB, free: 3.418 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009612/0.4961, allocations: 440.5 kB / 0.5721 GB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.4963, allocations: 116.1 kB / 0.5722 GB, free: 2.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4964, allocations: 3.938 kB / 0.5722 GB, free: 2.945 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.3e-05/0.4964, allocations: 68.06 kB / 0.5723 GB, free: 2.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.4968, allocations: 54.44 kB / 0.5724 GB, free: 2.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006737/0.4975, allocations: 450.4 kB / 0.5728 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.4978, allocations: 0.7831 MB / 0.5736 GB, free: 1.555 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.514e-05/0.498, allocations: 37.84 kB / 0.5736 GB, free: 1.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.498, allocations: 31.42 kB / 0.5736 GB, free: 1.488 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.498, allocations: 8 kB / 0.5736 GB, free: 1.48 MB / 394.7 MB Notification: Performance of Templates: time 0.005783/0.5038, allocations: 3.016 MB / 0.5766 GB, free: 14.48 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches