Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.001292/0.001292, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001362/0.001362, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.415/1.415, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2276/0.2276, allocations: 46.88 MB / 361.1 MB, free: 4.625 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50") [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.002468/0.002468, allocations: 87.8 kB / 0.4968 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3178, allocations: 65.99 MB / 0.5613 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003149/0.321, allocations: 1.756 MB / 0.563 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.3237, allocations: 1.734 MB / 0.5647 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.361e-05/0.3238, allocations: 0 / 0.5647 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.3241, allocations: 39.77 kB / 0.5647 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.3244, allocations: 107.5 kB / 0.5648 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.3246, allocations: 75.67 kB / 0.5649 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.3249, allocations: 115.7 kB / 0.565 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.325, allocations: 4 kB / 0.565 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.965e-05/0.3251, allocations: 51.78 kB / 0.5651 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.3252, allocations: 43.83 kB / 0.5651 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.3252, allocations: 7.938 kB / 0.5651 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.3254, allocations: 115.9 kB / 0.5652 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.3255, allocations: 27.91 kB / 0.5653 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.3256, allocations: 35.73 kB / 0.5653 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.3259, allocations: 186 kB / 0.5655 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3259, allocations: 0 / 0.5655 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3259, allocations: 0 / 0.5655 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.3259, allocations: 0 / 0.5655 GB, free: 0.7031 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.0006329/0.3265, allocations: 438.5 kB / 0.5659 GB, free: 232 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3266, allocations: 8.031 kB / 0.5659 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.3266, allocations: 8.891 kB / 0.5659 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.3269, allocations: 220.2 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.327, allocations: 4.375 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.327, allocations: 8.375 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.3272, allocations: 79.62 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3272, allocations: 3.953 kB / 0.5662 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.3272, allocations: 8 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.3272, allocations: 0 / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.75e-05/0.3273, allocations: 23.98 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.3277, allocations: 292.8 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.3279, allocations: 74.61 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.328, allocations: 20.84 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.328, allocations: 7.938 kB / 0.5666 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.3281, allocations: 75.44 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.3281, allocations: 4 kB / 0.5667 GB, free: 15.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006181/0.3288, allocations: 197.4 kB / 0.5669 GB, free: 15.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.3288, allocations: 81.05 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.329, allocations: 166.2 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.329, allocations: 29.7 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.3291, allocations: 104.1 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.3291, allocations: 31.8 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.3292, allocations: 21.72 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3293, allocations: 326.8 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.3294, allocations: 27.98 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-05/0.3295, allocations: 46.56 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3296, allocations: 73.67 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3296, allocations: 4 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000222/0.3299, allocations: 117.5 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3299, allocations: 4 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3299, allocations: 0 / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3299, allocations: 4 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/0.33, allocations: 12 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.33, allocations: 4 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.3301, allocations: 7.984 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3301, allocations: 4 kB / 0.5679 GB, free: 13.96 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 (11): * Single equations (assignments): 11 * 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.0001221/0.3302, allocations: 132.6 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.3302, allocations: 7.953 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.3305, allocations: 134.8 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3305, allocations: 3.938 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3305, allocations: 8 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.3306, allocations: 88.95 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.3306, allocations: 8 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.3306, allocations: 7.922 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.3307, allocations: 4 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002576/0.3309, allocations: 193 kB / 0.5685 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00031/0.3312, allocations: 290.7 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.242e-05/0.3313, allocations: 23.98 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3314, allocations: 132.1 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of Backend: time 3.11e-07/0.3314, allocations: 0 / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.3338, allocations: 0.5544 MB / 0.5694 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007425/0.3345, allocations: 0.6855 MB / 0.5701 GB, free: 11.81 MB / 414.1 MB Notification: Performance of Templates: time 0.006146/0.3406, allocations: 2.535 MB / 0.5726 GB, free: 9.285 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.791167946066707]