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.001194/0.001194, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 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.2201/0.2201, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 75.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3597, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003304/0.363, allocations: 1.595 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.3649, allocations: 1.157 MB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.365, allocations: 0 / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.3652, allocations: 25.3 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.3656, allocations: 81.8 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.3659, allocations: 92.94 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.366, allocations: 67.28 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.3662, allocations: 18.86 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.66e-05/0.3662, allocations: 25.53 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3664, allocations: 30.86 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3664, allocations: 4.125 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.3666, allocations: 98.73 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.3667, allocations: 20.05 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.3667, allocations: 19.98 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.367, allocations: 134.5 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.581e-05/0.367, allocations: 7.922 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.367, allocations: 1.375 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.367, allocations: 0 / 0.5343 GB, free: 11.06 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.00054/0.3676, allocations: 403.8 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3676, allocations: 9.625 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.3677, allocations: 7.594 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.3679, allocations: 191.7 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3679, allocations: 4.312 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3679, allocations: 3.125 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3681, allocations: 75.77 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3681, allocations: 4 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3682, allocations: 1.375 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3682, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.095e-05/0.3683, allocations: 21.73 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.3687, allocations: 278.8 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.3689, allocations: 46.98 kB / 0.5353 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.369, allocations: 15.73 kB / 0.5353 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.369, allocations: 1.375 kB / 0.5353 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.369, allocations: 39.94 kB / 0.5354 GB, free: 9.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3691, allocations: 0 / 0.5354 GB, free: 9.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005994/0.3697, allocations: 140.7 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.3697, allocations: 82.23 kB / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.3699, allocations: 145.1 kB / 0.5357 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3699, allocations: 25.7 kB / 0.5357 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.37, allocations: 96.06 kB / 0.5358 GB, free: 9.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.37, allocations: 20.88 kB / 0.5358 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.3701, allocations: 14.44 kB / 0.5359 GB, free: 9.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3703, allocations: 325.2 kB / 0.5362 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.3704, allocations: 22.58 kB / 0.5362 GB, free: 9.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.88e-05/0.3704, allocations: 29.92 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.3706, allocations: 47.98 kB / 0.5363 GB, free: 9.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3706, allocations: 0.875 kB / 0.5363 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001872/0.3708, allocations: 76.36 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3708, allocations: 9.812 kB / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3708, allocations: 0 / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3708, allocations: 5.047 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.3709, allocations: 8.781 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.3709, allocations: 1.125 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.371, allocations: 11.05 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.371, allocations: 6.094 kB / 0.5364 GB, free: 9.012 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 0.0001009/0.3711, allocations: 113.2 kB / 0.5365 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.3711, allocations: 3.312 kB / 0.5365 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.3714, allocations: 101.7 kB / 0.5366 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3714, allocations: 0 / 0.5366 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3714, allocations: 5.062 kB / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3714, allocations: 3.984 kB / 0.5366 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.3719, allocations: 354.4 kB / 0.5369 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3719, allocations: 1.062 kB / 0.5369 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.372, allocations: 20.92 kB / 0.5369 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.372, allocations: 5.125 kB / 0.537 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.372, allocations: 1.094 kB / 0.537 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.372, allocations: 3.938 kB / 0.537 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.372, allocations: 1.219 kB / 0.537 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.3722, allocations: 171.4 kB / 0.5371 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.3723, allocations: 86.31 kB / 0.5372 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.3723, allocations: 5.375 kB / 0.5372 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.3724, allocations: 7.438 kB / 0.5372 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.3724, allocations: 6.203 kB / 0.5372 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.3724, allocations: 1.156 kB / 0.5372 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.3726, allocations: 110.8 kB / 0.5373 GB, free: 8.074 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3726, allocations: 0 / 0.5373 GB, free: 8.074 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000302/0.3729, allocations: 43.02 kB / 0.5374 GB, free: 8.055 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.001312/0.3742, allocations: 0.4919 MB / 0.5379 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.3744, allocations: 47.69 kB / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3744, allocations: 0 / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.929e-05/0.3745, allocations: 24.02 kB / 0.5379 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3749, allocations: 29.66 kB / 0.5379 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.3754, allocations: 165.9 kB / 0.5381 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3757, allocations: 0.6971 MB / 0.5388 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.562e-05/0.3757, allocations: 15.97 kB / 0.5388 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.3758, allocations: 17.73 kB / 0.5388 GB, free: 6.879 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3758, allocations: 0 / 0.5388 GB, free: 6.879 MB / 398.1 MB Notification: Performance of Templates: time 0.004585/0.3804, allocations: 1.739 MB / 0.5405 GB, free: 5.973 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches