Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001442, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 83.81 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3753, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.004005/0.3793, allocations: 1.606 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3809, allocations: 1.153 MB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.381, allocations: 0 / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.3813, allocations: 24.52 kB / 0.5337 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.3816, allocations: 86.55 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.3819, allocations: 90.14 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.382, allocations: 66.77 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3822, allocations: 10.62 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.856e-05/0.3822, allocations: 29.09 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.3824, allocations: 39.09 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.3824, allocations: 3.219 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.3826, allocations: 91.91 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.3827, allocations: 14.58 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.3827, allocations: 25.36 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.383, allocations: 150.8 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.383, allocations: 0 / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.383, allocations: 0 / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.383, allocations: 0 / 0.5343 GB, free: 11.04 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.0005006/0.3835, allocations: 399.6 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3835, allocations: 9.625 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.3836, allocations: 9.016 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.3838, allocations: 196.4 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.3838, allocations: 5.688 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.3838, allocations: 7.125 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.384, allocations: 71.83 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.384, allocations: 3.984 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.384, allocations: 0 / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.384, allocations: 1.375 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.3841, allocations: 20.36 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.3845, allocations: 284.1 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.3847, allocations: 47 kB / 0.5353 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.3847, allocations: 15.81 kB / 0.5353 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3848, allocations: 0 / 0.5353 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3848, allocations: 35.94 kB / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3848, allocations: 0 / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005209/0.3853, allocations: 141.9 kB / 0.5355 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3854, allocations: 78.48 kB / 0.5356 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.3855, allocations: 145.1 kB / 0.5357 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3856, allocations: 26.64 kB / 0.5357 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.3856, allocations: 91.48 kB / 0.5358 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3857, allocations: 17.95 kB / 0.5358 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.3857, allocations: 26.17 kB / 0.5359 GB, free: 9.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3858, allocations: 320.8 kB / 0.5362 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.3859, allocations: 18.8 kB / 0.5362 GB, free: 9.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.666e-05/0.386, allocations: 38.91 kB / 0.5362 GB, free: 9.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3861, allocations: 39.5 kB / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3861, allocations: 4.219 kB / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001795/0.3863, allocations: 88.98 kB / 0.5364 GB, free: 8.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3863, allocations: 5.375 kB / 0.5364 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3863, allocations: 0 / 0.5364 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3864, allocations: 1.031 kB / 0.5364 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.3864, allocations: 13.61 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3864, allocations: 0 / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.132e-05/0.3865, allocations: 3.562 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.3865, allocations: 9.969 kB / 0.5364 GB, free: 8.984 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.565e-05/0.3866, allocations: 117 kB / 0.5365 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.3866, allocations: 8.609 kB / 0.5365 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.3869, allocations: 92.27 kB / 0.5366 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3869, allocations: 1.562 kB / 0.5366 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3869, allocations: 0 / 0.5366 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3869, allocations: 0 / 0.5366 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.3873, allocations: 358.5 kB / 0.5369 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3873, allocations: 0 / 0.5369 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.3874, allocations: 14.42 kB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3874, allocations: 7.875 kB / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.3874, allocations: 0.6875 kB / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.3874, allocations: 4.906 kB / 0.537 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3874, allocations: 0 / 0.537 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.3877, allocations: 184.4 kB / 0.5371 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.3877, allocations: 82.59 kB / 0.5372 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3877, allocations: 9.281 kB / 0.5372 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.3878, allocations: 11.7 kB / 0.5372 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.3879, allocations: 2.094 kB / 0.5372 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.3879, allocations: 1.062 kB / 0.5372 GB, free: 8.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.112e-05/0.388, allocations: 116.4 kB / 0.5374 GB, free: 8.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.388, allocations: 0 / 0.5374 GB, free: 8.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3882, allocations: 39.69 kB / 0.5374 GB, free: 8.023 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.001073/0.3893, allocations: 490.3 kB / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.3895, allocations: 44.16 kB / 0.5379 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3896, allocations: 0 / 0.5379 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.3896, allocations: 27.61 kB / 0.5379 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.39, allocations: 27.08 kB / 0.538 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.3904, allocations: 163.9 kB / 0.5381 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.3907, allocations: 0.6977 MB / 0.5388 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.3908, allocations: 14.52 kB / 0.5388 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.3908, allocations: 17.67 kB / 0.5388 GB, free: 6.859 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3908, allocations: 0 / 0.5388 GB, free: 6.859 MB / 398.1 MB Notification: Performance of Templates: time 0.004535/0.3954, allocations: 1.751 MB / 0.5405 GB, free: 5.945 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches