Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001542/0.001542, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 197.2 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.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2542/0.2542, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3831, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003011/0.3862, allocations: 1.703 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3872, allocations: 0.5658 MB / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.3873, allocations: 1.375 kB / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.3875, allocations: 19.97 kB / 0.5332 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.3878, allocations: 84.31 kB / 0.5333 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.3881, allocations: 145.4 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.3883, allocations: 83.52 kB / 0.5335 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.3884, allocations: 20.17 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.341e-05/0.3885, allocations: 37.59 kB / 0.5336 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.476e-05/0.3886, allocations: 48.09 kB / 0.5336 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3886, allocations: 9.5 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.3888, allocations: 108.3 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.3889, allocations: 25.41 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.3889, allocations: 34.61 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.3892, allocations: 167.8 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3892, allocations: 1.375 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3892, allocations: 0 / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3893, allocations: 0 / 0.534 GB, free: 11.34 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.0006406/0.3899, allocations: 428.5 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3899, allocations: 14.47 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.39, allocations: 13.19 kB / 0.5344 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.3902, allocations: 202.4 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.3902, allocations: 2.781 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.3903, allocations: 6.344 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.3905, allocations: 89.42 kB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3905, allocations: 4 kB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3906, allocations: 0.875 kB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3906, allocations: 1.281 kB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.3909, allocations: 66.3 kB / 0.5348 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.3913, allocations: 314.2 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.3916, allocations: 73.03 kB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.3917, allocations: 48.16 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.3918, allocations: 1.125 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.3918, allocations: 39.69 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.3918, allocations: 3.938 kB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001647/0.3934, allocations: 373.4 kB / 0.5356 GB, free: 9.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.3935, allocations: 82.92 kB / 0.5357 GB, free: 9.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3937, allocations: 154.6 kB / 0.5358 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3937, allocations: 34.95 kB / 0.5358 GB, free: 9.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.3938, allocations: 95.94 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.3938, allocations: 31.45 kB / 0.536 GB, free: 9.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.3939, allocations: 24.59 kB / 0.536 GB, free: 9.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.394, allocations: 321.6 kB / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.3943, allocations: 69.8 kB / 0.5364 GB, free: 9.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.3946, allocations: 91.98 kB / 0.5364 GB, free: 9.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.3951, allocations: 148.9 kB / 0.5366 GB, free: 9.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3951, allocations: 1.094 kB / 0.5366 GB, free: 9.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006258/0.3958, allocations: 192.2 kB / 0.5368 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3958, allocations: 5.594 kB / 0.5368 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3958, allocations: 3.938 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3958, allocations: 1.094 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.396, allocations: 41.83 kB / 0.5368 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3961, allocations: 1.031 kB / 0.5368 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.3962, allocations: 24.78 kB / 0.5369 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3962, allocations: 7.125 kB / 0.5369 GB, free: 8.875 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 (10): * Single equations (assignments): 10 * 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.0001/0.3963, allocations: 122.4 kB / 0.537 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.3964, allocations: 13.12 kB / 0.537 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006872/0.3971, allocations: 202 kB / 0.5372 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3971, allocations: 5.047 kB / 0.5372 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3971, allocations: 5.031 kB / 0.5372 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3971, allocations: 4.359 kB / 0.5372 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009547/0.3981, allocations: 0.494 MB / 0.5377 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3981, allocations: 0 / 0.5377 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.3983, allocations: 32.47 kB / 0.5377 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3983, allocations: 1.281 kB / 0.5377 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3983, allocations: 0 / 0.5377 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3983, allocations: 9.016 kB / 0.5377 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3983, allocations: 0 / 0.5377 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/0.399, allocations: 290.1 kB / 0.538 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.3991, allocations: 83.73 kB / 0.5381 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3991, allocations: 1.125 kB / 0.5381 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.3993, allocations: 33.89 kB / 0.5381 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.3993, allocations: 8.453 kB / 0.5381 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.3994, allocations: 5.438 kB / 0.5381 GB, free: 7.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.582e-05/0.3995, allocations: 118.2 kB / 0.5382 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3995, allocations: 0 / 0.5382 GB, free: 7.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003149/0.3998, allocations: 48.12 kB / 0.5383 GB, free: 7.707 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 (9): * Single equations (assignments): 9 * 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.001209/0.401, allocations: 0.5055 MB / 0.5388 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006412/0.4017, allocations: 157.3 kB / 0.5389 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4017, allocations: 1.562 kB / 0.5389 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.402, allocations: 81.81 kB / 0.539 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.4023, allocations: 29.61 kB / 0.539 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.4028, allocations: 215.4 kB / 0.5392 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.4031, allocations: 0.6992 MB / 0.5399 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.225e-05/0.4032, allocations: 16.23 kB / 0.5399 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.4033, allocations: 20.52 kB / 0.54 GB, free: 6.418 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4033, allocations: 0 / 0.54 GB, free: 6.418 MB / 398.1 MB Notification: Performance of Templates: time 0.005773/0.4091, allocations: 2.557 MB / 0.5424 GB, free: 5.09 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches