Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 111 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.001279, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.11 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 75.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3801, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003276/0.3834, allocations: 1.698 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3846, allocations: 0.5935 MB / 0.5339 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.3847, allocations: 1.375 kB / 0.5339 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.3849, allocations: 23.91 kB / 0.5339 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.3852, allocations: 84.36 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.3857, allocations: 183.8 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.3859, allocations: 102.2 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.386, allocations: 22.92 kB / 0.5343 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.3861, allocations: 41.59 kB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.54e-05/0.3862, allocations: 45.53 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3862, allocations: 5.5 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.3864, allocations: 108.2 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.3865, allocations: 26.78 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.3865, allocations: 30.67 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.3868, allocations: 174.3 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3869, allocations: 1.031 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3869, allocations: 0 / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3869, allocations: 0 / 0.5347 GB, free: 11.3 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.0006836/0.3876, allocations: 442 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3876, allocations: 8.719 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.3877, allocations: 10.28 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.3879, allocations: 203.8 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3879, allocations: 5.641 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.388, allocations: 6.344 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.3882, allocations: 99.14 kB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3883, allocations: 0 / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3883, allocations: 1.375 kB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3883, allocations: 1.438 kB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.3886, allocations: 78.8 kB / 0.5355 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/0.3892, allocations: 338.2 kB / 0.5359 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.3895, allocations: 76.84 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.3896, allocations: 53.84 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3897, allocations: 1.156 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3897, allocations: 31.69 kB / 0.536 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.525e-06/0.3897, allocations: 0 / 0.536 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001576/0.3913, allocations: 416.9 kB / 0.5364 GB, free: 9.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.3913, allocations: 82.48 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.3915, allocations: 159.9 kB / 0.5367 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3916, allocations: 25.7 kB / 0.5367 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.3916, allocations: 101.2 kB / 0.5368 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.3917, allocations: 31.59 kB / 0.5368 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.3917, allocations: 21.53 kB / 0.5368 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3919, allocations: 325.6 kB / 0.5371 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.3921, allocations: 81.88 kB / 0.5372 GB, free: 9.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.3924, allocations: 92.52 kB / 0.5373 GB, free: 9.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/0.393, allocations: 175.4 kB / 0.5375 GB, free: 8.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.393, allocations: 0 / 0.5375 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006088/0.3936, allocations: 209.2 kB / 0.5377 GB, free: 8.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3936, allocations: 11 kB / 0.5377 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3936, allocations: 1.188 kB / 0.5377 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3937, allocations: 0 / 0.5377 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.3939, allocations: 45.92 kB / 0.5377 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3939, allocations: 1.125 kB / 0.5377 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.3941, allocations: 29.92 kB / 0.5378 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3941, allocations: 2.125 kB / 0.5378 GB, free: 8.762 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.000102/0.3942, allocations: 116.5 kB / 0.5379 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.3942, allocations: 9.188 kB / 0.5379 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006893/0.3949, allocations: 223.1 kB / 0.5381 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.3949, allocations: 9.719 kB / 0.5381 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.395, allocations: 0 / 0.5381 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.395, allocations: 5.453 kB / 0.5381 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009333/0.3959, allocations: 0.527 MB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3959, allocations: 0 / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.3961, allocations: 40.23 kB / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3961, allocations: 1.094 kB / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3961, allocations: 1.219 kB / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3961, allocations: 1.344 kB / 0.5387 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3961, allocations: 3.938 kB / 0.5387 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.3968, allocations: 304.6 kB / 0.539 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.3969, allocations: 88.66 kB / 0.539 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.3969, allocations: 0 / 0.539 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.3971, allocations: 25.97 kB / 0.5391 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.3971, allocations: 8.547 kB / 0.5391 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3971, allocations: 5.594 kB / 0.5391 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.3973, allocations: 126 kB / 0.5392 GB, free: 7.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3973, allocations: 0 / 0.5392 GB, free: 7.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000319/0.3976, allocations: 49.14 kB / 0.5392 GB, free: 7.566 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.001162/0.3988, allocations: 0.4924 MB / 0.5397 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006316/0.3994, allocations: 177.3 kB / 0.5399 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3994, allocations: 0 / 0.5399 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.3997, allocations: 87.11 kB / 0.54 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.4001, allocations: 30.19 kB / 0.54 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.4006, allocations: 256.7 kB / 0.5402 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.4009, allocations: 0.7012 MB / 0.5409 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.401, allocations: 20.89 kB / 0.541 GB, free: 6.234 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.401, allocations: 0 / 0.541 GB, free: 6.234 MB / 398.1 MB Notification: Performance of Templates: time 0.004857/0.4059, allocations: 2.633 MB / 0.5435 GB, free: 4.871 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches