Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,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.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 105.1 kB / 18.45 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 210.8 kB / 19.41 MB, free: 3.711 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 / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2248/0.2248, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3698, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.004308/0.3742, allocations: 1.619 MB / 0.5333 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.3756, allocations: 0.5387 MB / 0.5338 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.3757, allocations: 1.375 kB / 0.5338 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.3761, allocations: 82.06 kB / 0.5339 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004046/0.3765, allocations: 102.1 kB / 0.534 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.377, allocations: 113 kB / 0.5341 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.3772, allocations: 92.86 kB / 0.5342 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3774, allocations: 13.62 kB / 0.5342 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.775e-05/0.3775, allocations: 36.39 kB / 0.5342 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.3776, allocations: 59.31 kB / 0.5343 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3777, allocations: 4.125 kB / 0.5343 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.3778, allocations: 44.86 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.3779, allocations: 20.14 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.3779, allocations: 33.06 kB / 0.5344 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.3782, allocations: 110.5 kB / 0.5345 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3782, allocations: 0 / 0.5345 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3782, allocations: 0 / 0.5345 GB, free: 11.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3783, allocations: 0.9688 kB / 0.5345 GB, free: 11.53 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.0006586/0.3789, allocations: 413.6 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.379, allocations: 8.562 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.379, allocations: 9.719 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.3793, allocations: 205.5 kB / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3793, allocations: 5.656 kB / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.3794, allocations: 11.2 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.3796, allocations: 58.39 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.3796, allocations: 4.906 kB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3796, allocations: 0 / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3796, allocations: 1.625 kB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.3798, allocations: 35.19 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.3803, allocations: 304.2 kB / 0.5355 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.3805, allocations: 48.25 kB / 0.5355 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.041e-05/0.3806, allocations: 20.81 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.3806, allocations: 1.25 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3806, allocations: 35.5 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.3806, allocations: 0 / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001234/0.3819, allocations: 241.7 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3819, allocations: 56.62 kB / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.3823, allocations: 214.4 kB / 0.5361 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3823, allocations: 26.8 kB / 0.5361 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.3824, allocations: 105.2 kB / 0.5362 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.3824, allocations: 31.33 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.3825, allocations: 20.16 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3827, allocations: 322.6 kB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3828, allocations: 36.66 kB / 0.5366 GB, free: 9.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.3829, allocations: 28.48 kB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.3832, allocations: 74 kB / 0.5367 GB, free: 9.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3832, allocations: 0 / 0.5367 GB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000346/0.3836, allocations: 109.8 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3836, allocations: 4.656 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3836, allocations: 0 / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3836, allocations: 5 kB / 0.5368 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3838, allocations: 21.98 kB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3838, allocations: 0 / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.167e-05/0.3839, allocations: 11.67 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.3839, allocations: 2.812 kB / 0.5368 GB, free: 9.375 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 0.0001312/0.3841, allocations: 124.3 kB / 0.537 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.3841, allocations: 13.09 kB / 0.537 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.3846, allocations: 142.1 kB / 0.5371 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3846, allocations: 1.375 kB / 0.5371 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.3846, allocations: 0 / 0.5371 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3846, allocations: 9.188 kB / 0.5371 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007666/0.3854, allocations: 415.2 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3854, allocations: 1.156 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.3855, allocations: 21.05 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.3855, allocations: 5.484 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3856, allocations: 2.094 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3856, allocations: 7.922 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3856, allocations: 1.125 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.386, allocations: 220.4 kB / 0.5378 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.3861, allocations: 96.16 kB / 0.5378 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.3861, allocations: 6.5 kB / 0.5379 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.3862, allocations: 6.672 kB / 0.5379 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.3863, allocations: 3.938 kB / 0.5379 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.3863, allocations: 2.656 kB / 0.5379 GB, free: 8.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.3865, allocations: 175 kB / 0.538 GB, free: 8.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3865, allocations: 0 / 0.538 GB, free: 8.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003943/0.3869, allocations: 22.47 kB / 0.5381 GB, free: 8.293 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.001565/0.3885, allocations: 447.8 kB / 0.5385 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.3889, allocations: 79.81 kB / 0.5386 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3889, allocations: 4 kB / 0.5386 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.389, allocations: 43.28 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.3896, allocations: 23.5 kB / 0.5386 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007696/0.3904, allocations: 291.4 kB / 0.5389 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.3908, allocations: 0.7162 MB / 0.5396 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.3909, allocations: 13.78 kB / 0.5396 GB, free: 7.047 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3909, allocations: 0 / 0.5396 GB, free: 7.047 MB / 398.1 MB Notification: Performance of Templates: time 0.005795/0.3967, allocations: 1.821 MB / 0.5414 GB, free: 6.105 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches