Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3712/0.3712, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 71.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.475, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.006925/0.482, allocations: 1.616 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.484, allocations: 0.5481 MB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.4842, allocations: 5.375 kB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004799/0.4847, allocations: 110.5 kB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006085/0.4853, allocations: 114.4 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.486, allocations: 114.7 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.4863, allocations: 91.61 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.4865, allocations: 21.61 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.4867, allocations: 39.14 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.487, allocations: 68.94 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.487, allocations: 2.75 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.4872, allocations: 46.23 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.816e-05/0.4873, allocations: 21.55 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.4874, allocations: 38.55 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.4878, allocations: 125.2 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4879, allocations: 1.375 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4879, allocations: 0 / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.4879, allocations: 0 / 0.5339 GB, free: 11.46 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.0009036/0.4888, allocations: 434.5 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.4889, allocations: 10 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.097e-05/0.489, allocations: 10.64 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.4894, allocations: 211.3 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.4894, allocations: 5.5 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.4895, allocations: 6.875 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.4897, allocations: 59.17 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.4898, allocations: 3.953 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.4898, allocations: 5.344 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4898, allocations: 0 / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.49, allocations: 28.22 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.4908, allocations: 306.7 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.491, allocations: 44 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.4912, allocations: 21.38 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.4912, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.4913, allocations: 31.69 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/0.4913, allocations: 0 / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001654/0.493, allocations: 256.2 kB / 0.5353 GB, free: 10.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.4931, allocations: 52.47 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005009/0.4936, allocations: 262.6 kB / 0.5356 GB, free: 9.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.4936, allocations: 26.8 kB / 0.5356 GB, free: 9.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.4938, allocations: 114.4 kB / 0.5357 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.4938, allocations: 30.66 kB / 0.5357 GB, free: 9.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.446e-05/0.4939, allocations: 24.8 kB / 0.5358 GB, free: 9.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4942, allocations: 327.2 kB / 0.5361 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.4943, allocations: 28.77 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.4945, allocations: 32.44 kB / 0.5361 GB, free: 9.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.4948, allocations: 81.44 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4949, allocations: 1.438 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004323/0.4953, allocations: 113 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.4953, allocations: 5.406 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.4954, allocations: 3.938 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.4954, allocations: 1.312 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.4955, allocations: 20.98 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4956, allocations: 1.125 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.939e-05/0.4957, allocations: 15.03 kB / 0.5364 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.4957, allocations: 6.094 kB / 0.5364 GB, free: 9.23 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 (8): * Single equations (assignments): 8 * 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.0001614/0.4959, allocations: 128.5 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.496, allocations: 14.84 kB / 0.5365 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.4964, allocations: 131.5 kB / 0.5366 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.4965, allocations: 0 / 0.5366 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4965, allocations: 1.469 kB / 0.5366 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4965, allocations: 7.875 kB / 0.5366 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009368/0.4974, allocations: 433.6 kB / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4975, allocations: 1.094 kB / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.4976, allocations: 18.3 kB / 0.5371 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.4976, allocations: 5 kB / 0.5371 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.4977, allocations: 1.094 kB / 0.5371 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4977, allocations: 1.062 kB / 0.5371 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4977, allocations: 0 / 0.5371 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.4982, allocations: 218 kB / 0.5373 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.4983, allocations: 92.73 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.4984, allocations: 1.125 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.4985, allocations: 7.312 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.4986, allocations: 11.3 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.4986, allocations: 2.562 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002873/0.4989, allocations: 188.5 kB / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4989, allocations: 0 / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004379/0.4994, allocations: 24.06 kB / 0.5376 GB, free: 8.164 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001817/0.5012, allocations: 458.9 kB / 0.538 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003732/0.5016, allocations: 75.33 kB / 0.5381 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.5016, allocations: 1.156 kB / 0.5381 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.5018, allocations: 39.44 kB / 0.5381 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.5024, allocations: 38.36 kB / 0.5382 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008315/0.5033, allocations: 304.5 kB / 0.5385 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.5038, allocations: 0.7163 MB / 0.5392 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.5039, allocations: 19.97 kB / 0.5392 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.504, allocations: 17.25 kB / 0.5392 GB, free: 6.898 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.504, allocations: 1.125 kB / 0.5392 GB, free: 6.898 MB / 398.1 MB Notification: Performance of Templates: time 0.006812/0.5108, allocations: 1.41 MB / 0.5406 GB, free: 6.18 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches