Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001295/0.001295, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001535/0.001535, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.488/1.488, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2421/0.2421, allocations: 46.89 MB / 361.1 MB, free: 4.609 MB / 286.1 MB " [Timeout remaining time 179] 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31") [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.002371/0.002371, allocations: 79.88 kB / 0.4968 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3765, allocations: 65.99 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.0034/0.3799, allocations: 1.64 MB / 0.5628 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3811, allocations: 0.5576 MB / 0.5634 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.3812, allocations: 4 kB / 0.5634 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.3816, allocations: 123.6 kB / 0.5635 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004676/0.3821, allocations: 127.6 kB / 0.5636 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.3825, allocations: 111.4 kB / 0.5637 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.3827, allocations: 95.78 kB / 0.5638 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.3829, allocations: 14.81 kB / 0.5638 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.725e-05/0.383, allocations: 51.81 kB / 0.5639 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.3832, allocations: 95.77 kB / 0.564 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3832, allocations: 4 kB / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3834, allocations: 47.92 kB / 0.564 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.3834, allocations: 35.83 kB / 0.5641 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.603e-05/0.3835, allocations: 39.62 kB / 0.5641 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.3838, allocations: 123.4 kB / 0.5642 GB, free: 1.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3838, allocations: 0 / 0.5642 GB, free: 1.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3838, allocations: 0 / 0.5642 GB, free: 1.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3838, allocations: 0 / 0.5642 GB, free: 1.949 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.0006552/0.3844, allocations: 442.5 kB / 0.5646 GB, free: 1.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3845, allocations: 8.031 kB / 0.5646 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.3845, allocations: 20.83 kB / 0.5647 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.3848, allocations: 219.5 kB / 0.5649 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3848, allocations: 4.375 kB / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.3848, allocations: 8.312 kB / 0.5649 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.385, allocations: 54.23 kB / 0.5649 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.385, allocations: 192 / 0.5649 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.385, allocations: 7.938 kB / 0.5649 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.385, allocations: 0 / 0.5649 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.3851, allocations: 31.97 kB / 0.565 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.3856, allocations: 308.8 kB / 0.5653 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.3858, allocations: 46.5 kB / 0.5653 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.3858, allocations: 20.94 kB / 0.5653 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.3858, allocations: 4.062 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.3859, allocations: 34.56 kB / 0.5654 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3859, allocations: 0 / 0.5654 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009751/0.3868, allocations: 249.1 kB / 0.5656 GB, free: 356 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.3869, allocations: 55.41 kB / 0.5657 GB, free: 288 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.3872, allocations: 279.8 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3873, allocations: 25.7 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.3873, allocations: 120 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.3874, allocations: 27.75 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.3874, allocations: 25.7 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3876, allocations: 326.8 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/0.3877, allocations: 35.97 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.926e-05/0.3878, allocations: 27.98 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.3879, allocations: 80.8 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3879, allocations: 0 / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000242/0.3882, allocations: 109.6 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3882, allocations: 7.938 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3882, allocations: 0 / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3882, allocations: 4 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3883, allocations: 23.92 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3884, allocations: 320 / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.3884, allocations: 15.92 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.3884, allocations: 0 / 0.5667 GB, free: 15.14 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.0001281/0.3885, allocations: 137.8 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.3886, allocations: 15.91 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.3889, allocations: 139 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3889, allocations: 4.422 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3889, allocations: 0 / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3889, allocations: 0 / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/0.3895, allocations: 431.2 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3895, allocations: 0 / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/0.3896, allocations: 19.98 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3896, allocations: 8.016 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.3896, allocations: 11.94 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3896, allocations: 0 / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3896, allocations: 0 / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.3899, allocations: 220.2 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.39, allocations: 93.02 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.39, allocations: 7.938 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.3901, allocations: 7.984 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.3901, allocations: 4 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.3901, allocations: 4 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002047/0.3903, allocations: 209.5 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3903, allocations: 0 / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3906, allocations: 23.94 kB / 0.568 GB, free: 13.73 MB / 414.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.001729/0.3923, allocations: 451.1 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002609/0.3926, allocations: 79.88 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3926, allocations: 4 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3927, allocations: 39.97 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.3931, allocations: 23.7 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006775/0.3938, allocations: 328.3 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.3941, allocations: 0.7264 MB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.369e-05/0.3942, allocations: 20.64 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.3942, allocations: 15.44 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3942, allocations: 0 / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of Templates: time 0.004927/0.3992, allocations: 1.444 MB / 0.571 GB, free: 10.72 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.126688999123871]