Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 107.1 kB / 20.44 MB, free: 1.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 205.3 kB / 23.72 MB, free: 4.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2697/0.2697, allocations: 44.93 MB / 358.8 MB, free: 6.012 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.91 kB / 0.4935 GB, free: 9.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3778, allocations: 65.47 MB / 0.5575 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003818/0.3816, allocations: 1.597 MB / 0.559 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.3838, allocations: 1.224 MB / 0.5602 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.3838, allocations: 7.938 kB / 0.5602 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.384, allocations: 19.86 kB / 0.5603 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.3844, allocations: 83.61 kB / 0.5603 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.3846, allocations: 91.64 kB / 0.5604 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3848, allocations: 71.77 kB / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3849, allocations: 8 kB / 0.5605 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.907e-05/0.3849, allocations: 31.84 kB / 0.5605 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.3851, allocations: 23.86 kB / 0.5605 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3851, allocations: 4 kB / 0.5606 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.3853, allocations: 99.88 kB / 0.5606 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.3853, allocations: 15.92 kB / 0.5607 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.3854, allocations: 19.92 kB / 0.5607 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.3856, allocations: 141.9 kB / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3856, allocations: 0 / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3856, allocations: 0 / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3856, allocations: 0 / 0.5608 GB, free: 4.008 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.0006173/0.3863, allocations: 331.7 kB / 0.5611 GB, free: 3.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3863, allocations: 12.03 kB / 0.5611 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.3863, allocations: 12.89 kB / 0.5612 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.3866, allocations: 141.2 kB / 0.5613 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3866, allocations: 384 / 0.5613 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.3866, allocations: 4.375 kB / 0.5613 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.3869, allocations: 93.22 kB / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3869, allocations: 0 / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3869, allocations: 3.938 kB / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3869, allocations: 4 kB / 0.5614 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.422e-05/0.387, allocations: 19.98 kB / 0.5614 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.3874, allocations: 220.5 kB / 0.5616 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.3877, allocations: 42.56 kB / 0.5617 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.3877, allocations: 24.88 kB / 0.5617 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.3878, allocations: 0 / 0.5617 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.3878, allocations: 34.56 kB / 0.5617 GB, free: 2.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 4.739e-06/0.3878, allocations: 3.984 kB / 0.5617 GB, free: 2.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006283/0.3885, allocations: 137.4 kB / 0.5619 GB, free: 2.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.3885, allocations: 77.11 kB / 0.5619 GB, free: 2.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.3887, allocations: 149.8 kB / 0.5621 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3887, allocations: 29.7 kB / 0.5621 GB, free: 2.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.3888, allocations: 88.14 kB / 0.5622 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.3888, allocations: 27.78 kB / 0.5622 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.3889, allocations: 17.72 kB / 0.5622 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3891, allocations: 322.8 kB / 0.5625 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.3891, allocations: 15.98 kB / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.3893, allocations: 59.41 kB / 0.5626 GB, free: 1.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.3895, allocations: 48.86 kB / 0.5627 GB, free: 1.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3895, allocations: 0 / 0.5627 GB, free: 1.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000196/0.3897, allocations: 85.56 kB / 0.5627 GB, free: 1.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3897, allocations: 7.938 kB / 0.5627 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3897, allocations: 0 / 0.5627 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3897, allocations: 8.188 kB / 0.5627 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.3898, allocations: 11.98 kB / 0.5628 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.3898, allocations: 4 kB / 0.5628 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.571e-05/0.3899, allocations: 8 kB / 0.5628 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3899, allocations: 0 / 0.5628 GB, free: 1.805 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.0001108/0.39, allocations: 125.8 kB / 0.5629 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.39, allocations: 3.953 kB / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.3903, allocations: 90 kB / 0.563 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3903, allocations: 0 / 0.563 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3903, allocations: 4 kB / 0.563 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3903, allocations: 0 / 0.563 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.3909, allocations: 294.2 kB / 0.5633 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3909, allocations: 4 kB / 0.5633 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.3909, allocations: 11.94 kB / 0.5633 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3909, allocations: 0 / 0.5633 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3909, allocations: 3.984 kB / 0.5633 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3909, allocations: 0 / 0.5633 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3909, allocations: 4 kB / 0.5633 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.3912, allocations: 179.4 kB / 0.5635 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.3912, allocations: 3.953 kB / 0.5635 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.3912, allocations: 11.98 kB / 0.5635 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.3913, allocations: 8 kB / 0.5635 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.3913, allocations: 7.922 kB / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.3913, allocations: 0 / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.3914, allocations: 113.6 kB / 0.5636 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3914, allocations: 0 / 0.5636 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.3917, allocations: 39.86 kB / 0.5636 GB, free: 0.8398 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.002009/0.3938, allocations: 0.5302 MB / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.394, allocations: 47.97 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.394, allocations: 0 / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.151e-05/0.394, allocations: 23.98 kB / 0.5642 GB, free: 464 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.3944, allocations: 23.05 kB / 0.5642 GB, free: 448 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.3949, allocations: 165.5 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.346e-05/0.395, allocations: 79.02 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.653e-05/0.395, allocations: 19.77 kB / 0.5645 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.3951, allocations: 19.42 kB / 0.5645 GB, free: 120 kB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3951, allocations: 4 kB / 0.5645 GB, free: 116 kB / 398.1 MB Notification: Performance of Templates: time 0.005385/0.4005, allocations: 1.803 MB / 0.5663 GB, free: 14.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.478716354817152]