Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.001421/0.001421, allocations: 114.5 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.001419/0.001419, allocations: 206.8 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.481/1.481, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2334/0.2334, allocations: 46.89 MB / 361.1 MB, free: 4.645 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88") [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.002306/0.002306, allocations: 75.88 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3203, allocations: 65.99 MB / 0.5613 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003983/0.3243, allocations: 2.304 MB / 0.5636 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.3272, allocations: 1.342 MB / 0.5649 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.3274, allocations: 7.938 kB / 0.5649 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004558/0.3278, allocations: 123.3 kB / 0.565 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005773/0.3284, allocations: 238.9 kB / 0.5652 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.3288, allocations: 199.5 kB / 0.5654 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.3294, allocations: 450.7 kB / 0.5658 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.3296, allocations: 51.86 kB / 0.5659 GB, free: 296 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004175/0.33, allocations: 303.1 kB / 0.5662 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.3302, allocations: 171 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.3303, allocations: 16 kB / 0.5664 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.3304, allocations: 71.97 kB / 0.5664 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.3306, allocations: 139.4 kB / 0.5666 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.3309, allocations: 182.6 kB / 0.5667 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006472/0.3315, allocations: 441.7 kB / 0.5672 GB, free: 14.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3315, allocations: 0 / 0.5672 GB, free: 14.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3315, allocations: 4 kB / 0.5672 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3315, allocations: 0 / 0.5672 GB, free: 14.98 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001412/0.3329, allocations: 0.8397 MB / 0.568 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.333, allocations: 8.031 kB / 0.568 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.3331, allocations: 68.5 kB / 0.568 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/0.3339, allocations: 425 kB / 0.5685 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.3339, allocations: 12.38 kB / 0.5685 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.334, allocations: 32.3 kB / 0.5685 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.3344, allocations: 193.2 kB / 0.5687 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.3344, allocations: 3.984 kB / 0.5687 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.3344, allocations: 4 kB / 0.5687 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3344, allocations: 4 kB / 0.5687 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.3347, allocations: 95.88 kB / 0.5688 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.3357, allocations: 0.7937 MB / 0.5696 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/0.3364, allocations: 234.5 kB / 0.5698 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.3366, allocations: 87.41 kB / 0.5699 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.3366, allocations: 16.2 kB / 0.5699 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004038/0.337, allocations: 204.2 kB / 0.5701 GB, free: 11.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.337, allocations: 0 / 0.5701 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.00266/0.3397, allocations: 1.125 MB / 0.5712 GB, free: 10.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.3398, allocations: 144.4 kB / 0.5713 GB, free: 10.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009829/0.3408, allocations: 0.7931 MB / 0.5721 GB, free: 9.637 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.3408, allocations: 37.7 kB / 0.5721 GB, free: 9.594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.341, allocations: 241 kB / 0.5724 GB, free: 9.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.3412, allocations: 146.8 kB / 0.5725 GB, free: 9.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.3413, allocations: 82.09 kB / 0.5726 GB, free: 9.121 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.3415, allocations: 378.7 kB / 0.5729 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.3418, allocations: 116.8 kB / 0.573 GB, free: 8.629 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.3421, allocations: 183.2 kB / 0.5732 GB, free: 8.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/0.3426, allocations: 315 kB / 0.5735 GB, free: 8.094 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3426, allocations: 4 kB / 0.5735 GB, free: 8.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007767/0.3434, allocations: 440.8 kB / 0.5739 GB, free: 7.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3434, allocations: 10.31 kB / 0.574 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3434, allocations: 4 kB / 0.574 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3435, allocations: 4 kB / 0.574 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.3437, allocations: 87.89 kB / 0.574 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3437, allocations: 7.938 kB / 0.574 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.3439, allocations: 23.98 kB / 0.5741 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.3439, allocations: 12 kB / 0.5741 GB, free: 7.508 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002736/0.3442, allocations: 235.9 kB / 0.5743 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.3443, allocations: 71.53 kB / 0.5744 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.3453, allocations: 0.499 MB / 0.5749 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.108e-06/0.3453, allocations: 7.984 kB / 0.5749 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3453, allocations: 4 kB / 0.5749 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3453, allocations: 0 / 0.5749 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.3473, allocations: 1.314 MB / 0.5762 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3473, allocations: 4.25 kB / 0.5762 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.3474, allocations: 67.91 kB / 0.5762 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.3474, allocations: 7.938 kB / 0.5762 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.3475, allocations: 12 kB / 0.5762 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.3475, allocations: 7.984 kB / 0.5763 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3475, allocations: 4 kB / 0.5763 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009605/0.3484, allocations: 0.7929 MB / 0.577 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.3486, allocations: 172.6 kB / 0.5772 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.3487, allocations: 16 kB / 0.5772 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.349, allocations: 15.98 kB / 0.5772 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.3491, allocations: 39.83 kB / 0.5773 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.3491, allocations: 27.98 kB / 0.5773 GB, free: 4.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006776/0.3498, allocations: 0.5811 MB / 0.5779 GB, free: 3.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3498, allocations: 0 / 0.5779 GB, free: 3.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000523/0.3503, allocations: 91.86 kB / 0.5779 GB, free: 3.387 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001967/0.3523, allocations: 0.5232 MB / 0.5785 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006698/0.353, allocations: 291.8 kB / 0.5787 GB, free: 2.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.353, allocations: 4.062 kB / 0.5787 GB, free: 2.762 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.3533, allocations: 147.7 kB / 0.5789 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009811/0.3542, allocations: 127.4 kB / 0.579 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.356, allocations: 1.093 MB / 0.5801 GB, free: 1.348 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.3566, allocations: 0.886 MB / 0.5809 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.3568, allocations: 83.28 kB / 0.581 GB, free: 364 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.3569, allocations: 55.42 kB / 0.5811 GB, free: 308 kB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3569, allocations: 0 / 0.5811 GB, free: 308 kB / 414.1 MB Notification: Performance of Templates: time 0.01154/0.3684, allocations: 5.583 MB / 0.5865 GB, free: 10.75 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.151503917761147]