Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, 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.374/1.374, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001245/0.001246, allocations: 97.62 kB / 291.9 MB, free: 10.93 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.4101/0.4101, allocations: 44.13 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001159, allocations: 55.92 kB / 457.8 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3682, allocations: 60.8 MB / 0.5064 GB, free: 38.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004239/0.3725, allocations: 1.946 MB / 0.5083 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.3742, allocations: 0.9695 MB / 0.5092 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.3744, allocations: 0 / 0.5092 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005554/0.375, allocations: 257.7 kB / 0.5095 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.3754, allocations: 166.5 kB / 0.5096 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.3759, allocations: 161.3 kB / 0.5098 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.3762, allocations: 250.5 kB / 0.51 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3763, allocations: 27.31 kB / 0.5101 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.3765, allocations: 119.6 kB / 0.5102 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.3767, allocations: 181.7 kB / 0.5104 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.3768, allocations: 2.875 kB / 0.5104 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.3769, allocations: 63.91 kB / 0.5104 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.377, allocations: 66.42 kB / 0.5105 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/0.3771, allocations: 94.8 kB / 0.5106 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.3773, allocations: 232.6 kB / 0.5108 GB, free: 35.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3773, allocations: 0 / 0.5108 GB, free: 35.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3773, allocations: 0 / 0.5108 GB, free: 35.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3773, allocations: 0 / 0.5108 GB, free: 35.67 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006552/0.378, allocations: 0.5594 MB / 0.5113 GB, free: 35.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.378, allocations: 9.594 kB / 0.5114 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.3781, allocations: 35.69 kB / 0.5114 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.3784, allocations: 283.4 kB / 0.5117 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3784, allocations: 9.812 kB / 0.5117 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.3784, allocations: 9.594 kB / 0.5117 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3786, allocations: 113.8 kB / 0.5118 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3786, allocations: 6.406 kB / 0.5118 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3787, allocations: 7.234 kB / 0.5118 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3787, allocations: 2.75 kB / 0.5118 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.3788, allocations: 45.75 kB / 0.5118 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.3792, allocations: 476.2 kB / 0.5123 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.3796, allocations: 136.5 kB / 0.5124 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.3796, allocations: 38.17 kB / 0.5125 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3797, allocations: 2.812 kB / 0.5125 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.3799, allocations: 126.2 kB / 0.5126 GB, free: 34.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.3799, allocations: 0 / 0.5126 GB, free: 34.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.00112/0.381, allocations: 0.5051 MB / 0.5131 GB, free: 33.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.3811, allocations: 83.64 kB / 0.5132 GB, free: 33.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.3815, allocations: 485 kB / 0.5136 GB, free: 33.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3815, allocations: 33.08 kB / 0.5137 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.3816, allocations: 159.7 kB / 0.5138 GB, free: 33.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.3816, allocations: 82.03 kB / 0.5139 GB, free: 33.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.3817, allocations: 39.02 kB / 0.5139 GB, free: 33.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.888e-05/0.3818, allocations: 348.9 kB / 0.5143 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.3819, allocations: 54.7 kB / 0.5143 GB, free: 33.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.382, allocations: 91.28 kB / 0.5144 GB, free: 32.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.3822, allocations: 162 kB / 0.5145 GB, free: 32.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3823, allocations: 0 / 0.5145 GB, free: 32.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003418/0.3826, allocations: 233.6 kB / 0.5148 GB, free: 32.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3826, allocations: 14.78 kB / 0.5148 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3826, allocations: 0 / 0.5148 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3827, allocations: 6.875 kB / 0.5148 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3828, allocations: 42.12 kB / 0.5148 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.3828, allocations: 2.969 kB / 0.5148 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.275e-05/0.3829, allocations: 10.36 kB / 0.5148 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3829, allocations: 5.75 kB / 0.5148 GB, free: 32.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001207/0.383, allocations: 182.6 kB / 0.515 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.3831, allocations: 35.34 kB / 0.5151 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.226e-05/0.3832, allocations: 39.56 kB / 0.5151 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3832, allocations: 10.58 kB / 0.5151 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3832, allocations: 1.219 kB / 0.5151 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3832, allocations: 0 / 0.5151 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007503/0.384, allocations: 0.7392 MB / 0.5158 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.384, allocations: 1.281 kB / 0.5158 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.083e-05/0.3841, allocations: 31.38 kB / 0.5159 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3841, allocations: 1.531 kB / 0.5159 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.3841, allocations: 13.52 kB / 0.5159 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3841, allocations: 2.625 kB / 0.5159 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3841, allocations: 1.906 kB / 0.5159 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.3848, allocations: 1.07 MB / 0.5169 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.3848, allocations: 109.3 kB / 0.517 GB, free: 30.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.3849, allocations: 6.812 kB / 0.517 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.385, allocations: 16.86 kB / 0.517 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.3851, allocations: 23.33 kB / 0.5171 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.3851, allocations: 12.16 kB / 0.5171 GB, free: 30.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002632/0.3854, allocations: 356.7 kB / 0.5174 GB, free: 30.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3854, allocations: 0 / 0.5174 GB, free: 30.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000471/0.3858, allocations: 52.27 kB / 0.5175 GB, free: 30.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001017/0.3869, allocations: 0.524 MB / 0.518 GB, free: 30.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.3872, allocations: 151 kB / 0.5181 GB, free: 30.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3872, allocations: 3.938 kB / 0.5181 GB, free: 30.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.3873, allocations: 86 kB / 0.5182 GB, free: 30.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.3879, allocations: 56.86 kB / 0.5183 GB, free: 30.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008626/0.3888, allocations: 0.827 MB / 0.5191 GB, free: 29.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.389, allocations: 0.7936 MB / 0.5199 GB, free: 29.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.3891, allocations: 35.47 kB / 0.5199 GB, free: 29.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.3891, allocations: 28.11 kB / 0.5199 GB, free: 29.15 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3892, allocations: 7.938 kB / 0.5199 GB, free: 29.14 MB / 378.7 MB Notification: Performance of Templates: time 0.006661/0.3958, allocations: 3.073 MB / 0.5229 GB, free: 28.84 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches