Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_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.001311/0.001311, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001549/0.001549, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.491/1.491, allocations: 230.3 MB / 258 MB, free: 8.223 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.24/0.24, allocations: 46.94 MB / 361.4 MB, free: 4.395 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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_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.002313/0.002313, allocations: 79.88 kB / 0.4972 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3745, allocations: 66.04 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003635/0.3781, allocations: 1.714 MB / 0.5633 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3792, allocations: 0.5848 MB / 0.5639 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.3793, allocations: 0 / 0.5639 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.3796, allocations: 23.78 kB / 0.5639 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.3799, allocations: 87.61 kB / 0.564 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.3803, allocations: 135.1 kB / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.3805, allocations: 99.69 kB / 0.5642 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3806, allocations: 18.81 kB / 0.5643 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3807, allocations: 43.78 kB / 0.5643 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.949e-05/0.3808, allocations: 43.77 kB / 0.5643 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3808, allocations: 8 kB / 0.5644 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.381, allocations: 103.9 kB / 0.5645 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.3811, allocations: 23.86 kB / 0.5645 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.227e-05/0.3812, allocations: 35.8 kB / 0.5645 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.3815, allocations: 163.1 kB / 0.5647 GB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3815, allocations: 0 / 0.5647 GB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3815, allocations: 0 / 0.5647 GB, free: 1.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3815, allocations: 4 kB / 0.5647 GB, free: 1.434 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.0007122/0.3822, allocations: 365.4 kB / 0.565 GB, free: 1.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3823, allocations: 12.03 kB / 0.565 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.3823, allocations: 12.88 kB / 0.565 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.3827, allocations: 154.2 kB / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3827, allocations: 384 / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3827, allocations: 4.375 kB / 0.5652 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.383, allocations: 95.48 kB / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.383, allocations: 0 / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.383, allocations: 0 / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.383, allocations: 4 kB / 0.5653 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.3833, allocations: 63.92 kB / 0.5654 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.3838, allocations: 295.7 kB / 0.5656 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.384, allocations: 66.53 kB / 0.5657 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.3842, allocations: 40.95 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.3842, allocations: 4 kB / 0.5657 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.3843, allocations: 38.5 kB / 0.5658 GB, free: 176 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3843, allocations: 0 / 0.5658 GB, free: 176 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001535/0.3858, allocations: 381.3 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.3859, allocations: 81.11 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3861, allocations: 158.4 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3861, allocations: 25.7 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.3861, allocations: 96.12 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.3862, allocations: 31.7 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.3862, allocations: 29.7 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3864, allocations: 318.8 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.3867, allocations: 67.92 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.3869, allocations: 93.69 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/0.3875, allocations: 153 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3875, allocations: 3.938 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005765/0.3881, allocations: 193.4 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3881, allocations: 4 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3881, allocations: 0 / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3881, allocations: 3.984 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.3883, allocations: 47.91 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3883, allocations: 0 / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.3885, allocations: 23.95 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3885, allocations: 4 kB / 0.5674 GB, free: 14.41 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 (10): * Single equations (assignments): 10 * 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.0001117/0.3886, allocations: 121.8 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.3886, allocations: 11.95 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007675/0.3894, allocations: 206.1 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.3894, allocations: 3.938 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3894, allocations: 0 / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3894, allocations: 0 / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008984/0.3903, allocations: 473.4 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3903, allocations: 0 / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.3905, allocations: 39.95 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3905, allocations: 0 / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3905, allocations: 8 kB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3905, allocations: 0 / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3905, allocations: 288 / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.3911, allocations: 287.2 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.3913, allocations: 15.89 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.3913, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.3915, allocations: 27.97 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.3915, allocations: 11.98 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3915, allocations: 4 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.3916, allocations: 126.2 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3916, allocations: 0 / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.3919, allocations: 55.8 kB / 0.5687 GB, free: 12.96 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 (9): * Single equations (assignments): 9 * 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.001771/0.3937, allocations: 0.4929 MB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006448/0.3944, allocations: 155.8 kB / 0.5694 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3944, allocations: 0 / 0.5694 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.3946, allocations: 75.92 kB / 0.5694 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.395, allocations: 27.86 kB / 0.5695 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.3955, allocations: 226.1 kB / 0.5697 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.396, allocations: 0.6963 MB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.521e-05/0.3961, allocations: 20.41 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.3961, allocations: 23.42 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3961, allocations: 0 / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of Templates: time 0.00637/0.4025, allocations: 2.549 MB / 0.5729 GB, free: 8.824 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_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.232064024545252]