Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,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.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,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.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009406/0.0009405, allocations: 180.5 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.21/1.21, allocations: 221.4 MB / 236 MB, free: 2.949 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.000978/0.0009781, allocations: 98.47 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.1731/0.1731, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.433e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.4628, allocations: 89.23 MB / 0.5889 GB, free: 96 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.463, allocations: 71.95 kB / 0.5889 GB, free: 24 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.014/0.477, allocations: 5.409 MB / 0.5942 GB, free: 10.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.477, allocations: 0 / 0.5942 GB, free: 10.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.4771, allocations: 0 / 0.5942 GB, free: 10.63 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.0003568/0.4774, allocations: 398.2 kB / 0.5946 GB, free: 10.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.4775, allocations: 8.031 kB / 0.5946 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.4775, allocations: 11.91 kB / 0.5946 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.4778, allocations: 202.9 kB / 0.5948 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.4778, allocations: 4 kB / 0.5948 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.4778, allocations: 0 / 0.5948 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.4779, allocations: 71.39 kB / 0.5949 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.4779, allocations: 0 / 0.5949 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.478, allocations: 0 / 0.5949 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.478, allocations: 3.938 kB / 0.5949 GB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.787e-05/0.478, allocations: 31.92 kB / 0.5949 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.4783, allocations: 272.9 kB / 0.5952 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.4785, allocations: 62.61 kB / 0.5952 GB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.4785, allocations: 32.92 kB / 0.5953 GB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.4785, allocations: 0 / 0.5953 GB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.4786, allocations: 75.38 kB / 0.5953 GB, free: 9.309 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.4787, allocations: 0 / 0.5953 GB, free: 9.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003991/0.4791, allocations: 185.1 kB / 0.5955 GB, free: 9.121 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.4791, allocations: 77.11 kB / 0.5956 GB, free: 9.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.4792, allocations: 149.5 kB / 0.5957 GB, free: 8.871 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.4793, allocations: 25.7 kB / 0.5957 GB, free: 8.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.4793, allocations: 100.3 kB / 0.5958 GB, free: 8.738 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.4794, allocations: 31.56 kB / 0.5959 GB, free: 8.707 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.4794, allocations: 0 / 0.5959 GB, free: 8.707 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.4795, allocations: 326.8 kB / 0.5962 GB, free: 8.379 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.722e-05/0.4795, allocations: 28 kB / 0.5962 GB, free: 8.352 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.4796, allocations: 56 kB / 0.5963 GB, free: 8.289 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/0.4796, allocations: 31.98 kB / 0.5963 GB, free: 8.258 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4797, allocations: 0 / 0.5963 GB, free: 8.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001657/0.4798, allocations: 128 kB / 0.5964 GB, free: 8.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.4798, allocations: 4 kB / 0.5964 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.4799, allocations: 0 / 0.5964 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.4799, allocations: 3.984 kB / 0.5964 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.48, allocations: 20 kB / 0.5964 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.48, allocations: 0 / 0.5964 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.48, allocations: 11.98 kB / 0.5965 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.4801, allocations: 0 / 0.5965 GB, free: 8.09 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 (13): * Single equations (assignments): 13 * 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 5.963e-05/0.4801, allocations: 117.5 kB / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.4801, allocations: 11.91 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.4804, allocations: 134.1 kB / 0.5967 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4804, allocations: 0 / 0.5967 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4804, allocations: 4 kB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4804, allocations: 3.984 kB / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.4808, allocations: 435.2 kB / 0.5971 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4808, allocations: 0 / 0.5971 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.4809, allocations: 12 kB / 0.5971 GB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4809, allocations: 0 / 0.5971 GB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4809, allocations: 4 kB / 0.5971 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4809, allocations: 4 kB / 0.5971 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4809, allocations: 3.953 kB / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.4811, allocations: 229.9 kB / 0.5974 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.4812, allocations: 89.2 kB / 0.5975 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.4812, allocations: 7.984 kB / 0.5975 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-05/0.4813, allocations: 15.89 kB / 0.5975 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.4813, allocations: 7.984 kB / 0.5975 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.4813, allocations: 3.938 kB / 0.5975 GB, free: 6.914 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.097e-05/0.4814, allocations: 127.2 kB / 0.5976 GB, free: 6.793 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4814, allocations: 0 / 0.5976 GB, free: 6.793 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.4817, allocations: 35.94 kB / 0.5976 GB, free: 6.758 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 (11): * Single equations (assignments): 9 * 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.0009174/0.4826, allocations: 488.1 kB / 0.5981 GB, free: 6.395 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.4828, allocations: 79.8 kB / 0.5982 GB, free: 6.316 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.4828, allocations: 4 kB / 0.5982 GB, free: 6.312 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.756e-05/0.4829, allocations: 35.94 kB / 0.5982 GB, free: 6.277 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.4831, allocations: 25.86 kB / 0.5983 GB, free: 6.254 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.4834, allocations: 151.9 kB / 0.5984 GB, free: 6.074 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.4836, allocations: 0.7043 MB / 0.5991 GB, free: 5.344 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.782e-05/0.4837, allocations: 16.88 kB / 0.5991 GB, free: 5.328 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.4837, allocations: 19.42 kB / 0.5991 GB, free: 5.309 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4837, allocations: 4 kB / 0.5991 GB, free: 5.305 MB / 410.7 MB Notification: Performance of Templates: time 0.004015/0.4877, allocations: 2.02 MB / 0.6011 GB, free: 3.297 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches