Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001452/0.001452, allocations: 113.1 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.00178/0.00178, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, 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.1963/0.1963, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002559/0.002559, allocations: 84 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3227, allocations: 62.42 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002689/0.3254, allocations: 1.624 MB / 0.5333 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009079/0.3263, allocations: 0.538 MB / 0.5338 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.3264, allocations: 1.375 kB / 0.5338 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.3267, allocations: 118.8 kB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.327, allocations: 126.4 kB / 0.534 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.3272, allocations: 94.31 kB / 0.5341 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.3274, allocations: 97.16 kB / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3275, allocations: 24.25 kB / 0.5342 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/0.3276, allocations: 49.81 kB / 0.5343 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.3277, allocations: 82.53 kB / 0.5344 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3278, allocations: 2.75 kB / 0.5344 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.6e-05/0.3279, allocations: 40.86 kB / 0.5344 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.3279, allocations: 30.86 kB / 0.5344 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.328, allocations: 42.48 kB / 0.5345 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.3281, allocations: 123.4 kB / 0.5346 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3282, allocations: 1.312 kB / 0.5346 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3282, allocations: 0 / 0.5346 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3282, allocations: 0 / 0.5346 GB, free: 11.48 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.00048/0.3287, allocations: 439.1 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.3287, allocations: 8.969 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.3287, allocations: 15.28 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.329, allocations: 214.1 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.329, allocations: 1.5 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.329, allocations: 7.625 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3292, allocations: 53.48 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3292, allocations: 0.7812 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3292, allocations: 1 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3292, allocations: 0.9688 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.809e-05/0.3293, allocations: 35.62 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.3297, allocations: 302.3 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.3298, allocations: 42.64 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/0.3299, allocations: 16.58 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3299, allocations: 5 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.3299, allocations: 32.09 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3299, allocations: 4 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008714/0.3308, allocations: 235.9 kB / 0.5359 GB, free: 10.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.3308, allocations: 52.53 kB / 0.536 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.3311, allocations: 278.9 kB / 0.5363 GB, free: 9.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3311, allocations: 30.73 kB / 0.5363 GB, free: 9.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.3312, allocations: 115.8 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.3312, allocations: 26.39 kB / 0.5364 GB, free: 9.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.3313, allocations: 20.31 kB / 0.5364 GB, free: 9.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.3314, allocations: 327.8 kB / 0.5368 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.3315, allocations: 20.89 kB / 0.5368 GB, free: 9.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.3316, allocations: 34.97 kB / 0.5368 GB, free: 9.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.3317, allocations: 68.2 kB / 0.5369 GB, free: 9.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3317, allocations: 3.938 kB / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002155/0.332, allocations: 101.4 kB / 0.537 GB, free: 9.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.332, allocations: 5.062 kB / 0.537 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.332, allocations: 0 / 0.537 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.332, allocations: 1.656 kB / 0.537 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3321, allocations: 17.38 kB / 0.537 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3321, allocations: 4.312 kB / 0.537 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.3322, allocations: 19.5 kB / 0.537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3322, allocations: 2.594 kB / 0.537 GB, free: 9.277 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.307e-05/0.3323, allocations: 141.3 kB / 0.5372 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.3323, allocations: 10.62 kB / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.3326, allocations: 126.1 kB / 0.5373 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3326, allocations: 1.188 kB / 0.5373 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3327, allocations: 4 kB / 0.5373 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3327, allocations: 3.938 kB / 0.5373 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.3332, allocations: 412.9 kB / 0.5377 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3332, allocations: 0 / 0.5377 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.259e-05/0.3333, allocations: 18.27 kB / 0.5377 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.3333, allocations: 5.031 kB / 0.5377 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3333, allocations: 5.094 kB / 0.5377 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3333, allocations: 5 kB / 0.5377 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3333, allocations: 1.125 kB / 0.5377 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.3336, allocations: 200.8 kB / 0.5379 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.3336, allocations: 92.7 kB / 0.538 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3336, allocations: 5.438 kB / 0.538 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.3337, allocations: 7.562 kB / 0.538 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.3338, allocations: 7.453 kB / 0.538 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3338, allocations: 2.188 kB / 0.538 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.334, allocations: 213.4 kB / 0.5382 GB, free: 8.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.334, allocations: 0 / 0.5382 GB, free: 8.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.3342, allocations: 22.31 kB / 0.5382 GB, free: 8.215 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.001033/0.3353, allocations: 462.2 kB / 0.5387 GB, free: 7.969 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.3355, allocations: 62.08 kB / 0.5387 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3355, allocations: 1.188 kB / 0.5387 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.3356, allocations: 37.61 kB / 0.5388 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.336, allocations: 26 kB / 0.5388 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005874/0.3366, allocations: 332.9 kB / 0.5391 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3368, allocations: 0.7167 MB / 0.5398 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.3369, allocations: 25.89 kB / 0.5399 GB, free: 6.938 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3369, allocations: 0 / 0.5399 GB, free: 6.938 MB / 398.1 MB Notification: Performance of Templates: time 0.003914/0.3408, allocations: 1.909 MB / 0.5417 GB, free: 5.941 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches