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.001054/0.001054, 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.001198/0.001198, allocations: 208.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 76.09 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.303, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002761/0.3058, allocations: 1.618 MB / 0.5333 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008983/0.3067, allocations: 0.5345 MB / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.702e-05/0.3068, allocations: 0 / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.3071, allocations: 114.5 kB / 0.5339 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.3074, allocations: 119.7 kB / 0.534 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.3076, allocations: 86.28 kB / 0.5341 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.3078, allocations: 91.61 kB / 0.5342 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.3079, allocations: 20.23 kB / 0.5342 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.308, allocations: 39.14 kB / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.3081, allocations: 72.92 kB / 0.5343 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3082, allocations: 2.75 kB / 0.5343 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.31e-05/0.3083, allocations: 46.19 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.3083, allocations: 29.33 kB / 0.5344 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.3084, allocations: 34.25 kB / 0.5344 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.3085, allocations: 116.5 kB / 0.5345 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3085, allocations: 4 kB / 0.5345 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3086, allocations: 5.156 kB / 0.5345 GB, free: 11.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3086, allocations: 0 / 0.5345 GB, free: 11.52 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.0005151/0.3091, allocations: 420.8 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.3091, allocations: 13.41 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.3092, allocations: 11.16 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.3094, allocations: 218.6 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3094, allocations: 5.562 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.3094, allocations: 3.188 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.3095, allocations: 53.34 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3096, allocations: 4.641 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.3096, allocations: 4.938 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3096, allocations: 0.8125 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3097, allocations: 23.02 kB / 0.5353 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.3101, allocations: 301.2 kB / 0.5355 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.3102, allocations: 47.28 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.3103, allocations: 16.77 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3103, allocations: 1.031 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3103, allocations: 34.64 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3103, allocations: 1.125 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008768/0.3112, allocations: 239.4 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3113, allocations: 52.5 kB / 0.5359 GB, free: 10.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.3115, allocations: 253.8 kB / 0.5362 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3115, allocations: 31.2 kB / 0.5362 GB, free: 9.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.3116, allocations: 106.5 kB / 0.5363 GB, free: 9.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.3116, allocations: 35.48 kB / 0.5363 GB, free: 9.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.3117, allocations: 18.91 kB / 0.5363 GB, free: 9.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3118, allocations: 327 kB / 0.5366 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.703e-05/0.3119, allocations: 25.72 kB / 0.5367 GB, free: 9.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.3119, allocations: 23.11 kB / 0.5367 GB, free: 9.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.3121, allocations: 67.73 kB / 0.5368 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3121, allocations: 4 kB / 0.5368 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002057/0.3123, allocations: 105.6 kB / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3124, allocations: 7.125 kB / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3124, allocations: 0 / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3124, allocations: 5.062 kB / 0.5369 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3125, allocations: 17.02 kB / 0.5369 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3125, allocations: 1.656 kB / 0.5369 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.3126, allocations: 14.42 kB / 0.5369 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3126, allocations: 2.656 kB / 0.5369 GB, free: 9.344 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.329e-05/0.3127, allocations: 135 kB / 0.537 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.3127, allocations: 13.84 kB / 0.5371 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.313, allocations: 121.6 kB / 0.5372 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3131, allocations: 4.906 kB / 0.5372 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3131, allocations: 1.188 kB / 0.5372 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3131, allocations: 3.938 kB / 0.5372 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.3136, allocations: 410 kB / 0.5376 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3136, allocations: 5.141 kB / 0.5376 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.3137, allocations: 12.94 kB / 0.5376 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.3137, allocations: 4.969 kB / 0.5376 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3137, allocations: 6.047 kB / 0.5376 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3137, allocations: 1.062 kB / 0.5376 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3137, allocations: 0 / 0.5376 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.314, allocations: 213.3 kB / 0.5378 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.3141, allocations: 88.52 kB / 0.5379 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3141, allocations: 1.344 kB / 0.5379 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.3142, allocations: 3.844 kB / 0.5379 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.3142, allocations: 6.703 kB / 0.5379 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3142, allocations: 11.12 kB / 0.5379 GB, free: 8.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.3144, allocations: 188 kB / 0.5381 GB, free: 8.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3144, allocations: 0 / 0.5381 GB, free: 8.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.3147, allocations: 23.31 kB / 0.5381 GB, free: 8.289 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.0009982/0.3157, allocations: 454.5 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.3159, allocations: 66.45 kB / 0.5386 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3159, allocations: 0.9062 kB / 0.5386 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.183e-05/0.316, allocations: 37.11 kB / 0.5386 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.3163, allocations: 26.66 kB / 0.5387 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.3169, allocations: 327.6 kB / 0.539 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.3172, allocations: 0.7137 MB / 0.5397 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.3172, allocations: 14.59 kB / 0.5397 GB, free: 7.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3172, allocations: 0 / 0.5397 GB, free: 7.02 MB / 398.1 MB Notification: Performance of Templates: time 0.00341/0.3206, allocations: 1.847 MB / 0.5415 GB, free: 6.059 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 -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