Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 115.5 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 210.8 kB / 19.41 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, 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.2294/0.2294, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 79.88 kB / 482.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3205, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002874/0.3234, allocations: 1.625 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.3252, allocations: 1.17 MB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.3252, allocations: 1.094 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.3254, allocations: 27.78 kB / 0.5345 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.3257, allocations: 86.83 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.326, allocations: 110.1 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.3262, allocations: 80.77 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3263, allocations: 20.23 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.3263, allocations: 26.91 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.3265, allocations: 36.22 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.3265, allocations: 5.5 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.3267, allocations: 100.1 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.3267, allocations: 29.41 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.3267, allocations: 25.31 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.327, allocations: 158.9 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.327, allocations: 1.375 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.327, allocations: 0 / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.327, allocations: 0 / 0.5352 GB, free: 10.95 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.0005569/0.3276, allocations: 419.5 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.3276, allocations: 9.625 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.3276, allocations: 9.016 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.3279, allocations: 195.2 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-06/0.3279, allocations: 9.688 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.3279, allocations: 11.06 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.3281, allocations: 80.12 kB / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3281, allocations: 3.953 kB / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3281, allocations: 4 kB / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3281, allocations: 1.375 kB / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.3282, allocations: 32.59 kB / 0.5359 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.3287, allocations: 314.3 kB / 0.5362 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.3288, allocations: 55.95 kB / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.266e-05/0.3289, allocations: 25.53 kB / 0.5363 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.3289, allocations: 1.125 kB / 0.5363 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.3289, allocations: 43.86 kB / 0.5363 GB, free: 9.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3289, allocations: 3.938 kB / 0.5363 GB, free: 9.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007267/0.3296, allocations: 198.5 kB / 0.5365 GB, free: 9.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.3297, allocations: 78.11 kB / 0.5366 GB, free: 9.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3299, allocations: 155.2 kB / 0.5367 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.3299, allocations: 30.86 kB / 0.5368 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.33, allocations: 99.69 kB / 0.5369 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.33, allocations: 26.98 kB / 0.5369 GB, free: 9.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.3301, allocations: 24.12 kB / 0.5369 GB, free: 9.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3302, allocations: 321.2 kB / 0.5372 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.3303, allocations: 24.73 kB / 0.5372 GB, free: 8.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.946e-05/0.3304, allocations: 44.75 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.3306, allocations: 80.95 kB / 0.5374 GB, free: 8.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3306, allocations: 0 / 0.5374 GB, free: 8.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002401/0.3308, allocations: 107.5 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3308, allocations: 5.75 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3308, allocations: 320 / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3308, allocations: 1.062 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3309, allocations: 18.39 kB / 0.5375 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.331, allocations: 3.938 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.331, allocations: 8.469 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.331, allocations: 5.047 kB / 0.5375 GB, free: 8.746 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 9.899e-05/0.3311, allocations: 123.9 kB / 0.5376 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.3312, allocations: 12.22 kB / 0.5376 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.3315, allocations: 131.4 kB / 0.5377 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3315, allocations: 1.188 kB / 0.5378 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3315, allocations: 5 kB / 0.5378 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3315, allocations: 4 kB / 0.5378 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/0.332, allocations: 400.1 kB / 0.5381 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.332, allocations: 1.094 kB / 0.5381 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.552e-05/0.3321, allocations: 21.2 kB / 0.5382 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3321, allocations: 5.031 kB / 0.5382 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3321, allocations: 1.188 kB / 0.5382 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3321, allocations: 0 / 0.5382 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3321, allocations: 1.281 kB / 0.5382 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.3324, allocations: 218.4 kB / 0.5384 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.3325, allocations: 87.59 kB / 0.5385 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.3325, allocations: 1.875 kB / 0.5385 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.3326, allocations: 2.844 kB / 0.5385 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.3326, allocations: 10.98 kB / 0.5385 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.3326, allocations: 6.188 kB / 0.5385 GB, free: 7.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.3327, allocations: 123.2 kB / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3327, allocations: 0 / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.333, allocations: 39.34 kB / 0.5386 GB, free: 7.719 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 (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.00176/0.3348, allocations: 0.4904 MB / 0.5391 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.3351, allocations: 69.66 kB / 0.5392 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3351, allocations: 3.938 kB / 0.5392 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.3352, allocations: 43.44 kB / 0.5392 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.3355, allocations: 25.31 kB / 0.5393 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.3361, allocations: 207.1 kB / 0.5394 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.3365, allocations: 0.694 MB / 0.5401 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.162e-05/0.3366, allocations: 24.83 kB / 0.5402 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.3366, allocations: 19.77 kB / 0.5402 GB, free: 6.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3366, allocations: 0 / 0.5402 GB, free: 6.5 MB / 398.1 MB Notification: Performance of Templates: time 0.005217/0.3419, allocations: 1.869 MB / 0.542 GB, free: 5.531 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches