Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 175.2 kB / 17.41 MB, free: 4.293 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.366/1.366, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.0007611/0.0007611, allocations: 100.6 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.3106/0.3106, allocations: 44.32 MB / 390.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004856, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4307, allocations: 61.9 MB / 0.5127 GB, free: 38.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.001982/0.4327, allocations: 1.342 MB / 0.514 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.4337, allocations: 0.493 MB / 0.5145 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.4337, allocations: 3.469 kB / 0.5145 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.434, allocations: 38.91 kB / 0.5146 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.4342, allocations: 40.72 kB / 0.5146 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.4347, allocations: 172.3 kB / 0.5148 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.4349, allocations: 73.75 kB / 0.5148 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.435, allocations: 20.05 kB / 0.5149 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.89e-05/0.4351, allocations: 22.88 kB / 0.5149 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.4352, allocations: 44.05 kB / 0.5149 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.4352, allocations: 3.938 kB / 0.5149 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.4354, allocations: 36.08 kB / 0.515 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.4354, allocations: 19.22 kB / 0.515 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.4355, allocations: 53.41 kB / 0.515 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.4357, allocations: 103.8 kB / 0.5151 GB, free: 36.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4358, allocations: 0 / 0.5151 GB, free: 36.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4358, allocations: 0 / 0.5151 GB, free: 36.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.4358, allocations: 7.125 kB / 0.5151 GB, free: 36.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004802/0.4363, allocations: 393.8 kB / 0.5155 GB, free: 36.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4363, allocations: 9.531 kB / 0.5155 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.4364, allocations: 9.406 kB / 0.5155 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.4366, allocations: 192.8 kB / 0.5157 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4366, allocations: 2.75 kB / 0.5157 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.4366, allocations: 8.359 kB / 0.5157 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.4369, allocations: 73.48 kB / 0.5158 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4369, allocations: 1.156 kB / 0.5158 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.4369, allocations: 0 / 0.5158 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4369, allocations: 5.062 kB / 0.5158 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.4372, allocations: 56.27 kB / 0.5159 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.4377, allocations: 323.9 kB / 0.5162 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.438, allocations: 70.73 kB / 0.5162 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.4382, allocations: 31.81 kB / 0.5163 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.4382, allocations: 2.969 kB / 0.5163 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.4382, allocations: 30.56 kB / 0.5163 GB, free: 35.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.4383, allocations: 0 / 0.5163 GB, free: 35.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.002007/0.4403, allocations: 495 kB / 0.5168 GB, free: 35.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.4403, allocations: 58.28 kB / 0.5168 GB, free: 35.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.4405, allocations: 173 kB / 0.517 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.4405, allocations: 32.42 kB / 0.517 GB, free: 35.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.4406, allocations: 98 kB / 0.5171 GB, free: 34.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.4406, allocations: 39.95 kB / 0.5171 GB, free: 34.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.4406, allocations: 0 / 0.5171 GB, free: 34.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.4407, allocations: 320.7 kB / 0.5175 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.4409, allocations: 66.14 kB / 0.5175 GB, free: 34.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.4411, allocations: 62.62 kB / 0.5176 GB, free: 34.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.4415, allocations: 134.1 kB / 0.5177 GB, free: 34.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4415, allocations: 3.422 kB / 0.5177 GB, free: 34.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005398/0.4421, allocations: 180.9 kB / 0.5179 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4421, allocations: 4.844 kB / 0.5179 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.4422, allocations: 5 kB / 0.5179 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.4422, allocations: 8.75 kB / 0.5179 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.4424, allocations: 37.55 kB / 0.5179 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.4424, allocations: 1.25 kB / 0.5179 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-05/0.4425, allocations: 12.95 kB / 0.5179 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.4425, allocations: 2.344 kB / 0.518 GB, free: 34.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001308/0.4427, allocations: 126.9 kB / 0.5181 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.4427, allocations: 9.625 kB / 0.5181 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000593/0.4433, allocations: 210.5 kB / 0.5183 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4433, allocations: 1.531 kB / 0.5183 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4434, allocations: 0 / 0.5183 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4434, allocations: 4 kB / 0.5183 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009031/0.4443, allocations: 0.5077 MB / 0.5188 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4443, allocations: 7.188 kB / 0.5188 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.4445, allocations: 27.33 kB / 0.5188 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.4445, allocations: 0 / 0.5188 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.4445, allocations: 3.562 kB / 0.5188 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4445, allocations: 0 / 0.5188 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4445, allocations: 7.75 kB / 0.5188 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.4451, allocations: 291 kB / 0.5191 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.4451, allocations: 89.64 kB / 0.5192 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.4452, allocations: 3.625 kB / 0.5192 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.4453, allocations: 15.98 kB / 0.5192 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.4454, allocations: 9.516 kB / 0.5192 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.4454, allocations: 7.219 kB / 0.5192 GB, free: 33.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.4456, allocations: 133.9 kB / 0.5194 GB, free: 33.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4456, allocations: 0 / 0.5194 GB, free: 33.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000425/0.446, allocations: 26.2 kB / 0.5194 GB, free: 33.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.00151/0.4475, allocations: 0.5328 MB / 0.5199 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005338/0.4481, allocations: 140.3 kB / 0.52 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4481, allocations: 0 / 0.52 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.4484, allocations: 73.48 kB / 0.5201 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.4489, allocations: 23.23 kB / 0.5201 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/0.4496, allocations: 316 kB / 0.5204 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.4498, allocations: 0.7184 MB / 0.5211 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.45, allocations: 27.36 kB / 0.5212 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.45, allocations: 17.28 kB / 0.5212 GB, free: 32.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.45, allocations: 0 / 0.5212 GB, free: 32.11 MB / 378.7 MB Notification: Performance of Templates: time 0.004881/0.4549, allocations: 1.492 MB / 0.5226 GB, free: 31.94 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches