Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001568/0.001568, allocations: 105.1 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 209.7 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2388/0.2388, allocations: 46.93 MB / 361.4 MB, free: 4.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 79.86 kB / 0.4972 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3761, allocations: 66.04 MB / 0.5617 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003292/0.3794, allocations: 1.624 MB / 0.5633 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.3805, allocations: 0.581 MB / 0.5638 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.3806, allocations: 0 / 0.5638 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.3808, allocations: 27.8 kB / 0.5639 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.3811, allocations: 79.61 kB / 0.5639 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.3814, allocations: 115.7 kB / 0.564 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.3816, allocations: 75.72 kB / 0.5641 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3817, allocations: 11.64 kB / 0.5641 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.174e-05/0.3818, allocations: 31.91 kB / 0.5642 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.202e-05/0.3819, allocations: 27.86 kB / 0.5642 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3819, allocations: 4 kB / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.3821, allocations: 103.9 kB / 0.5643 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.3822, allocations: 19.92 kB / 0.5643 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.3822, allocations: 27.8 kB / 0.5643 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.3825, allocations: 138.4 kB / 0.5645 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.3825, allocations: 7.984 kB / 0.5645 GB, free: 1.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3825, allocations: 0 / 0.5645 GB, free: 1.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.3825, allocations: 0 / 0.5645 GB, free: 1.672 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.0005997/0.3831, allocations: 329.6 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3832, allocations: 12.03 kB / 0.5648 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.3832, allocations: 8.891 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.3835, allocations: 134.4 kB / 0.5649 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3835, allocations: 4.375 kB / 0.5649 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.3835, allocations: 384 / 0.5649 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3837, allocations: 67.95 kB / 0.565 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3837, allocations: 192 / 0.565 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3837, allocations: 7.938 kB / 0.565 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3837, allocations: 0 / 0.565 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.756e-05/0.3838, allocations: 23.92 kB / 0.565 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.3844, allocations: 264 kB / 0.5653 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.3845, allocations: 50.5 kB / 0.5653 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.3846, allocations: 28.88 kB / 0.5654 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.3846, allocations: 4 kB / 0.5654 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.3846, allocations: 30.56 kB / 0.5654 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3846, allocations: 0 / 0.5654 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006971/0.3853, allocations: 185.3 kB / 0.5656 GB, free: 416 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.3854, allocations: 77.11 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.3856, allocations: 168 kB / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3856, allocations: 25.7 kB / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.3857, allocations: 92.14 kB / 0.5659 GB, free: 16 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.3857, allocations: 23.97 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.3858, allocations: 29.72 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3859, allocations: 326.6 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.386, allocations: 23.98 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3861, allocations: 45.69 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.3863, allocations: 72.75 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3863, allocations: 8.031 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002629/0.3866, allocations: 109.5 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3866, allocations: 8 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3866, allocations: 0 / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3866, allocations: 3.984 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.3867, allocations: 16 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3867, allocations: 4 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.3868, allocations: 3.984 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.3868, allocations: 4 kB / 0.5666 GB, free: 15.32 MB / 414.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.0001036/0.3869, allocations: 121.8 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.3869, allocations: 7.953 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.3872, allocations: 122.9 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3872, allocations: 0 / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3872, allocations: 0 / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3873, allocations: 3.984 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.3878, allocations: 373.4 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3878, allocations: 0 / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.3879, allocations: 15.98 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.3879, allocations: 0 / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3879, allocations: 4 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3879, allocations: 3.938 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3879, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.3882, allocations: 199.4 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.3882, allocations: 15.94 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3882, allocations: 0 / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.3883, allocations: 7.938 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.3883, allocations: 7.984 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3883, allocations: 3.938 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.3884, allocations: 115.2 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3884, allocations: 4 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003266/0.3888, allocations: 43.88 kB / 0.5676 GB, free: 14.2 MB / 414.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 (7): * Single equations (assignments): 7 * 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.001844/0.3906, allocations: 0.4967 MB / 0.568 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.3909, allocations: 67.89 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3909, allocations: 0 / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.391, allocations: 39.95 kB / 0.5682 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.3914, allocations: 23.92 kB / 0.5682 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.3919, allocations: 185.9 kB / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.3922, allocations: 0.6962 MB / 0.569 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.928e-05/0.3923, allocations: 20.97 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.3924, allocations: 27.42 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3924, allocations: 0 / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of Templates: time 0.005821/0.3982, allocations: 1.968 MB / 0.571 GB, free: 10.79 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.172306670807302]