Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 109.1 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.00125/0.00125, 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.241/1.241, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1905/0.1905, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 71.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3044, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002703/0.3071, allocations: 1.606 MB / 0.5332 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009988/0.3081, allocations: 0.5624 MB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.3082, allocations: 0 / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.3084, allocations: 21.23 kB / 0.5338 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.3087, allocations: 78.98 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.309, allocations: 122.3 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3091, allocations: 60.78 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.3092, allocations: 18.86 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.3093, allocations: 34.84 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.3093, allocations: 29.42 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3094, allocations: 4.125 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.3095, allocations: 101.5 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.3096, allocations: 18.66 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.3096, allocations: 25.31 kB / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.3099, allocations: 145.3 kB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3099, allocations: 4 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3099, allocations: 1.375 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.3099, allocations: 0 / 0.5344 GB, free: 11.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004457/0.3103, allocations: 406.9 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.3104, allocations: 9.625 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.3104, allocations: 7.594 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.3106, allocations: 192.2 kB / 0.535 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-06/0.3106, allocations: 5.688 kB / 0.535 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3106, allocations: 7.125 kB / 0.535 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3108, allocations: 63.91 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3108, allocations: 3.984 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3108, allocations: 1.375 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3108, allocations: 0 / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.426e-05/0.3109, allocations: 27.11 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.3113, allocations: 298.9 kB / 0.5354 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.389e-05/0.3114, allocations: 47.12 kB / 0.5354 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.3115, allocations: 27.92 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.3115, allocations: 0 / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.3115, allocations: 32.38 kB / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3115, allocations: 0 / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005924/0.3121, allocations: 185.4 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.3122, allocations: 79.36 kB / 0.5358 GB, free: 10.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.3124, allocations: 158.3 kB / 0.5359 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3124, allocations: 25.7 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.3124, allocations: 91.42 kB / 0.536 GB, free: 9.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.3125, allocations: 26.48 kB / 0.536 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.3125, allocations: 24.75 kB / 0.5361 GB, free: 9.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3126, allocations: 326 kB / 0.5364 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.3127, allocations: 23.45 kB / 0.5364 GB, free: 9.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.609e-05/0.3128, allocations: 49.09 kB / 0.5364 GB, free: 9.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.3129, allocations: 73.78 kB / 0.5365 GB, free: 9.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.313, allocations: 4.031 kB / 0.5365 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002167/0.3132, allocations: 111.9 kB / 0.5366 GB, free: 9.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3132, allocations: 4.438 kB / 0.5366 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3132, allocations: 0.875 kB / 0.5366 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3132, allocations: 5 kB / 0.5366 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.3133, allocations: 21.39 kB / 0.5367 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3133, allocations: 0 / 0.5367 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.3134, allocations: 8.422 kB / 0.5367 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.3134, allocations: 9.188 kB / 0.5367 GB, free: 9.363 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 7.417e-05/0.3135, allocations: 115.4 kB / 0.5368 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.3135, allocations: 7.375 kB / 0.5368 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.3138, allocations: 128.2 kB / 0.5369 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3138, allocations: 1.219 kB / 0.5369 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3138, allocations: 1.156 kB / 0.5369 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3138, allocations: 0 / 0.5369 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.3143, allocations: 398.5 kB / 0.5373 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3143, allocations: 0 / 0.5373 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.3144, allocations: 15.77 kB / 0.5373 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3144, allocations: 1.312 kB / 0.5373 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3144, allocations: 5.188 kB / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3144, allocations: 0 / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3144, allocations: 0 / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.3146, allocations: 198.3 kB / 0.5375 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.3147, allocations: 87.23 kB / 0.5376 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.3147, allocations: 5.406 kB / 0.5376 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.3148, allocations: 6.859 kB / 0.5376 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.3148, allocations: 2.906 kB / 0.5376 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.3148, allocations: 2.406 kB / 0.5376 GB, free: 8.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.079e-05/0.3149, allocations: 120.8 kB / 0.5377 GB, free: 8.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.315, allocations: 4 kB / 0.5377 GB, free: 8.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.3153, allocations: 46.73 kB / 0.5378 GB, free: 8.359 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 (7): * Single equations (assignments): 7 * 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.001027/0.3163, allocations: 498.6 kB / 0.5382 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.3165, allocations: 74.78 kB / 0.5383 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3165, allocations: 0 / 0.5383 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.904e-05/0.3166, allocations: 37.44 kB / 0.5384 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.317, allocations: 22.69 kB / 0.5384 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.3174, allocations: 220.3 kB / 0.5386 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3176, allocations: 0.6913 MB / 0.5393 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.3177, allocations: 19.89 kB / 0.5393 GB, free: 7.141 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3177, allocations: 0 / 0.5393 GB, free: 7.141 MB / 398.1 MB Notification: Performance of Templates: time 0.003636/0.3213, allocations: 2.13 MB / 0.5414 GB, free: 6.035 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches