Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 109.3 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 185.1 kB / 19.38 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2119/0.2119, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3608, allocations: 60.82 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.00299/0.3639, allocations: 1.71 MB / 0.5213 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3652, allocations: 0.8758 MB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.3653, allocations: 0.9688 kB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.3656, allocations: 40.88 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.3658, allocations: 59.89 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.3662, allocations: 109.6 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.3663, allocations: 96.44 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3665, allocations: 8.172 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.622e-05/0.3666, allocations: 41.14 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.518e-05/0.3666, allocations: 29.38 kB / 0.5225 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.3667, allocations: 8.5 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3668, allocations: 42.09 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.3669, allocations: 18.45 kB / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.3669, allocations: 37.89 kB / 0.5226 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.3672, allocations: 115.2 kB / 0.5227 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3672, allocations: 4 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3672, allocations: 0 / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3672, allocations: 1.094 kB / 0.5228 GB, free: 1.547 MB / 382.1 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.0005258/0.3677, allocations: 400.6 kB / 0.5231 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3678, allocations: 13.7 kB / 0.5231 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.3678, allocations: 13.5 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.3681, allocations: 206.4 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3681, allocations: 2.141 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3682, allocations: 6.531 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3683, allocations: 58.75 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3683, allocations: 7.844 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3684, allocations: 4.984 kB / 0.5234 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3684, allocations: 0.7031 kB / 0.5234 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.3685, allocations: 22.66 kB / 0.5235 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.3688, allocations: 285.8 kB / 0.5237 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.369, allocations: 60.05 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.369, allocations: 20.7 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.369, allocations: 5.188 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.3692, allocations: 65.02 kB / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3692, allocations: 1.188 kB / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005219/0.3697, allocations: 172.6 kB / 0.524 GB, free: 384 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.3698, allocations: 60.75 kB / 0.5241 GB, free: 312 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.3699, allocations: 181.8 kB / 0.5243 GB, free: 184 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.3699, allocations: 31.72 kB / 0.5243 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.37, allocations: 103.4 kB / 0.5244 GB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.37, allocations: 25.66 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.3701, allocations: 22.27 kB / 0.5244 GB, free: 8 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3702, allocations: 325.9 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.218e-05/0.3703, allocations: 22 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.289e-05/0.3704, allocations: 39.66 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.3705, allocations: 65.28 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3705, allocations: 384 / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001919/0.3707, allocations: 101.7 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3707, allocations: 8.438 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3708, allocations: 1.828 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3708, allocations: 5.062 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.3709, allocations: 14.88 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3709, allocations: 1.219 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.3709, allocations: 10.98 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.371, allocations: 11.56 kB / 0.525 GB, free: 15.53 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.3711, allocations: 125 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.3711, allocations: 13.27 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.3712, allocations: 15.67 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3712, allocations: 1.797 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3712, allocations: 0 / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3712, allocations: 4.5 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.3717, allocations: 393.5 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3717, allocations: 2.016 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.3717, allocations: 13.05 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3717, allocations: 0 / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3718, allocations: 10.88 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3718, allocations: 1.859 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3718, allocations: 0 / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.372, allocations: 201.3 kB / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.3721, allocations: 89.53 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3721, allocations: 8.781 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.3722, allocations: 4.312 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.3722, allocations: 6.25 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3722, allocations: 2.344 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.3724, allocations: 148.4 kB / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3724, allocations: 0 / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.3726, allocations: 25.7 kB / 0.526 GB, free: 14.65 MB / 398.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/0.3737, allocations: 457.1 kB / 0.5265 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.3739, allocations: 68.42 kB / 0.5265 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3739, allocations: 0 / 0.5265 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.374, allocations: 24.94 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.3744, allocations: 35.22 kB / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.3748, allocations: 242.7 kB / 0.5268 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.3751, allocations: 0.7087 MB / 0.5275 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.3752, allocations: 21.59 kB / 0.5275 GB, free: 13.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3752, allocations: 3.938 kB / 0.5276 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.004103/0.3793, allocations: 1.907 MB / 0.5294 GB, free: 12.83 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches