Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.001941/0.001941, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002172/0.002172, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.474/1.474, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.2884/0.2884, allocations: 46.89 MB / 361.1 MB, free: 4.621 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.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6") [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.002496/0.002496, allocations: 83.86 kB / 0.4968 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3065, allocations: 65.99 MB / 0.5613 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003622/0.3102, allocations: 1.749 MB / 0.563 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.3122, allocations: 1.045 MB / 0.564 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.3123, allocations: 4 kB / 0.564 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.3126, allocations: 59.69 kB / 0.5641 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.3129, allocations: 95.55 kB / 0.5642 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.3131, allocations: 79.72 kB / 0.5642 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.3133, allocations: 103.6 kB / 0.5643 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.3134, allocations: 8 kB / 0.5643 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3135, allocations: 55.77 kB / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.3136, allocations: 27.8 kB / 0.5644 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.3136, allocations: 4 kB / 0.5644 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3137, allocations: 43.97 kB / 0.5645 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.3138, allocations: 27.92 kB / 0.5645 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.3139, allocations: 47.55 kB / 0.5645 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.3141, allocations: 142.1 kB / 0.5647 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3141, allocations: 0 / 0.5647 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3141, allocations: 0 / 0.5647 GB, free: 1.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3141, allocations: 0 / 0.5647 GB, free: 1.484 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006341/0.3148, allocations: 466.3 kB / 0.5651 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3148, allocations: 12.02 kB / 0.5651 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.3148, allocations: 16.84 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.3152, allocations: 223.8 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3152, allocations: 8.375 kB / 0.5654 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.3152, allocations: 4.375 kB / 0.5654 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3154, allocations: 61.92 kB / 0.5654 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3154, allocations: 0 / 0.5654 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.3154, allocations: 4 kB / 0.5654 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3154, allocations: 0 / 0.5654 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.298e-05/0.3155, allocations: 19.98 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.3159, allocations: 300.9 kB / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.316, allocations: 50.62 kB / 0.5658 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.3161, allocations: 24.84 kB / 0.5658 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3161, allocations: 8 kB / 0.5658 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.3163, allocations: 59.39 kB / 0.5659 GB, free: 88 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3163, allocations: 0 / 0.5659 GB, free: 88 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005839/0.3168, allocations: 189.4 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3169, allocations: 51.41 kB / 0.5661 GB, free: 15.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.3172, allocations: 288.3 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.3172, allocations: 25.7 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.3173, allocations: 116.1 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.3173, allocations: 27.73 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.3174, allocations: 21.7 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3175, allocations: 334.6 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.838e-05/0.3176, allocations: 15.98 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.3177, allocations: 45.58 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3178, allocations: 69.69 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3178, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002042/0.318, allocations: 101.5 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.318, allocations: 8 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.318, allocations: 0 / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.318, allocations: 0 / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.3181, allocations: 19.98 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3182, allocations: 12.17 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.3182, allocations: 3.953 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.3182, allocations: 4.375 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.000127/0.3183, allocations: 141.7 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.3184, allocations: 15.91 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.3186, allocations: 115.1 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3186, allocations: 0 / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3186, allocations: 7.984 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3186, allocations: 4 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.3191, allocations: 411.2 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3191, allocations: 0 / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.3192, allocations: 8 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3192, allocations: 3.984 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3192, allocations: 4 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.3192, allocations: 7.875 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3192, allocations: 0 / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.3195, allocations: 216.3 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.3195, allocations: 92.97 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3196, allocations: 0 / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.3196, allocations: 11.94 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.3197, allocations: 3.984 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3197, allocations: 7.938 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.3199, allocations: 220.6 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3199, allocations: 0 / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3202, allocations: 27.94 kB / 0.5684 GB, free: 13.32 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001718/0.3219, allocations: 459.5 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.3221, allocations: 59.95 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3221, allocations: 0 / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.3222, allocations: 27.92 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.3225, allocations: 23.98 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.3231, allocations: 311.6 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.3235, allocations: 0.7236 MB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.3236, allocations: 16.81 kB / 0.57 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.3236, allocations: 15.44 kB / 0.57 GB, free: 11.81 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3236, allocations: 3.938 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of Templates: time 0.005084/0.3287, allocations: 1.818 MB / 0.5718 GB, free: 10 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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: 4.966797344852239]