Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009947/0.0009946, allocations: 180.3 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.282/1.282, allocations: 221.3 MB / 236 MB, free: 2.891 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.0007839/0.0007838, allocations: 95.61 kB / 287 MB, free: 184 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.1804/0.1804, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.743e-05, allocations: 8.203 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3447/0.4513, allocations: 89.23 MB / 0.5889 GB, free: 80 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.4515, allocations: 71.88 kB / 0.5889 GB, free: 12 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01539/0.467, allocations: 5.883 MB / 0.5947 GB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.467, allocations: 4 kB / 0.5947 GB, free: 10.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.467, allocations: 4 kB / 0.5947 GB, free: 10.14 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.0004354/0.4675, allocations: 418.1 kB / 0.5951 GB, free: 9.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.4675, allocations: 8.031 kB / 0.5951 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.4675, allocations: 11.91 kB / 0.5951 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.4679, allocations: 230.5 kB / 0.5953 GB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.4679, allocations: 3.953 kB / 0.5953 GB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.4679, allocations: 4 kB / 0.5953 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.468, allocations: 57.67 kB / 0.5954 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4681, allocations: 7.875 kB / 0.5954 GB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4681, allocations: 0 / 0.5954 GB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.4681, allocations: 0 / 0.5954 GB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.295e-05/0.4681, allocations: 27.92 kB / 0.5954 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.4685, allocations: 308.9 kB / 0.5957 GB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.4687, allocations: 58.62 kB / 0.5958 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.4687, allocations: 20.98 kB / 0.5958 GB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.4687, allocations: 0 / 0.5958 GB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.4689, allocations: 67.3 kB / 0.5958 GB, free: 8.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4689, allocations: 4 kB / 0.5958 GB, free: 8.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004271/0.4693, allocations: 153.1 kB / 0.596 GB, free: 8.613 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.4694, allocations: 51.41 kB / 0.596 GB, free: 8.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.4696, allocations: 245.8 kB / 0.5963 GB, free: 8.297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.4696, allocations: 25.7 kB / 0.5963 GB, free: 8.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.4697, allocations: 112.1 kB / 0.5964 GB, free: 8.152 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.4697, allocations: 23.66 kB / 0.5964 GB, free: 8.129 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.4697, allocations: 0 / 0.5964 GB, free: 8.129 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4699, allocations: 334.8 kB / 0.5967 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.748e-05/0.4699, allocations: 19.98 kB / 0.5968 GB, free: 7.773 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.738e-05/0.4699, allocations: 37.72 kB / 0.5968 GB, free: 7.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.47, allocations: 23.92 kB / 0.5968 GB, free: 7.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.47, allocations: 0 / 0.5968 GB, free: 7.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001553/0.4702, allocations: 101.5 kB / 0.5969 GB, free: 7.602 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4702, allocations: 4 kB / 0.5969 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4702, allocations: 0 / 0.5969 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.4702, allocations: 4 kB / 0.5969 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.4703, allocations: 19.92 kB / 0.5969 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4703, allocations: 0 / 0.5969 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.4704, allocations: 12.03 kB / 0.597 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.4704, allocations: 4 kB / 0.597 GB, free: 7.559 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 7.093e-05/0.4705, allocations: 112.9 kB / 0.5971 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.4705, allocations: 15.81 kB / 0.5971 GB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.4707, allocations: 123.2 kB / 0.5972 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4707, allocations: 0 / 0.5972 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.4708, allocations: 0 / 0.5972 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4708, allocations: 3.984 kB / 0.5972 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.4712, allocations: 439.2 kB / 0.5976 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4712, allocations: 192 / 0.5976 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.4713, allocations: 15.98 kB / 0.5976 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4713, allocations: 3.938 kB / 0.5976 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.4713, allocations: 4 kB / 0.5977 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4713, allocations: 240 / 0.5977 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4713, allocations: 3.938 kB / 0.5977 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.4716, allocations: 225.9 kB / 0.5979 GB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.676e-05/0.4716, allocations: 104.9 kB / 0.598 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.4717, allocations: 0 / 0.598 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.4718, allocations: 7.938 kB / 0.598 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.4718, allocations: 15.94 kB / 0.598 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.4718, allocations: 4 kB / 0.598 GB, free: 6.383 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001747/0.472, allocations: 200.2 kB / 0.5982 GB, free: 6.188 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.472, allocations: 0 / 0.5982 GB, free: 6.188 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.4722, allocations: 35.94 kB / 0.5982 GB, free: 6.152 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.0008834/0.4731, allocations: 423.6 kB / 0.5986 GB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.4733, allocations: 63.88 kB / 0.5987 GB, free: 5.789 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4733, allocations: 0 / 0.5987 GB, free: 5.789 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-05/0.4734, allocations: 31.94 kB / 0.5987 GB, free: 5.758 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.4736, allocations: 31.69 kB / 0.5987 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.474, allocations: 215.5 kB / 0.599 GB, free: 5.492 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.4743, allocations: 0.724 MB / 0.5997 GB, free: 4.742 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.586e-05/0.4743, allocations: 28.72 kB / 0.5997 GB, free: 4.711 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.4744, allocations: 15.44 kB / 0.5997 GB, free: 4.695 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4744, allocations: 0 / 0.5997 GB, free: 4.695 MB / 410.7 MB Notification: Performance of Templates: time 0.004072/0.4785, allocations: 1.831 MB / 0.6015 GB, free: 2.871 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches