Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009512/0.0009513, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 221.4 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008348/0.0008348, allocations: 83.56 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1723/0.1723, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.86e-05, allocations: 8.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4575, allocations: 89.22 MB / 0.5888 GB, free: 108 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.4578, allocations: 71.97 kB / 0.5889 GB, free: 36 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01503/0.4729, allocations: 5.696 MB / 0.5945 GB, free: 10.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4729, allocations: 0 / 0.5945 GB, free: 10.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.4729, allocations: 8 kB / 0.5945 GB, free: 10.34 MB / 410.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.0004309/0.4734, allocations: 398.3 kB / 0.5949 GB, free: 9.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.4734, allocations: 8.031 kB / 0.5949 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.4735, allocations: 15.81 kB / 0.5949 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.4738, allocations: 215.4 kB / 0.5951 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.4738, allocations: 7.953 kB / 0.5951 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.4738, allocations: 7.922 kB / 0.5951 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.474, allocations: 49.69 kB / 0.5952 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.474, allocations: 7.938 kB / 0.5952 GB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.474, allocations: 4 kB / 0.5952 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.474, allocations: 3.984 kB / 0.5952 GB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.604e-05/0.4741, allocations: 19.98 kB / 0.5952 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.4745, allocations: 300.8 kB / 0.5955 GB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.4746, allocations: 58.62 kB / 0.5955 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.4746, allocations: 20.98 kB / 0.5955 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.4747, allocations: 0 / 0.5955 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.4748, allocations: 67.39 kB / 0.5956 GB, free: 9.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.4748, allocations: 0 / 0.5956 GB, free: 9.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004453/0.4753, allocations: 157.1 kB / 0.5958 GB, free: 8.859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.4753, allocations: 55.34 kB / 0.5958 GB, free: 8.793 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.4755, allocations: 198.4 kB / 0.596 GB, free: 8.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.4756, allocations: 25.7 kB / 0.596 GB, free: 8.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.4756, allocations: 112.1 kB / 0.5961 GB, free: 8.445 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.4757, allocations: 27.64 kB / 0.5962 GB, free: 8.418 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.4757, allocations: 0 / 0.5962 GB, free: 8.418 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4758, allocations: 330.8 kB / 0.5965 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.4758, allocations: 20 kB / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.4759, allocations: 33.66 kB / 0.5965 GB, free: 8.027 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.328e-05/0.4759, allocations: 19.98 kB / 0.5965 GB, free: 8.008 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.476, allocations: 4 kB / 0.5966 GB, free: 8.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001594/0.4761, allocations: 101.4 kB / 0.5966 GB, free: 7.898 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4761, allocations: 4 kB / 0.5967 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4762, allocations: 4 kB / 0.5967 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4762, allocations: 0 / 0.5967 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.633e-05/0.4763, allocations: 19.98 kB / 0.5967 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4763, allocations: 0 / 0.5967 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.281e-05/0.4764, allocations: 4.188 kB / 0.5967 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.4764, allocations: 8 kB / 0.5967 GB, free: 7.859 MB / 410.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 6.733e-05/0.4765, allocations: 113.5 kB / 0.5968 GB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.4765, allocations: 15.89 kB / 0.5968 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.4767, allocations: 111.1 kB / 0.5969 GB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4767, allocations: 3.984 kB / 0.5969 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4767, allocations: 0 / 0.5969 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4767, allocations: 4 kB / 0.5969 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.4772, allocations: 427.1 kB / 0.5973 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4772, allocations: 0 / 0.5973 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.4773, allocations: 15.92 kB / 0.5973 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4773, allocations: 0 / 0.5973 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.4773, allocations: 4 kB / 0.5973 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4773, allocations: 288 / 0.5974 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4773, allocations: 0 / 0.5974 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.4775, allocations: 225.9 kB / 0.5976 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.4776, allocations: 100.9 kB / 0.5977 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.4776, allocations: 0 / 0.5977 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.4777, allocations: 4 kB / 0.5977 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.4778, allocations: 15.94 kB / 0.5977 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.4778, allocations: 4 kB / 0.5977 GB, free: 6.715 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.4779, allocations: 156.2 kB / 0.5978 GB, free: 6.562 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4779, allocations: 0 / 0.5978 GB, free: 6.562 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.4782, allocations: 31.94 kB / 0.5979 GB, free: 6.531 MB / 410.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.0008934/0.4791, allocations: 434.5 kB / 0.5983 GB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.4792, allocations: 59.92 kB / 0.5983 GB, free: 6.164 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4792, allocations: 4.062 kB / 0.5983 GB, free: 6.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.545e-05/0.4793, allocations: 31.94 kB / 0.5984 GB, free: 6.129 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.4796, allocations: 23.97 kB / 0.5984 GB, free: 6.105 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.48, allocations: 182.9 kB / 0.5986 GB, free: 5.902 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.4803, allocations: 0.716 MB / 0.5993 GB, free: 5.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.277e-05/0.4803, allocations: 24.59 kB / 0.5993 GB, free: 5.137 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.4804, allocations: 15.44 kB / 0.5993 GB, free: 5.121 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4804, allocations: 0 / 0.5993 GB, free: 5.121 MB / 410.7 MB Notification: Performance of Templates: time 0.004095/0.4845, allocations: 1.743 MB / 0.601 GB, free: 3.391 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches