Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 108.7 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.001425/0.001425, allocations: 181.2 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.374/1.374, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2179/0.2179, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4596/0.461, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.00351/0.4646, allocations: 1.629 MB / 0.5212 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.4662, allocations: 1.034 MB / 0.5222 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.4663, allocations: 1.562 kB / 0.5222 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.4665, allocations: 23.36 kB / 0.5222 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.4668, allocations: 41.38 kB / 0.5222 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.4671, allocations: 136 kB / 0.5224 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.4673, allocations: 61.48 kB / 0.5224 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.4674, allocations: 18.05 kB / 0.5225 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.4675, allocations: 24.44 kB / 0.5225 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.4676, allocations: 35.38 kB / 0.5225 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.4677, allocations: 4.531 kB / 0.5225 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.4678, allocations: 54.33 kB / 0.5226 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.4679, allocations: 15.22 kB / 0.5226 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.4679, allocations: 27.41 kB / 0.5226 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.4681, allocations: 89.38 kB / 0.5227 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4681, allocations: 1.156 kB / 0.5227 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4682, allocations: 0 / 0.5227 GB, free: 1.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.4682, allocations: 0 / 0.5227 GB, free: 1.496 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.0004936/0.4687, allocations: 393.1 kB / 0.5231 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4687, allocations: 9.156 kB / 0.5231 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.4688, allocations: 13 kB / 0.5231 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.4689, allocations: 191 kB / 0.5233 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.469, allocations: 1.656 kB / 0.5233 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.469, allocations: 3.297 kB / 0.5233 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.4692, allocations: 73.23 kB / 0.5233 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4692, allocations: 0 / 0.5233 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4692, allocations: 5.125 kB / 0.5233 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.4692, allocations: 1.125 kB / 0.5234 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.4694, allocations: 40.67 kB / 0.5234 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.4697, allocations: 284 kB / 0.5237 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.4698, allocations: 39.7 kB / 0.5237 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.177e-05/0.4699, allocations: 23.53 kB / 0.5237 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.47, allocations: 5.5 kB / 0.5237 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.47, allocations: 40.75 kB / 0.5238 GB, free: 444 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.47, allocations: 0 / 0.5238 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008017/0.4708, allocations: 206.6 kB / 0.524 GB, free: 360 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.4709, allocations: 78.27 kB / 0.524 GB, free: 264 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.471, allocations: 139.6 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.471, allocations: 25.7 kB / 0.5242 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.4711, allocations: 97.39 kB / 0.5243 GB, free: 16 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.4711, allocations: 20.19 kB / 0.5243 GB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.4712, allocations: 21.19 kB / 0.5243 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4713, allocations: 318.6 kB / 0.5246 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.4715, allocations: 38.28 kB / 0.5247 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.4716, allocations: 47.03 kB / 0.5247 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.4718, allocations: 72.34 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4718, allocations: 4.688 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002872/0.4721, allocations: 117.6 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4722, allocations: 4.25 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4722, allocations: 1.688 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4722, allocations: 0 / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.4723, allocations: 23.53 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4723, allocations: 0.8438 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.4724, allocations: 20.98 kB / 0.5249 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.4724, allocations: 2.656 kB / 0.5249 GB, free: 15.53 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 9.573e-05/0.4725, allocations: 116 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.4726, allocations: 7.875 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.4729, allocations: 121.6 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4729, allocations: 1.781 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.473, allocations: 4 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.473, allocations: 4.453 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.4735, allocations: 381.8 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4735, allocations: 0 / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-05/0.4736, allocations: 23.17 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4736, allocations: 1.094 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.4737, allocations: 6.188 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4737, allocations: 4 kB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4737, allocations: 0 / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.474, allocations: 206.4 kB / 0.5258 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.4741, allocations: 79.33 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.4741, allocations: 5.625 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.4742, allocations: 12.89 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.4743, allocations: 10.27 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.4743, allocations: 1.734 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.671e-05/0.4744, allocations: 110.2 kB / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4744, allocations: 1.031 kB / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.4746, allocations: 23.22 kB / 0.526 GB, free: 14.64 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.001181/0.4758, allocations: 447.6 kB / 0.5264 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.4762, allocations: 73.7 kB / 0.5265 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4762, allocations: 0 / 0.5265 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.4764, allocations: 48.8 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.4769, allocations: 15.48 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.4775, allocations: 203.6 kB / 0.5268 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.4779, allocations: 0.6939 MB / 0.5274 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.478, allocations: 15.3 kB / 0.5275 GB, free: 13.51 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.478, allocations: 1.469 kB / 0.5275 GB, free: 13.51 MB / 398.1 MB Notification: Performance of Templates: time 0.005086/0.4831, allocations: 1.724 MB / 0.5291 GB, free: 12.89 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches