Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001113, allocations: 183.2 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.507/1.507, allocations: 205.2 MB / 218.9 MB, free: 9.137 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.0008263/0.0008264, allocations: 89.02 kB / 267.1 MB, free: 9.273 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.3758/0.3758, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.391e-05, allocations: 4 kB / 425.3 MB, free: 8.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 58.85 MB / 484.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3642/0.4951, allocations: 87.58 MB / 0.5583 GB, free: 1.414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.4954, allocations: 73.75 kB / 0.5584 GB, free: 1.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01365/0.5091, allocations: 5.181 MB / 0.5635 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5091, allocations: 0.5469 kB / 0.5635 GB, free: 12.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.5091, allocations: 4 kB / 0.5635 GB, free: 12.2 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004649/0.5096, allocations: 383.9 kB / 0.5638 GB, free: 11.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5097, allocations: 8.031 kB / 0.5638 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.5097, allocations: 11.34 kB / 0.5639 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.51, allocations: 215.4 kB / 0.5641 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.5101, allocations: 8 kB / 0.5641 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.5101, allocations: 4 kB / 0.5641 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.5102, allocations: 53.67 kB / 0.5641 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.5102, allocations: 0 / 0.5641 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5102, allocations: 1.375 kB / 0.5641 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.5103, allocations: 0 / 0.5641 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.309e-05/0.5103, allocations: 23.92 kB / 0.5642 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.5107, allocations: 284.9 kB / 0.5644 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.5109, allocations: 58.69 kB / 0.5645 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.5109, allocations: 16.98 kB / 0.5645 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.5109, allocations: 0 / 0.5645 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.5111, allocations: 75.23 kB / 0.5646 GB, free: 10.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.5111, allocations: 3.828 kB / 0.5646 GB, free: 10.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004314/0.5115, allocations: 153.3 kB / 0.5647 GB, free: 10.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.5116, allocations: 59.39 kB / 0.5648 GB, free: 10.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.5117, allocations: 142.2 kB / 0.5649 GB, free: 10.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.5117, allocations: 29.7 kB / 0.5649 GB, free: 10.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.5118, allocations: 100.1 kB / 0.565 GB, free: 10.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.5118, allocations: 23.7 kB / 0.5651 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.5118, allocations: 4 kB / 0.5651 GB, free: 10.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.512, allocations: 323.7 kB / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.512, allocations: 20 kB / 0.5654 GB, free: 10.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.751e-05/0.5121, allocations: 37.7 kB / 0.5654 GB, free: 9.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.5121, allocations: 19.28 kB / 0.5654 GB, free: 9.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5121, allocations: 4 kB / 0.5654 GB, free: 9.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001408/0.5123, allocations: 97.52 kB / 0.5655 GB, free: 9.867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.5123, allocations: 4 kB / 0.5655 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.5123, allocations: 0 / 0.5655 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.5123, allocations: 4 kB / 0.5655 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.5124, allocations: 20.02 kB / 0.5656 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.5124, allocations: 7.891 kB / 0.5656 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.5125, allocations: 8 kB / 0.5656 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.5125, allocations: 4 kB / 0.5656 GB, free: 9.82 MB / 394.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 (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 7.368e-05/0.5126, allocations: 106.3 kB / 0.5657 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.5126, allocations: 15.81 kB / 0.5657 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.5128, allocations: 114.2 kB / 0.5658 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.5129, allocations: 4 kB / 0.5658 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5129, allocations: 4.188 kB / 0.5658 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.5129, allocations: 7.953 kB / 0.5658 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.5133, allocations: 399.5 kB / 0.5662 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5133, allocations: 4 kB / 0.5662 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.5133, allocations: 8 kB / 0.5662 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5133, allocations: 0 / 0.5662 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.5134, allocations: 0 / 0.5662 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.5134, allocations: 7.953 kB / 0.5662 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5134, allocations: 4.031 kB / 0.5662 GB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.5136, allocations: 217.9 kB / 0.5664 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.5137, allocations: 92.86 kB / 0.5665 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.5137, allocations: 7.953 kB / 0.5665 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.5138, allocations: 7.984 kB / 0.5665 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.5138, allocations: 8 kB / 0.5665 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.5138, allocations: 0 / 0.5665 GB, free: 8.723 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.5139, allocations: 131.6 kB / 0.5667 GB, free: 8.598 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5139, allocations: 3.938 kB / 0.5667 GB, free: 8.594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.5142, allocations: 31.94 kB / 0.5667 GB, free: 8.562 MB / 394.7 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.0009713/0.5152, allocations: 429.8 kB / 0.5671 GB, free: 8.207 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.5153, allocations: 55.92 kB / 0.5672 GB, free: 8.152 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5153, allocations: 0 / 0.5672 GB, free: 8.152 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.5154, allocations: 31.94 kB / 0.5672 GB, free: 8.121 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.5157, allocations: 19.98 kB / 0.5672 GB, free: 8.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.516, allocations: 151.7 kB / 0.5674 GB, free: 7.934 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.5163, allocations: 0.7043 MB / 0.5681 GB, free: 7.203 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.899e-05/0.5164, allocations: 14.34 kB / 0.5681 GB, free: 7.191 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.5165, allocations: 23.42 kB / 0.5681 GB, free: 7.168 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5165, allocations: 0 / 0.5681 GB, free: 7.168 MB / 394.7 MB Notification: Performance of Templates: time 0.004175/0.5206, allocations: 1.643 MB / 0.5697 GB, free: 5.539 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches