Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 118.6 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 207.7 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.12 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 79.86 kB / 482.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3122, allocations: 62.46 MB / 0.5318 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002797/0.315, allocations: 1.612 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009552/0.316, allocations: 0.538 MB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.316, allocations: 1.375 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.3163, allocations: 110.5 kB / 0.534 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.3166, allocations: 118.4 kB / 0.5341 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.3169, allocations: 92.56 kB / 0.5342 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.317, allocations: 87.62 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3171, allocations: 17.48 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.393e-05/0.3172, allocations: 39.16 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.3173, allocations: 68.92 kB / 0.5344 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3173, allocations: 2.75 kB / 0.5344 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.933e-05/0.3174, allocations: 50.22 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.3175, allocations: 25.48 kB / 0.5345 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.3175, allocations: 29.25 kB / 0.5345 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.3178, allocations: 121.2 kB / 0.5346 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3178, allocations: 1.375 kB / 0.5346 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3178, allocations: 0 / 0.5346 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3178, allocations: 4 kB / 0.5346 GB, free: 11.44 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.0006675/0.3184, allocations: 435 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3185, allocations: 9 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.3185, allocations: 14.67 kB / 0.535 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.3188, allocations: 211.4 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3188, allocations: 2.031 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.3188, allocations: 3.125 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3189, allocations: 61.45 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.319, allocations: 13 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.319, allocations: 0 / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.319, allocations: 1.344 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.3191, allocations: 23.17 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.3195, allocations: 302.3 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.3196, allocations: 44.94 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.3197, allocations: 19.86 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3197, allocations: 1.188 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.3197, allocations: 39.33 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3197, allocations: 0 / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009089/0.3206, allocations: 231.7 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3207, allocations: 52.47 kB / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.3209, allocations: 254.6 kB / 0.5362 GB, free: 9.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.321, allocations: 29.7 kB / 0.5363 GB, free: 9.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.321, allocations: 107 kB / 0.5364 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.3211, allocations: 31.17 kB / 0.5364 GB, free: 9.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.3211, allocations: 20.41 kB / 0.5364 GB, free: 9.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3213, allocations: 335 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.3214, allocations: 25.05 kB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.131e-05/0.3214, allocations: 26.92 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3216, allocations: 68.17 kB / 0.5369 GB, free: 9.332 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3216, allocations: 3.938 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000218/0.3218, allocations: 101.5 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3218, allocations: 7.125 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.3218, allocations: 3.984 kB / 0.537 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3219, allocations: 1.281 kB / 0.537 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.322, allocations: 17.94 kB / 0.537 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.322, allocations: 3.984 kB / 0.537 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.322, allocations: 11.41 kB / 0.537 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.322, allocations: 2.125 kB / 0.537 GB, free: 9.246 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 0.0001145/0.3221, allocations: 131.6 kB / 0.5371 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.3222, allocations: 18.31 kB / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.3225, allocations: 113.3 kB / 0.5373 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3225, allocations: 1.281 kB / 0.5373 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3225, allocations: 0 / 0.5373 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.3225, allocations: 3.938 kB / 0.5373 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.323, allocations: 422.2 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.323, allocations: 0 / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/0.3231, allocations: 14.09 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.3231, allocations: 8.984 kB / 0.5377 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.3231, allocations: 1.438 kB / 0.5377 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3231, allocations: 0.875 kB / 0.5377 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3231, allocations: 1.125 kB / 0.5377 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.3234, allocations: 213.3 kB / 0.5379 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.3235, allocations: 88.22 kB / 0.538 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.3235, allocations: 5.125 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.3236, allocations: 4.25 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.3236, allocations: 19.19 kB / 0.538 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3236, allocations: 6.109 kB / 0.538 GB, free: 8.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001853/0.3238, allocations: 188.7 kB / 0.5382 GB, free: 8.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3238, allocations: 0 / 0.5382 GB, free: 8.191 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.3241, allocations: 26.34 kB / 0.5382 GB, free: 8.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001663/0.3257, allocations: 453.8 kB / 0.5386 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.326, allocations: 72.94 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.326, allocations: 3.938 kB / 0.5387 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/0.3261, allocations: 28.7 kB / 0.5387 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3264, allocations: 27.08 kB / 0.5388 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.327, allocations: 293.6 kB / 0.539 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.3273, allocations: 0.7145 MB / 0.5397 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.942e-05/0.3274, allocations: 11.12 kB / 0.5398 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.3274, allocations: 13.53 kB / 0.5398 GB, free: 6.941 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3274, allocations: 1.281 kB / 0.5398 GB, free: 6.941 MB / 398.1 MB Notification: Performance of Templates: time 0.004328/0.3317, allocations: 1.381 MB / 0.5411 GB, free: 6.238 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches