Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001449/0.001449, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 87.8 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3762, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003187/0.3794, allocations: 1.677 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.3806, allocations: 0.5863 MB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.3807, allocations: 1.375 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.3813, allocations: 444.8 kB / 0.5343 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.3818, allocations: 300.4 kB / 0.5346 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.3822, allocations: 180.6 kB / 0.5348 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.3825, allocations: 176.3 kB / 0.5349 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3826, allocations: 22.47 kB / 0.535 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.3828, allocations: 116.2 kB / 0.5351 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.3831, allocations: 211.8 kB / 0.5353 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3831, allocations: 2.469 kB / 0.5353 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.3832, allocations: 56.73 kB / 0.5353 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.3834, allocations: 83.66 kB / 0.5354 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.826e-05/0.3835, allocations: 111.1 kB / 0.5355 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.3838, allocations: 272.4 kB / 0.5358 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3838, allocations: 1.062 kB / 0.5358 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3838, allocations: 4 kB / 0.5358 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3838, allocations: 0 / 0.5358 GB, free: 10.88 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.0007405/0.3846, allocations: 0.6499 MB / 0.5364 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3846, allocations: 9.094 kB / 0.5364 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.071e-05/0.3847, allocations: 47.22 kB / 0.5365 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.385, allocations: 304.2 kB / 0.5368 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.385, allocations: 9.344 kB / 0.5368 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.385, allocations: 3.562 kB / 0.5368 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.3852, allocations: 70.88 kB / 0.5368 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3852, allocations: 0 / 0.5368 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3853, allocations: 4 kB / 0.5368 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3853, allocations: 5.047 kB / 0.5369 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.3854, allocations: 30.73 kB / 0.5369 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.3859, allocations: 405.3 kB / 0.5373 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.3861, allocations: 52 kB / 0.5373 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.3861, allocations: 21.03 kB / 0.5373 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.3862, allocations: 1.062 kB / 0.5373 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.3862, allocations: 31.78 kB / 0.5374 GB, free: 9.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3862, allocations: 0 / 0.5374 GB, free: 9.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001006/0.3872, allocations: 320.5 kB / 0.5377 GB, free: 9.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.3873, allocations: 56.84 kB / 0.5377 GB, free: 9.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009027/0.3882, allocations: 0.866 MB / 0.5386 GB, free: 8.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3882, allocations: 29.7 kB / 0.5386 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.3884, allocations: 222.2 kB / 0.5388 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.3884, allocations: 31.02 kB / 0.5388 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.3885, allocations: 28.23 kB / 0.5389 GB, free: 8.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3886, allocations: 364 kB / 0.5392 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.273e-05/0.3887, allocations: 36.59 kB / 0.5393 GB, free: 8.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.3888, allocations: 29.95 kB / 0.5393 GB, free: 8.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.389, allocations: 74.5 kB / 0.5394 GB, free: 8.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.389, allocations: 0 / 0.5394 GB, free: 8.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002961/0.3893, allocations: 144.5 kB / 0.5395 GB, free: 7.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3893, allocations: 4.5 kB / 0.5395 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3893, allocations: 1.219 kB / 0.5395 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3894, allocations: 3.938 kB / 0.5395 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3895, allocations: 22.11 kB / 0.5395 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3895, allocations: 5.25 kB / 0.5395 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.972e-05/0.3896, allocations: 10.95 kB / 0.5395 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3896, allocations: 1.375 kB / 0.5395 GB, free: 7.922 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.0001952/0.3898, allocations: 219.8 kB / 0.5397 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3899, allocations: 38.53 kB / 0.5398 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.3902, allocations: 183.2 kB / 0.54 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3903, allocations: 5.219 kB / 0.54 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3903, allocations: 3.938 kB / 0.54 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3903, allocations: 1.625 kB / 0.54 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000742/0.391, allocations: 0.5108 MB / 0.5405 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.391, allocations: 7.938 kB / 0.5405 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.436e-05/0.3911, allocations: 19.05 kB / 0.5405 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3911, allocations: 0 / 0.5405 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3912, allocations: 6.531 kB / 0.5405 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3912, allocations: 0 / 0.5405 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3912, allocations: 1.156 kB / 0.5405 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.3915, allocations: 255.3 kB / 0.5407 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.3916, allocations: 115.2 kB / 0.5409 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.3916, allocations: 0.9375 kB / 0.5409 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.3917, allocations: 7.328 kB / 0.5409 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.3917, allocations: 11.55 kB / 0.5409 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.3917, allocations: 2.438 kB / 0.5409 GB, free: 6.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006821/0.3924, allocations: 0.6587 MB / 0.5415 GB, free: 6.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3924, allocations: 0 / 0.5415 GB, free: 6.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.3927, allocations: 31.03 kB / 0.5415 GB, free: 6.496 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.001142/0.3939, allocations: 458.8 kB / 0.542 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.3941, allocations: 80.47 kB / 0.5421 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3941, allocations: 1.25 kB / 0.5421 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.704e-05/0.3942, allocations: 35.48 kB / 0.5421 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.3947, allocations: 37.25 kB / 0.5421 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.396, allocations: 0.8623 MB / 0.543 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.3964, allocations: 0.8275 MB / 0.5438 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.3965, allocations: 18.69 kB / 0.5438 GB, free: 4.934 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3965, allocations: 1.406 kB / 0.5438 GB, free: 4.934 MB / 398.1 MB Notification: Performance of Templates: time 0.006883/0.4034, allocations: 4.052 MB / 0.5478 GB, free: 1.043 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches