Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 109.3 kB / 18.45 MB, free: 4.602 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.001176/0.001176, allocations: 183 kB / 19.38 MB, free: 3.684 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.343/1.343, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2155/0.2155, allocations: 44.17 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 67.89 kB / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4214, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003067/0.4245, allocations: 1.622 MB / 0.5212 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008077/0.4253, allocations: 426 kB / 0.5216 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.4254, allocations: 5.125 kB / 0.5216 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007801/0.4262, allocations: 441.8 kB / 0.522 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000457/0.4267, allocations: 261.4 kB / 0.5223 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.4271, allocations: 132 kB / 0.5224 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.4274, allocations: 161.7 kB / 0.5225 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.4275, allocations: 21.59 kB / 0.5226 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.4277, allocations: 111.4 kB / 0.5227 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.428, allocations: 207.5 kB / 0.5229 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.4281, allocations: 4.062 kB / 0.5229 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.4282, allocations: 35.5 kB / 0.5229 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.4283, allocations: 83.73 kB / 0.523 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.56e-05/0.4284, allocations: 105.8 kB / 0.5231 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.4288, allocations: 253.1 kB / 0.5233 GB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4288, allocations: 0 / 0.5233 GB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4288, allocations: 0 / 0.5233 GB, free: 1.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.4288, allocations: 0 / 0.5233 GB, free: 1.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007157/0.4295, allocations: 0.6311 MB / 0.5239 GB, free: 1.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4296, allocations: 9.281 kB / 0.5239 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/0.4296, allocations: 51.7 kB / 0.524 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.4299, allocations: 288.4 kB / 0.5243 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.4299, allocations: 5.625 kB / 0.5243 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.4299, allocations: 6.688 kB / 0.5243 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.4301, allocations: 61.52 kB / 0.5243 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4301, allocations: 0 / 0.5243 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4302, allocations: 0.5625 kB / 0.5243 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4302, allocations: 1.344 kB / 0.5243 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.4303, allocations: 36.97 kB / 0.5244 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.4307, allocations: 385.3 kB / 0.5247 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.4309, allocations: 52.45 kB / 0.5248 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.762e-05/0.4309, allocations: 27.17 kB / 0.5248 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.431, allocations: 1.469 kB / 0.5248 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.431, allocations: 36.92 kB / 0.5249 GB, free: 448 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.431, allocations: 0 / 0.5249 GB, free: 448 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008091/0.4318, allocations: 279.5 kB / 0.5251 GB, free: 316 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.4319, allocations: 55.41 kB / 0.5252 GB, free: 248 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009141/0.4328, allocations: 0.8545 MB / 0.526 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4328, allocations: 29.7 kB / 0.526 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.433, allocations: 215.4 kB / 0.5262 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.433, allocations: 22.14 kB / 0.5263 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.4331, allocations: 19 kB / 0.5263 GB, free: 15.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4332, allocations: 355.9 kB / 0.5266 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.4334, allocations: 34.75 kB / 0.5267 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.4335, allocations: 35.22 kB / 0.5267 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.4337, allocations: 79.47 kB / 0.5268 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4338, allocations: 0 / 0.5268 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003574/0.4341, allocations: 144.7 kB / 0.5269 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.4342, allocations: 7.812 kB / 0.5269 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4342, allocations: 0 / 0.5269 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.4342, allocations: 1.375 kB / 0.5269 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.4344, allocations: 22.19 kB / 0.5269 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4344, allocations: 0 / 0.5269 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-05/0.4345, allocations: 10.47 kB / 0.5269 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.4345, allocations: 1.594 kB / 0.5269 GB, free: 15.15 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.0002523/0.4347, allocations: 221.5 kB / 0.5272 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.4348, allocations: 41.84 kB / 0.5272 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.4352, allocations: 164.3 kB / 0.5274 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4352, allocations: 1.281 kB / 0.5274 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4353, allocations: 3.984 kB / 0.5274 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4353, allocations: 3.938 kB / 0.5274 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008653/0.4361, allocations: 497.7 kB / 0.5278 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.4362, allocations: 4 kB / 0.5278 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-05/0.4363, allocations: 18.55 kB / 0.5279 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4363, allocations: 5.344 kB / 0.5279 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4363, allocations: 3.938 kB / 0.5279 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.4363, allocations: 1.344 kB / 0.5279 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4363, allocations: 0 / 0.5279 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.4368, allocations: 251.5 kB / 0.5281 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.4369, allocations: 113.2 kB / 0.5282 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.437, allocations: 9.656 kB / 0.5282 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4371, allocations: 5.375 kB / 0.5282 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.4372, allocations: 6.953 kB / 0.5282 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.4372, allocations: 9.281 kB / 0.5282 GB, free: 14.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001051/0.4382, allocations: 0.6454 MB / 0.5289 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4382, allocations: 0 / 0.5289 GB, free: 13.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000301/0.4386, allocations: 31.61 kB / 0.5289 GB, free: 13.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001048/0.4396, allocations: 382.7 kB / 0.5293 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.44, allocations: 86.3 kB / 0.5294 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.44, allocations: 0 / 0.5294 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.4401, allocations: 46.09 kB / 0.5294 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.4406, allocations: 27.89 kB / 0.5294 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.442, allocations: 0.8134 MB / 0.5302 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.4425, allocations: 0.8263 MB / 0.531 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.4426, allocations: 24.95 kB / 0.531 GB, free: 12.27 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4426, allocations: 0 / 0.531 GB, free: 12.27 MB / 398.1 MB Notification: Performance of Templates: time 0.009591/0.4522, allocations: 3.77 MB / 0.5347 GB, free: 10.27 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches