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.001517/0.001517, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001717/0.001717, allocations: 210.1 kB / 25.13 MB, free: 3.605 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.452/1.452, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2316/0.2316, allocations: 46.93 MB / 362 MB, free: 4.227 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.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.002345/0.002345, allocations: 80.14 kB / 0.4979 GB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3263, allocations: 66.08 MB / 0.5624 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003833/0.3301, allocations: 1.733 MB / 0.5641 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.3322, allocations: 1.053 MB / 0.5651 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.3323, allocations: 7.938 kB / 0.5651 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.3327, allocations: 55.73 kB / 0.5652 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004091/0.3331, allocations: 103.5 kB / 0.5653 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.3334, allocations: 75.73 kB / 0.5653 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.3336, allocations: 107.7 kB / 0.5655 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3337, allocations: 11.92 kB / 0.5655 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3338, allocations: 43.8 kB / 0.5655 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.3339, allocations: 31.84 kB / 0.5655 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.3339, allocations: 4 kB / 0.5655 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.3341, allocations: 39.98 kB / 0.5656 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.3341, allocations: 43.78 kB / 0.5656 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.652e-05/0.3342, allocations: 39.67 kB / 0.5657 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.3346, allocations: 145.9 kB / 0.5658 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3346, allocations: 0 / 0.5658 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3346, allocations: 0 / 0.5658 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3346, allocations: 0 / 0.5658 GB, free: 0.7188 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.0007008/0.3353, allocations: 381.3 kB / 0.5662 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3353, allocations: 12.03 kB / 0.5662 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.3354, allocations: 12.84 kB / 0.5662 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.3358, allocations: 173.9 kB / 0.5663 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3358, allocations: 4.359 kB / 0.5664 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.3358, allocations: 8.375 kB / 0.5664 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.336, allocations: 57.98 kB / 0.5664 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.336, allocations: 3.984 kB / 0.5664 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.336, allocations: 0 / 0.5664 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.336, allocations: 4 kB / 0.5664 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.216e-05/0.3361, allocations: 15.98 kB / 0.5664 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.3366, allocations: 276 kB / 0.5667 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.3368, allocations: 54.67 kB / 0.5668 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.3369, allocations: 20.78 kB / 0.5668 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.3369, allocations: 4 kB / 0.5668 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.3371, allocations: 67.39 kB / 0.5668 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3371, allocations: 3.938 kB / 0.5668 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006833/0.3378, allocations: 193.2 kB / 0.567 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.3378, allocations: 55.41 kB / 0.5671 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.3382, allocations: 284.2 kB / 0.5674 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3383, allocations: 25.7 kB / 0.5674 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.3383, allocations: 120.1 kB / 0.5675 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.3384, allocations: 23.84 kB / 0.5675 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.3384, allocations: 25.72 kB / 0.5675 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.3386, allocations: 334.8 kB / 0.5679 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.987e-05/0.3387, allocations: 16 kB / 0.5679 GB, free: 14.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.3e-05/0.3388, allocations: 37.64 kB / 0.5679 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.3389, allocations: 61.7 kB / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3389, allocations: 7.938 kB / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002202/0.3391, allocations: 113.5 kB / 0.5681 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.3391, allocations: 4 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3391, allocations: 0 / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3392, allocations: 4 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.3393, allocations: 15.94 kB / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.3393, allocations: 0 / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.3393, allocations: 7.984 kB / 0.5681 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3393, allocations: 0 / 0.5681 GB, free: 14.14 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.0001341/0.3395, allocations: 141.8 kB / 0.5683 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.3395, allocations: 15.91 kB / 0.5683 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.3397, allocations: 127 kB / 0.5684 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3397, allocations: 4 kB / 0.5684 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3398, allocations: 0 / 0.5684 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3398, allocations: 0 / 0.5684 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.3403, allocations: 382.3 kB / 0.5688 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3403, allocations: 4.031 kB / 0.5688 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.3403, allocations: 12.38 kB / 0.5688 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3403, allocations: 0 / 0.5688 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3403, allocations: 7.984 kB / 0.5688 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.3403, allocations: 11.88 kB / 0.5688 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3403, allocations: 0 / 0.5688 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.3406, allocations: 204.3 kB / 0.569 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.3406, allocations: 19.86 kB / 0.569 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3407, allocations: 0 / 0.569 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.3407, allocations: 11.88 kB / 0.569 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.3408, allocations: 11.98 kB / 0.569 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3408, allocations: 4 kB / 0.569 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.341, allocations: 211.2 kB / 0.5692 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.341, allocations: 0 / 0.5692 GB, free: 12.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003362/0.3413, allocations: 23.98 kB / 0.5693 GB, free: 12.88 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.00173/0.3431, allocations: 452.9 kB / 0.5697 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.3433, allocations: 51.92 kB / 0.5697 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3433, allocations: 7.938 kB / 0.5697 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.733e-05/0.3433, allocations: 32.03 kB / 0.5698 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.3437, allocations: 31.97 kB / 0.5698 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.3443, allocations: 299.9 kB / 0.5701 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.3447, allocations: 0.7236 MB / 0.5708 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.3448, allocations: 16.95 kB / 0.5708 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.3448, allocations: 15.44 kB / 0.5708 GB, free: 11.36 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3448, allocations: 0 / 0.5708 GB, free: 11.36 MB / 414.1 MB Notification: Performance of Templates: time 0.00564/0.3505, allocations: 1.82 MB / 0.5726 GB, free: 9.559 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.914108132943511]