Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 114 kB / 18.46 MB, free: 4.594 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.001296/0.001296, allocations: 185.9 kB / 19.39 MB, free: 3.672 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.389/1.389, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2084/0.2084, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 63.89 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3788, allocations: 60.82 MB / 0.5197 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003091/0.382, allocations: 1.707 MB / 0.5213 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3833, allocations: 0.8768 MB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.3834, allocations: 1.188 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.3838, allocations: 45.09 kB / 0.5222 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.3841, allocations: 59.28 kB / 0.5223 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.3844, allocations: 109 kB / 0.5224 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.3846, allocations: 100.4 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3848, allocations: 8.359 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3849, allocations: 40.91 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.385, allocations: 34.86 kB / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.385, allocations: 3.531 kB / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.3851, allocations: 42.11 kB / 0.5226 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7e-05/0.3852, allocations: 26.11 kB / 0.5226 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.927e-05/0.3853, allocations: 45.34 kB / 0.5227 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.3855, allocations: 120.8 kB / 0.5228 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3855, allocations: 0.9688 kB / 0.5228 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3855, allocations: 0 / 0.5228 GB, free: 1.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3856, allocations: 0 / 0.5228 GB, free: 1.52 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.0005849/0.3861, allocations: 432.1 kB / 0.5232 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3862, allocations: 7.938 kB / 0.5232 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.3863, allocations: 11.42 kB / 0.5232 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.3866, allocations: 211.6 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3866, allocations: 6.469 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.3866, allocations: 11.33 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.3868, allocations: 49.19 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3869, allocations: 1.031 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3869, allocations: 4.703 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.3869, allocations: 5.297 kB / 0.5235 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.387, allocations: 18.12 kB / 0.5235 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.3874, allocations: 297 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.3876, allocations: 64.61 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.3877, allocations: 20.69 kB / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.3877, allocations: 0.75 kB / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.3879, allocations: 70.58 kB / 0.5239 GB, free: 416 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3879, allocations: 3.938 kB / 0.524 GB, free: 412 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006094/0.3885, allocations: 177.4 kB / 0.5241 GB, free: 320 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.3886, allocations: 56.47 kB / 0.5242 GB, free: 252 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.3888, allocations: 219.4 kB / 0.5244 GB, free: 112 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3888, allocations: 30.92 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.3889, allocations: 105.4 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.389, allocations: 22.22 kB / 0.5245 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.389, allocations: 25.81 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3892, allocations: 331.8 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.083e-05/0.3892, allocations: 21.38 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.1e-05/0.3893, allocations: 35.05 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.3894, allocations: 61.03 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3894, allocations: 1.828 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.3897, allocations: 109.7 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3897, allocations: 8.938 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3897, allocations: 0 / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3897, allocations: 1.312 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.3898, allocations: 19.75 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.3898, allocations: 1.75 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.3899, allocations: 6.531 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.3899, allocations: 6.688 kB / 0.5251 GB, free: 15.46 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.0001189/0.39, allocations: 138.6 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.3901, allocations: 14.48 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.3901, allocations: 20.88 kB / 0.5253 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3901, allocations: 2.266 kB / 0.5253 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3901, allocations: 0 / 0.5253 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.3902, allocations: 85.08 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.3902, allocations: 5.828 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.279e-05/0.3903, allocations: 7.094 kB / 0.5254 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.3903, allocations: 4.844 kB / 0.5254 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002285/0.3905, allocations: 178 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000267/0.3908, allocations: 277.7 kB / 0.5258 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.456e-05/0.3909, allocations: 28.62 kB / 0.5259 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.3911, allocations: 176.2 kB / 0.526 GB, free: 14.72 MB / 398.1 MB Notification: Performance of Backend: time 4.31e-07/0.3911, allocations: 0 / 0.526 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.3926, allocations: 0.4914 MB / 0.5265 GB, free: 14.51 MB / 398.1 MB Notification: Performance of SimCode: time 0.000679/0.3933, allocations: 0.6849 MB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.005045/0.3984, allocations: 1.769 MB / 0.5289 GB, free: 13.32 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches