Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001861/0.00186, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002244/0.002244, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 79.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4479, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003189/0.4511, allocations: 1.665 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.4531, allocations: 1.174 MB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.4531, allocations: 0 / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.4534, allocations: 17.16 kB / 0.5345 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.4538, allocations: 89.78 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.4541, allocations: 136.1 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.4544, allocations: 73.62 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.4545, allocations: 19.23 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.492e-05/0.4546, allocations: 30.58 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.4548, allocations: 36.31 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.4548, allocations: 8.156 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.455, allocations: 101.3 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.35e-05/0.4551, allocations: 17.48 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.4552, allocations: 33.28 kB / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.4555, allocations: 139.9 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4555, allocations: 0 / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4555, allocations: 0 / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.4556, allocations: 0 / 0.5351 GB, free: 10.94 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006914/0.4563, allocations: 409.7 kB / 0.5355 GB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.4563, allocations: 13.62 kB / 0.5355 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.4564, allocations: 8.969 kB / 0.5355 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.4567, allocations: 192.4 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.4567, allocations: 5.75 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.4567, allocations: 3.125 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.4569, allocations: 73.39 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.457, allocations: 3.938 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.457, allocations: 1.375 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.457, allocations: 5.375 kB / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.4571, allocations: 40.53 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.4576, allocations: 290.7 kB / 0.5361 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.4578, allocations: 39.06 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.54e-05/0.4579, allocations: 31.94 kB / 0.5362 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.4579, allocations: 5.438 kB / 0.5362 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4579, allocations: 39.88 kB / 0.5362 GB, free: 9.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.4579, allocations: 0 / 0.5362 GB, free: 9.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008115/0.4588, allocations: 210.8 kB / 0.5364 GB, free: 9.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.4588, allocations: 79.27 kB / 0.5365 GB, free: 9.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.459, allocations: 144.7 kB / 0.5366 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.4591, allocations: 26.73 kB / 0.5367 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.4591, allocations: 95.53 kB / 0.5368 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.4592, allocations: 22.22 kB / 0.5368 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.4592, allocations: 27.83 kB / 0.5368 GB, free: 9.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4594, allocations: 320.2 kB / 0.5371 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.4595, allocations: 34.22 kB / 0.5371 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.4596, allocations: 47.47 kB / 0.5372 GB, free: 8.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.4598, allocations: 80.05 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4598, allocations: 0.7812 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002779/0.4601, allocations: 115.1 kB / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4602, allocations: 4.438 kB / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4602, allocations: 0 / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4602, allocations: 5.109 kB / 0.5374 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.4603, allocations: 18.52 kB / 0.5374 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4603, allocations: 5.156 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.4604, allocations: 17.55 kB / 0.5374 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.4604, allocations: 2.281 kB / 0.5374 GB, free: 8.773 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.886e-05/0.4605, allocations: 114.6 kB / 0.5375 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.4606, allocations: 12.64 kB / 0.5376 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.4609, allocations: 131.4 kB / 0.5377 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.4609, allocations: 1.25 kB / 0.5377 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4609, allocations: 0 / 0.5377 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4609, allocations: 5.125 kB / 0.5377 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005403/0.4615, allocations: 395.3 kB / 0.5381 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4615, allocations: 0 / 0.5381 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.4616, allocations: 22.86 kB / 0.5381 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4616, allocations: 5.125 kB / 0.5381 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4616, allocations: 3.938 kB / 0.5381 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4616, allocations: 5.078 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4616, allocations: 0 / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.462, allocations: 206.7 kB / 0.5383 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.462, allocations: 87.42 kB / 0.5384 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.462, allocations: 5.031 kB / 0.5384 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.4621, allocations: 9.266 kB / 0.5384 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.4622, allocations: 7.016 kB / 0.5384 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.4622, allocations: 2.125 kB / 0.5384 GB, free: 7.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.964e-05/0.4623, allocations: 116 kB / 0.5385 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4623, allocations: 3.938 kB / 0.5385 GB, free: 7.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.4626, allocations: 42.58 kB / 0.5386 GB, free: 7.762 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.001184/0.4638, allocations: 0.4895 MB / 0.539 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.4641, allocations: 74.16 kB / 0.5391 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4641, allocations: 1.25 kB / 0.5391 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.4642, allocations: 45.78 kB / 0.5391 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.4646, allocations: 16.92 kB / 0.5392 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.4651, allocations: 234.8 kB / 0.5394 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.4655, allocations: 0.691 MB / 0.5401 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.4655, allocations: 16.59 kB / 0.5401 GB, free: 6.531 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4655, allocations: 0 / 0.5401 GB, free: 6.531 MB / 398.1 MB Notification: Performance of Templates: time 0.004418/0.4699, allocations: 2.101 MB / 0.5421 GB, free: 5.441 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches