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.001481/0.001481, 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.001737/0.001738, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.666/1.666, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 71.89 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2939, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002927/0.2968, allocations: 1.707 MB / 0.5333 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.298, allocations: 0.5934 MB / 0.5339 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.298, allocations: 1.25 kB / 0.5339 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.2982, allocations: 36.3 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.2985, allocations: 77.62 kB / 0.534 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.299, allocations: 179.5 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.2991, allocations: 98.75 kB / 0.5343 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2992, allocations: 22.7 kB / 0.5343 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.939e-05/0.2994, allocations: 37.88 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.74e-05/0.2994, allocations: 53.45 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.2995, allocations: 5.5 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.2996, allocations: 104.3 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.2997, allocations: 21.42 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.181e-05/0.2998, allocations: 40.03 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.3001, allocations: 162.5 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3001, allocations: 0 / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3001, allocations: 0 / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3001, allocations: 0 / 0.5347 GB, free: 11.27 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.0006162/0.3007, allocations: 446 kB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.3008, allocations: 9.625 kB / 0.5352 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.3008, allocations: 8.969 kB / 0.5352 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.301, allocations: 209 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-06/0.3011, allocations: 1.75 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.3011, allocations: 10.69 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.3014, allocations: 90.86 kB / 0.5355 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3014, allocations: 0 / 0.5355 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3014, allocations: 5.375 kB / 0.5355 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.3014, allocations: 1.375 kB / 0.5355 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.3017, allocations: 67.8 kB / 0.5355 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.3024, allocations: 345.2 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.3026, allocations: 76.48 kB / 0.5359 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.3028, allocations: 45.55 kB / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.3028, allocations: 5.094 kB / 0.536 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.3029, allocations: 39.61 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3029, allocations: 1.062 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001775/0.3046, allocations: 416.5 kB / 0.5364 GB, free: 9.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3047, allocations: 86.27 kB / 0.5365 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.3049, allocations: 152.8 kB / 0.5367 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3049, allocations: 30.77 kB / 0.5367 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.305, allocations: 96.72 kB / 0.5368 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.305, allocations: 26.88 kB / 0.5368 GB, free: 9.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.3051, allocations: 29.77 kB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.3052, allocations: 322.2 kB / 0.5371 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.3055, allocations: 81.62 kB / 0.5372 GB, free: 9.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.3059, allocations: 96.59 kB / 0.5373 GB, free: 8.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005983/0.3065, allocations: 171.4 kB / 0.5375 GB, free: 8.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3065, allocations: 0 / 0.5375 GB, free: 8.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007178/0.3072, allocations: 213.4 kB / 0.5377 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3072, allocations: 5.438 kB / 0.5377 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3072, allocations: 0 / 0.5377 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3073, allocations: 1.375 kB / 0.5377 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.3075, allocations: 45.55 kB / 0.5377 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3075, allocations: 1 kB / 0.5377 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.3077, allocations: 25.12 kB / 0.5377 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.3077, allocations: 2.344 kB / 0.5377 GB, free: 8.734 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.0001103/0.3078, allocations: 124.6 kB / 0.5379 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.3079, allocations: 13.19 kB / 0.5379 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007288/0.3086, allocations: 219.8 kB / 0.5381 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3086, allocations: 4.875 kB / 0.5381 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.3087, allocations: 96 / 0.5381 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3087, allocations: 5.156 kB / 0.5381 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3097, allocations: 0.519 MB / 0.5386 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.3097, allocations: 5.109 kB / 0.5386 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.3099, allocations: 32.47 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3099, allocations: 4 kB / 0.5386 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.31, allocations: 4.844 kB / 0.5386 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.31, allocations: 1.25 kB / 0.5387 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.31, allocations: 0 / 0.5387 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007625/0.3107, allocations: 309.1 kB / 0.5389 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.3108, allocations: 84.2 kB / 0.539 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.3108, allocations: 9.141 kB / 0.539 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.311, allocations: 21.03 kB / 0.5391 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.3111, allocations: 12.23 kB / 0.5391 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.3111, allocations: 2.25 kB / 0.5391 GB, free: 7.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.3113, allocations: 126.1 kB / 0.5392 GB, free: 7.555 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3113, allocations: 0 / 0.5392 GB, free: 7.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003179/0.3116, allocations: 53.33 kB / 0.5392 GB, free: 7.535 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.001125/0.3127, allocations: 0.4915 MB / 0.5397 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007078/0.3134, allocations: 177.2 kB / 0.5399 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3134, allocations: 1.188 kB / 0.5399 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.3138, allocations: 85.47 kB / 0.54 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3141, allocations: 32.31 kB / 0.54 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.3146, allocations: 253.6 kB / 0.5402 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.3149, allocations: 0.7094 MB / 0.5409 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.315, allocations: 20.09 kB / 0.541 GB, free: 6.199 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.315, allocations: 1.625 kB / 0.541 GB, free: 6.199 MB / 398.1 MB Notification: Performance of Templates: time 0.005098/0.3201, allocations: 2.628 MB / 0.5435 GB, free: 4.84 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