Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.0011, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.405/1.405, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 99.48 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4633/0.4633, allocations: 44.13 MB / 386.1 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 55.92 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.375, allocations: 60.8 MB / 0.5064 GB, free: 38.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002794/0.3779, allocations: 1.753 MB / 0.5081 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3791, allocations: 0.8729 MB / 0.509 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.73e-05/0.3792, allocations: 0 / 0.509 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.3795, allocations: 32.38 kB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.3796, allocations: 42.28 kB / 0.509 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.3799, allocations: 98.36 kB / 0.5091 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.3801, allocations: 89.88 kB / 0.5092 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.758e-05/0.3802, allocations: 14.11 kB / 0.5092 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.772e-05/0.3802, allocations: 41.95 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.3803, allocations: 32.59 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3803, allocations: 2.5 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.435e-05/0.3804, allocations: 35.95 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.3805, allocations: 20.52 kB / 0.5094 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.3805, allocations: 27.88 kB / 0.5094 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.3807, allocations: 104.4 kB / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3807, allocations: 0 / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3807, allocations: 0 / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.3807, allocations: 4 kB / 0.5095 GB, free: 36.26 MB / 378.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.0004275/0.3811, allocations: 394.9 kB / 0.5099 GB, free: 35.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.3812, allocations: 15.31 kB / 0.5099 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.3812, allocations: 7.75 kB / 0.5099 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.3814, allocations: 206 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3814, allocations: 7.922 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.3814, allocations: 2.938 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.3816, allocations: 61.22 kB / 0.5101 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3816, allocations: 4 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3816, allocations: 0 / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3816, allocations: 0 / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.259e-05/0.3817, allocations: 17.61 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.382, allocations: 292.3 kB / 0.5104 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.3821, allocations: 56.47 kB / 0.5105 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.71e-05/0.3822, allocations: 24.92 kB / 0.5105 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.3822, allocations: 6.719 kB / 0.5105 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.3824, allocations: 72.19 kB / 0.5106 GB, free: 35.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3824, allocations: 0 / 0.5106 GB, free: 35.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004594/0.3828, allocations: 164.7 kB / 0.5108 GB, free: 35.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.3829, allocations: 59.34 kB / 0.5108 GB, free: 35.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.383, allocations: 159.6 kB / 0.511 GB, free: 34.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.383, allocations: 28.67 kB / 0.511 GB, free: 34.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.3831, allocations: 102.2 kB / 0.5111 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.3831, allocations: 24.72 kB / 0.5111 GB, free: 34.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.3831, allocations: 19.59 kB / 0.5111 GB, free: 34.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.3832, allocations: 321 kB / 0.5114 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.293e-05/0.3833, allocations: 23.03 kB / 0.5115 GB, free: 34.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.204e-05/0.3833, allocations: 36.94 kB / 0.5115 GB, free: 34.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.449e-05/0.3834, allocations: 63.36 kB / 0.5116 GB, free: 34.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3834, allocations: 0 / 0.5116 GB, free: 34.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001482/0.3836, allocations: 101.8 kB / 0.5117 GB, free: 34.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3836, allocations: 6 kB / 0.5117 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3836, allocations: 0 / 0.5117 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3836, allocations: 3.938 kB / 0.5117 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.3837, allocations: 23.95 kB / 0.5117 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3837, allocations: 2.688 kB / 0.5117 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.3838, allocations: 0 / 0.5117 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3838, allocations: 6.844 kB / 0.5117 GB, free: 34.27 MB / 378.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 ($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 6.53e-05/0.3838, allocations: 122.7 kB / 0.5118 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.3839, allocations: 9.594 kB / 0.5118 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.3839, allocations: 18.48 kB / 0.5118 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3839, allocations: 2.938 kB / 0.5118 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3839, allocations: 0 / 0.5118 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3839, allocations: 4.375 kB / 0.5118 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.3842, allocations: 392.7 kB / 0.5122 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3843, allocations: 4 kB / 0.5122 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.3843, allocations: 5.781 kB / 0.5122 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3843, allocations: 2.938 kB / 0.5122 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3843, allocations: 0 / 0.5122 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3843, allocations: 10.27 kB / 0.5122 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3843, allocations: 0 / 0.5122 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.3847, allocations: 0.7804 MB / 0.513 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.3847, allocations: 84.05 kB / 0.5131 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.3847, allocations: 2.844 kB / 0.5131 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.433e-05/0.3848, allocations: 10.11 kB / 0.5131 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.3848, allocations: 13.61 kB / 0.5131 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3848, allocations: 6.75 kB / 0.5131 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.253e-05/0.3849, allocations: 121.5 kB / 0.5132 GB, free: 32.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3849, allocations: 0 / 0.5132 GB, free: 32.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003334/0.3853, allocations: 27.69 kB / 0.5133 GB, free: 32.8 MB / 378.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) * 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.0009223/0.3862, allocations: 467.5 kB / 0.5137 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.3864, allocations: 61.08 kB / 0.5138 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3864, allocations: 0 / 0.5138 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.544e-05/0.3864, allocations: 32.25 kB / 0.5138 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.3868, allocations: 30.95 kB / 0.5138 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.3872, allocations: 343.1 kB / 0.5141 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.3873, allocations: 0.7056 MB / 0.5148 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.408e-05/0.3874, allocations: 13.12 kB / 0.5149 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.3874, allocations: 16.03 kB / 0.5149 GB, free: 31.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3874, allocations: 0 / 0.5149 GB, free: 31.54 MB / 378.7 MB Notification: Performance of Templates: time 0.003639/0.3911, allocations: 1.666 MB / 0.5165 GB, free: 31.34 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches