Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.7 MB / 243.9 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007724/0.0007723, allocations: 94.14 kB / 295.1 MB, free: 9.492 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3595/0.3595, allocations: 44.31 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 8 kB / 463.2 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3813, allocations: 61.89 MB / 0.5127 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001771/0.3831, allocations: 1.402 MB / 0.5141 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3842, allocations: 0.8997 MB / 0.515 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.618e-05/0.3844, allocations: 2.469 kB / 0.515 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.3847, allocations: 70.98 kB / 0.5151 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.3849, allocations: 69.89 kB / 0.5151 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.3852, allocations: 105.1 kB / 0.5152 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.3854, allocations: 98.02 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.3855, allocations: 13.44 kB / 0.5153 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.22e-05/0.3856, allocations: 49.48 kB / 0.5154 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.648e-05/0.3857, allocations: 55.03 kB / 0.5154 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.3857, allocations: 0 / 0.5154 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3858, allocations: 35.36 kB / 0.5155 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.3859, allocations: 19.58 kB / 0.5155 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.3859, allocations: 62.33 kB / 0.5155 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.3861, allocations: 112.8 kB / 0.5156 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3861, allocations: 0 / 0.5156 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3861, allocations: 0 / 0.5156 GB, free: 35.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.3861, allocations: 3.938 kB / 0.5157 GB, free: 35.93 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.000452/0.3866, allocations: 409.2 kB / 0.516 GB, free: 35.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3866, allocations: 8.562 kB / 0.5161 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.3867, allocations: 18.69 kB / 0.5161 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.3869, allocations: 209.7 kB / 0.5163 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.3869, allocations: 4.375 kB / 0.5163 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.3869, allocations: 7.094 kB / 0.5163 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.387, allocations: 54.69 kB / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3871, allocations: 2.594 kB / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.3871, allocations: 0 / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3871, allocations: 0 / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.3872, allocations: 21.86 kB / 0.5164 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.3875, allocations: 297.8 kB / 0.5166 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.3876, allocations: 54.06 kB / 0.5167 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.3877, allocations: 17.61 kB / 0.5167 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.3877, allocations: 0 / 0.5167 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.3878, allocations: 72.61 kB / 0.5168 GB, free: 34.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.3879, allocations: 7.938 kB / 0.5168 GB, free: 34.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004567/0.3883, allocations: 174.6 kB / 0.517 GB, free: 34.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.3884, allocations: 51.41 kB / 0.517 GB, free: 34.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3885, allocations: 207.1 kB / 0.5172 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.3885, allocations: 32.45 kB / 0.5172 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.3886, allocations: 104.9 kB / 0.5173 GB, free: 34.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.3886, allocations: 25.09 kB / 0.5174 GB, free: 34.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.3886, allocations: 0 / 0.5174 GB, free: 34.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.3887, allocations: 334.9 kB / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.3887, allocations: 16.94 kB / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.147e-05/0.3888, allocations: 34.73 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.118e-05/0.3889, allocations: 63.48 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3889, allocations: 0 / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001496/0.389, allocations: 104.9 kB / 0.5179 GB, free: 33.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3891, allocations: 5.625 kB / 0.5179 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3891, allocations: 160 / 0.5179 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.3891, allocations: 3.938 kB / 0.5179 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.3892, allocations: 17.73 kB / 0.5179 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3892, allocations: 3.984 kB / 0.5179 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.3892, allocations: 6.812 kB / 0.5179 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.3892, allocations: 2.938 kB / 0.5179 GB, free: 33.93 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 7.525e-05/0.3893, allocations: 133.6 kB / 0.518 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.3893, allocations: 13.75 kB / 0.5181 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.3894, allocations: 18.42 kB / 0.5181 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3894, allocations: 0 / 0.5181 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3894, allocations: 384 / 0.5181 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3894, allocations: 6.844 kB / 0.5181 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.3898, allocations: 395.1 kB / 0.5185 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3898, allocations: 4 kB / 0.5185 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.3898, allocations: 12.31 kB / 0.5185 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3898, allocations: 4.031 kB / 0.5185 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3898, allocations: 6.375 kB / 0.5185 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3898, allocations: 4.203 kB / 0.5185 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3899, allocations: 0 / 0.5185 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.39, allocations: 199.5 kB / 0.5187 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.3901, allocations: 91.08 kB / 0.5188 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.3901, allocations: 14.22 kB / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.3902, allocations: 2.062 kB / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.3902, allocations: 11.38 kB / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.3903, allocations: 4 kB / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.3904, allocations: 167.1 kB / 0.519 GB, free: 33.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.3904, allocations: 0 / 0.519 GB, free: 33.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.3906, allocations: 31.45 kB / 0.519 GB, free: 33.02 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.0009735/0.3916, allocations: 0.5193 MB / 0.5195 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.3918, allocations: 55.98 kB / 0.5195 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3918, allocations: 0 / 0.5195 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.008e-05/0.3919, allocations: 29.17 kB / 0.5196 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.3922, allocations: 28.31 kB / 0.5196 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.3926, allocations: 272.8 kB / 0.5199 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3927, allocations: 0.7073 MB / 0.5206 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.3928, allocations: 17.09 kB / 0.5206 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.3928, allocations: 16.42 kB / 0.5206 GB, free: 31.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3928, allocations: 0 / 0.5206 GB, free: 31.77 MB / 378.7 MB Notification: Performance of Templates: time 0.003848/0.3967, allocations: 1.634 MB / 0.5222 GB, free: 31.58 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches