Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.001733/0.001733, 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.002166/0.002166, allocations: 205.6 kB / 24.47 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.498/1.498, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2442/0.2442, allocations: 46.9 MB / 361.1 MB, free: 4.703 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5") [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.002816/0.002816, allocations: 83.88 kB / 0.4969 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3156, allocations: 65.99 MB / 0.5613 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003393/0.319, allocations: 1.791 MB / 0.5631 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3209, allocations: 1.053 MB / 0.5641 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.521e-05/0.321, allocations: 4 kB / 0.5641 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.3213, allocations: 99.61 kB / 0.5642 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.3217, allocations: 135.5 kB / 0.5643 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.322, allocations: 83.66 kB / 0.5644 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.3222, allocations: 135.6 kB / 0.5645 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3223, allocations: 20.2 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.3225, allocations: 67.75 kB / 0.5646 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.3226, allocations: 79.67 kB / 0.5647 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3226, allocations: 4 kB / 0.5647 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.3228, allocations: 59.97 kB / 0.5647 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.3228, allocations: 35.86 kB / 0.5648 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.997e-05/0.3229, allocations: 59.66 kB / 0.5648 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.3232, allocations: 159.2 kB / 0.565 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3232, allocations: 0 / 0.565 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.3232, allocations: 0 / 0.565 GB, free: 1.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3232, allocations: 0 / 0.565 GB, free: 1.191 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008726/0.3241, allocations: 474.2 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3241, allocations: 12.03 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.3242, allocations: 16.84 kB / 0.5655 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.3246, allocations: 221.1 kB / 0.5657 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3247, allocations: 8.375 kB / 0.5657 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.3247, allocations: 4.375 kB / 0.5657 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.3249, allocations: 77.91 kB / 0.5658 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.3249, allocations: 7.953 kB / 0.5658 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.325, allocations: 0 / 0.5658 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.325, allocations: 0 / 0.5658 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.3251, allocations: 35.97 kB / 0.5658 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.3257, allocations: 336.6 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.326, allocations: 74.48 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/0.3261, allocations: 28.84 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3261, allocations: 0 / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.3263, allocations: 75.38 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3263, allocations: 0 / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009446/0.3272, allocations: 301.7 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.3273, allocations: 55.41 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.3276, allocations: 267.6 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.3276, allocations: 29.7 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.3277, allocations: 120.1 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.3277, allocations: 47.78 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.3278, allocations: 29.72 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.328, allocations: 334.8 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3281, allocations: 43.92 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3282, allocations: 53.7 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.3283, allocations: 93.7 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3283, allocations: 0 / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003061/0.3287, allocations: 165.5 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3287, allocations: 4 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3287, allocations: 4 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.3287, allocations: 3.984 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.737e-05/0.3288, allocations: 20 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3288, allocations: 7.938 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.3289, allocations: 7.984 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.3289, allocations: 4 kB / 0.5678 GB, free: 14.05 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 (16): * Single equations (assignments): 16 * 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.0001318/0.329, allocations: 141.8 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.329, allocations: 27.88 kB / 0.568 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.3294, allocations: 191 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.3294, allocations: 8 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3294, allocations: 3.938 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3294, allocations: 112 / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006649/0.3301, allocations: 0.4998 MB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3301, allocations: 4.062 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.45e-05/0.3302, allocations: 19.98 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3302, allocations: 4 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3302, allocations: 0 / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3302, allocations: 7.938 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3302, allocations: 0 / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.3305, allocations: 261.1 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.3306, allocations: 97 kB / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.3306, allocations: 4 kB / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.3307, allocations: 4 kB / 0.569 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.3308, allocations: 12.27 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.3308, allocations: 4 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001945/0.331, allocations: 205.4 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.331, allocations: 3.938 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000295/0.3313, allocations: 35.89 kB / 0.5693 GB, free: 12.42 MB / 414.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 (14): * Single equations (assignments): 12 * 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.001928/0.3332, allocations: 0.5026 MB / 0.5698 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.3335, allocations: 99.16 kB / 0.5699 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3335, allocations: 0 / 0.5699 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.3336, allocations: 51.86 kB / 0.5699 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.334, allocations: 43.06 kB / 0.57 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006759/0.3346, allocations: 332.7 kB / 0.5703 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.335, allocations: 0.7278 MB / 0.571 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.3351, allocations: 29.41 kB / 0.571 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.3351, allocations: 23.42 kB / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3351, allocations: 0 / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Templates: time 0.006022/0.3412, allocations: 2.252 MB / 0.5732 GB, free: 8.516 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.114934006240219]