Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.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.001322/0.001322, 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.001474/0.001474, 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.42/1.42, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2272/0.2272, allocations: 46.88 MB / 361.1 MB, free: 4.664 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7") [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.002334/0.002334, allocations: 83.81 kB / 0.4969 GB, free: 8.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.314, allocations: 65.97 MB / 0.5613 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002524/0.3165, allocations: 1.771 MB / 0.563 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3177, allocations: 1.05 MB / 0.564 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.3178, allocations: 3.938 kB / 0.564 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.318, allocations: 104.5 kB / 0.5641 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.3183, allocations: 131.7 kB / 0.5643 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.3185, allocations: 79.91 kB / 0.5643 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.3186, allocations: 120.8 kB / 0.5645 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.3187, allocations: 17.92 kB / 0.5645 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/0.3188, allocations: 63.23 kB / 0.5645 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.767e-05/0.3189, allocations: 68.7 kB / 0.5646 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.3189, allocations: 2.469 kB / 0.5646 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.787e-05/0.319, allocations: 66.48 kB / 0.5647 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.3191, allocations: 27.52 kB / 0.5647 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.3191, allocations: 44.14 kB / 0.5647 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.3193, allocations: 146.7 kB / 0.5649 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3193, allocations: 2.812 kB / 0.5649 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3193, allocations: 0 / 0.5649 GB, free: 32.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3193, allocations: 0 / 0.5649 GB, free: 32.27 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004582/0.3198, allocations: 463.7 kB / 0.5653 GB, free: 31.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.3198, allocations: 9.656 kB / 0.5653 GB, free: 31.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.3198, allocations: 15.81 kB / 0.5653 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3201, allocations: 230.2 kB / 0.5656 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3201, allocations: 7.281 kB / 0.5656 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.3201, allocations: 3.469 kB / 0.5656 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.3202, allocations: 64.11 kB / 0.5656 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3202, allocations: 0 / 0.5656 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3202, allocations: 6.859 kB / 0.5656 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3203, allocations: 0 / 0.5656 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.883e-05/0.3203, allocations: 26.11 kB / 0.5657 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.3206, allocations: 303 kB / 0.566 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.3208, allocations: 57.92 kB / 0.566 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.3209, allocations: 25.73 kB / 0.566 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.3209, allocations: 0.625 kB / 0.566 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.321, allocations: 70.67 kB / 0.5661 GB, free: 31.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.321, allocations: 0 / 0.5661 GB, free: 31.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006464/0.3216, allocations: 251.1 kB / 0.5663 GB, free: 31.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.3217, allocations: 55.66 kB / 0.5664 GB, free: 30.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.3218, allocations: 248.3 kB / 0.5666 GB, free: 30.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.3218, allocations: 25.7 kB / 0.5667 GB, free: 30.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.3219, allocations: 113.3 kB / 0.5668 GB, free: 30.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.3219, allocations: 48.39 kB / 0.5668 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.3219, allocations: 23 kB / 0.5668 GB, free: 30.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.433e-05/0.322, allocations: 332.7 kB / 0.5672 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-05/0.3221, allocations: 33.94 kB / 0.5672 GB, free: 30.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.565e-05/0.3221, allocations: 44.97 kB / 0.5672 GB, free: 30.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.3222, allocations: 82.88 kB / 0.5673 GB, free: 30.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3222, allocations: 0 / 0.5673 GB, free: 30.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001821/0.3224, allocations: 130.3 kB / 0.5674 GB, free: 30.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3224, allocations: 8.75 kB / 0.5674 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3224, allocations: 7.406 kB / 0.5674 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3225, allocations: 0.6562 kB / 0.5674 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.3225, allocations: 20.72 kB / 0.5675 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3225, allocations: 4.625 kB / 0.5675 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.3226, allocations: 19.69 kB / 0.5675 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3226, allocations: 3.625 kB / 0.5675 GB, free: 30.12 MB / 446.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 (13): * Single equations (assignments): 13 * 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 7.615e-05/0.3227, allocations: 135.2 kB / 0.5676 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.3227, allocations: 14.81 kB / 0.5676 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.3229, allocations: 144.9 kB / 0.5678 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3229, allocations: 4 kB / 0.5678 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3229, allocations: 0.5156 kB / 0.5678 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.323, allocations: 8.531 kB / 0.5678 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.3234, allocations: 459.4 kB / 0.5682 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3234, allocations: 0 / 0.5682 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.3234, allocations: 22.31 kB / 0.5682 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3234, allocations: 3.938 kB / 0.5682 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3234, allocations: 7.625 kB / 0.5683 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3234, allocations: 0.6562 kB / 0.5683 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3234, allocations: 2.969 kB / 0.5683 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.3236, allocations: 227.8 kB / 0.5685 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.3237, allocations: 98.66 kB / 0.5686 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.3237, allocations: 3.938 kB / 0.5686 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.3238, allocations: 7 kB / 0.5686 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.3238, allocations: 9.422 kB / 0.5686 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.3238, allocations: 3 kB / 0.5686 GB, free: 29.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3239, allocations: 190.3 kB / 0.5688 GB, free: 29.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3239, allocations: 0 / 0.5688 GB, free: 29.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.3242, allocations: 40.28 kB / 0.5688 GB, free: 29.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001753/0.3259, allocations: 0.4953 MB / 0.5693 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.3261, allocations: 79.73 kB / 0.5694 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3261, allocations: 3.031 kB / 0.5694 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.943e-05/0.3262, allocations: 40.16 kB / 0.5694 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.3265, allocations: 41.06 kB / 0.5695 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.3269, allocations: 318 kB / 0.5698 GB, free: 28.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.3271, allocations: 0.7205 MB / 0.5705 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.088e-05/0.3271, allocations: 17.86 kB / 0.5705 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.3272, allocations: 17.28 kB / 0.5705 GB, free: 27.91 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3272, allocations: 0 / 0.5705 GB, free: 27.91 MB / 446.1 MB Notification: Performance of Templates: time 0.005158/0.3323, allocations: 2.051 MB / 0.5725 GB, free: 27.68 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.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.902380282059312]