Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00123/0.00123, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 79.86 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4158, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003704/0.4196, allocations: 1.683 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.4208, allocations: 0.5417 MB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.4209, allocations: 1.375 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.4212, allocations: 71.72 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.4216, allocations: 97.67 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.422, allocations: 130.2 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.4222, allocations: 83.55 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.4223, allocations: 25.78 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.161e-05/0.4224, allocations: 37.59 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.4226, allocations: 49.81 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.4226, allocations: 4.125 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.4227, allocations: 52.98 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.4228, allocations: 20.17 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.4228, allocations: 30.62 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.4231, allocations: 112.8 kB / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4231, allocations: 4 kB / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4231, allocations: 5.312 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.4231, allocations: 0 / 0.5339 GB, free: 11.43 MB / 398.1 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.0005761/0.4237, allocations: 422.9 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4237, allocations: 9.625 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.4238, allocations: 14.33 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.424, allocations: 192.8 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.424, allocations: 3.125 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.424, allocations: 7.109 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.4242, allocations: 71.61 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4243, allocations: 3.906 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4243, allocations: 4 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4243, allocations: 5.359 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.4244, allocations: 35.34 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.4249, allocations: 301.6 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.4251, allocations: 61.92 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.4252, allocations: 25.34 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.4252, allocations: 5.359 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.4253, allocations: 32.03 kB / 0.535 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.4253, allocations: 3.938 kB / 0.535 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001511/0.4268, allocations: 393 kB / 0.5354 GB, free: 10.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.4269, allocations: 56.53 kB / 0.5355 GB, free: 10.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.4271, allocations: 186.8 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.4271, allocations: 29.7 kB / 0.5357 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.4272, allocations: 105.5 kB / 0.5358 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.4272, allocations: 40.09 kB / 0.5358 GB, free: 9.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.4273, allocations: 29.58 kB / 0.5358 GB, free: 9.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4274, allocations: 322.3 kB / 0.5361 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.4276, allocations: 39.12 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.4277, allocations: 43.97 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.428, allocations: 104.5 kB / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.428, allocations: 0 / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003239/0.4283, allocations: 150.1 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4283, allocations: 5.688 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4283, allocations: 0 / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4284, allocations: 1.219 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4285, allocations: 35.84 kB / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4285, allocations: 5.094 kB / 0.5365 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.4286, allocations: 9.422 kB / 0.5365 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.4286, allocations: 2.469 kB / 0.5365 GB, free: 9.148 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 (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.0001118/0.4287, allocations: 127.9 kB / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.4288, allocations: 8.781 kB / 0.5367 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/0.4292, allocations: 166.4 kB / 0.5368 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4292, allocations: 4.875 kB / 0.5368 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4292, allocations: 1.281 kB / 0.5368 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4292, allocations: 7.922 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/0.4299, allocations: 475.2 kB / 0.5373 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4299, allocations: 1.406 kB / 0.5373 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.43, allocations: 27.78 kB / 0.5373 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.43, allocations: 1.375 kB / 0.5373 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.43, allocations: 10.41 kB / 0.5373 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.43, allocations: 1.375 kB / 0.5373 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.43, allocations: 0 / 0.5373 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.4304, allocations: 247.9 kB / 0.5376 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.4305, allocations: 88.08 kB / 0.5376 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.4305, allocations: 6.188 kB / 0.5376 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.4306, allocations: 14.58 kB / 0.5377 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.4307, allocations: 20.39 kB / 0.5377 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.4307, allocations: 3.125 kB / 0.5377 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.4308, allocations: 143.4 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4308, allocations: 0 / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.4311, allocations: 29.92 kB / 0.5378 GB, free: 8.016 MB / 398.1 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.001066/0.4322, allocations: 452.2 kB / 0.5383 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003417/0.4325, allocations: 106.5 kB / 0.5384 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4325, allocations: 0 / 0.5384 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.4327, allocations: 67.14 kB / 0.5384 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.4331, allocations: 26.92 kB / 0.5385 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/0.4337, allocations: 288.1 kB / 0.5387 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.4341, allocations: 0.7125 MB / 0.5394 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.313e-05/0.4341, allocations: 13.52 kB / 0.5395 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.4342, allocations: 18.73 kB / 0.5395 GB, free: 6.742 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4342, allocations: 192 / 0.5395 GB, free: 6.742 MB / 398.1 MB Notification: Performance of Templates: time 0.004777/0.439, allocations: 1.569 MB / 0.541 GB, free: 5.938 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches