Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001807/0.001807, allocations: 117.4 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002145/0.002145, allocations: 208.8 kB / 19.41 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.473/1.473, 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.2282/0.2282, allocations: 46.12 MB / 345 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 87.83 kB / 482.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3098, allocations: 62.43 MB / 0.5317 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002862/0.3127, allocations: 1.607 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3143, allocations: 1.153 MB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.3144, allocations: 1.375 kB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.3146, allocations: 19.98 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.3148, allocations: 89.73 kB / 0.5345 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.3151, allocations: 94.69 kB / 0.5346 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.3152, allocations: 63.34 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.3153, allocations: 8.109 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.3154, allocations: 29.48 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.3155, allocations: 30.84 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3155, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.3157, allocations: 103.5 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.3157, allocations: 14.64 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.3157, allocations: 28.42 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.316, allocations: 143.4 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.316, allocations: 0 / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.316, allocations: 1.469 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.316, allocations: 0 / 0.535 GB, free: 11 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.0005183/0.3165, allocations: 399.4 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.3165, allocations: 12.94 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.3166, allocations: 8.641 kB / 0.5354 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.3168, allocations: 200.8 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3168, allocations: 5.719 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3169, allocations: 1.688 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.317, allocations: 68.3 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.317, allocations: 0 / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.317, allocations: 13.27 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.317, allocations: 0 / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.3171, allocations: 21.02 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.3175, allocations: 280 kB / 0.536 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.3177, allocations: 38.06 kB / 0.536 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.3177, allocations: 19.64 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.3177, allocations: 0 / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.3178, allocations: 35.69 kB / 0.5361 GB, free: 9.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3178, allocations: 5.25 kB / 0.5361 GB, free: 9.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005378/0.3183, allocations: 140.9 kB / 0.5362 GB, free: 9.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.3184, allocations: 78.27 kB / 0.5363 GB, free: 9.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3185, allocations: 144 kB / 0.5364 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3185, allocations: 29.7 kB / 0.5365 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.3186, allocations: 91.72 kB / 0.5366 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.3186, allocations: 25.2 kB / 0.5366 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.3187, allocations: 18.38 kB / 0.5366 GB, free: 9.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3188, allocations: 325.1 kB / 0.5369 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.3189, allocations: 14.27 kB / 0.5369 GB, free: 9.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.319, allocations: 35.52 kB / 0.537 GB, free: 9.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.3191, allocations: 47.55 kB / 0.537 GB, free: 9.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3191, allocations: 0 / 0.537 GB, free: 9.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002013/0.3193, allocations: 80.59 kB / 0.5371 GB, free: 8.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3193, allocations: 6.438 kB / 0.5371 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3193, allocations: 3.984 kB / 0.5371 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3193, allocations: 0 / 0.5371 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.3194, allocations: 13.62 kB / 0.5371 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3194, allocations: 1.375 kB / 0.5371 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.3194, allocations: 6.734 kB / 0.5371 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3194, allocations: 9.312 kB / 0.5371 GB, free: 8.941 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 (5): * Single equations (assignments): 5 * 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 8.971e-05/0.3195, allocations: 114 kB / 0.5372 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.3196, allocations: 8.078 kB / 0.5372 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.3198, allocations: 88.94 kB / 0.5373 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3198, allocations: 0 / 0.5373 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3198, allocations: 1.312 kB / 0.5373 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3198, allocations: 3.984 kB / 0.5373 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.3203, allocations: 362.7 kB / 0.5377 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3203, allocations: 0 / 0.5377 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.26e-05/0.3203, allocations: 22.52 kB / 0.5377 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3203, allocations: 0 / 0.5377 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.3203, allocations: 1.312 kB / 0.5377 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3203, allocations: 3.938 kB / 0.5377 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3203, allocations: 0 / 0.5377 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.3206, allocations: 184.2 kB / 0.5379 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.3207, allocations: 83.81 kB / 0.538 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3207, allocations: 0 / 0.538 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.3208, allocations: 7.812 kB / 0.538 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.3208, allocations: 5.359 kB / 0.538 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.3208, allocations: 6.688 kB / 0.538 GB, free: 8.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.144e-05/0.3209, allocations: 108.2 kB / 0.5381 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3209, allocations: 4 kB / 0.5381 GB, free: 8.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.3212, allocations: 43.52 kB / 0.5381 GB, free: 7.984 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 (5): * Single equations (assignments): 5 * 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.001658/0.3228, allocations: 496.5 kB / 0.5386 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.323, allocations: 43.41 kB / 0.5386 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.323, allocations: 3.938 kB / 0.5386 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/0.3231, allocations: 23.02 kB / 0.5387 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.3234, allocations: 17.92 kB / 0.5387 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.3238, allocations: 170.5 kB / 0.5388 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.3241, allocations: 0.6929 MB / 0.5395 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.235e-05/0.3242, allocations: 22.56 kB / 0.5395 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.3242, allocations: 18.14 kB / 0.5396 GB, free: 6.812 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3242, allocations: 4 kB / 0.5396 GB, free: 6.809 MB / 398.1 MB Notification: Performance of Templates: time 0.004724/0.329, allocations: 1.742 MB / 0.5413 GB, free: 5.906 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches