Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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.001845/0.001845, 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.002272/0.002272, allocations: 205.6 kB / 24.46 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.506/1.506, 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.2347/0.2347, allocations: 46.9 MB / 361.1 MB, free: 4.641 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68") [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.002817/0.002817, allocations: 87.86 kB / 0.4968 GB, free: 8.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3463, allocations: 65.97 MB / 0.5612 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002505/0.3488, allocations: 1.841 MB / 0.563 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3502, allocations: 1.117 MB / 0.5641 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.3503, allocations: 3.062 kB / 0.5641 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.3506, allocations: 301.1 kB / 0.5644 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.351, allocations: 258.1 kB / 0.5647 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.3512, allocations: 101.1 kB / 0.5648 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.3514, allocations: 264.4 kB / 0.565 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.3515, allocations: 16.58 kB / 0.565 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.3516, allocations: 125.7 kB / 0.5652 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.3518, allocations: 217.4 kB / 0.5654 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.3519, allocations: 5.938 kB / 0.5654 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.583e-05/0.3519, allocations: 48.53 kB / 0.5654 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.352, allocations: 137.1 kB / 0.5655 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.418e-05/0.3521, allocations: 148.6 kB / 0.5657 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.3524, allocations: 374.8 kB / 0.566 GB, free: 31.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3524, allocations: 0 / 0.566 GB, free: 31.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3524, allocations: 0 / 0.566 GB, free: 31.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3524, allocations: 1.844 kB / 0.566 GB, free: 31.81 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.0007449/0.3532, allocations: 0.7445 MB / 0.5668 GB, free: 31.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.3532, allocations: 9.406 kB / 0.5668 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.3533, allocations: 53.33 kB / 0.5668 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.3537, allocations: 458 kB / 0.5673 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3537, allocations: 3.562 kB / 0.5673 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.3538, allocations: 7.188 kB / 0.5673 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.3539, allocations: 86.48 kB / 0.5674 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3539, allocations: 0.5312 kB / 0.5674 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.354, allocations: 8.516 kB / 0.5674 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.354, allocations: 3.188 kB / 0.5674 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.218e-05/0.354, allocations: 26.8 kB / 0.5674 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.3543, allocations: 378.8 kB / 0.5678 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.3545, allocations: 105.7 kB / 0.5679 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.3546, allocations: 33.02 kB / 0.5679 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.3546, allocations: 3.562 kB / 0.5679 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.3548, allocations: 118.4 kB / 0.568 GB, free: 30.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3548, allocations: 3.219 kB / 0.568 GB, free: 30.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004201/0.3552, allocations: 189.6 kB / 0.5682 GB, free: 30.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.3553, allocations: 87.2 kB / 0.5683 GB, free: 30.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008263/0.3561, allocations: 1.02 MB / 0.5693 GB, free: 29.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3561, allocations: 33.88 kB / 0.5693 GB, free: 29.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.3562, allocations: 231.4 kB / 0.5695 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.3562, allocations: 34.66 kB / 0.5696 GB, free: 29.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.3563, allocations: 30.41 kB / 0.5696 GB, free: 29.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.3564, allocations: 365.5 kB / 0.5699 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.3564, allocations: 31.08 kB / 0.57 GB, free: 29.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-05/0.3565, allocations: 64.84 kB / 0.57 GB, free: 29.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.3567, allocations: 90.48 kB / 0.5701 GB, free: 29.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3567, allocations: 1.094 kB / 0.5701 GB, free: 29.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000268/0.3569, allocations: 172.2 kB / 0.5703 GB, free: 28.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.357, allocations: 6.375 kB / 0.5703 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.357, allocations: 1.219 kB / 0.5703 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.357, allocations: 6.094 kB / 0.5703 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3571, allocations: 25.47 kB / 0.5703 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3571, allocations: 5.438 kB / 0.5703 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.661e-05/0.3572, allocations: 15.64 kB / 0.5703 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3572, allocations: 5.188 kB / 0.5703 GB, free: 28.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001807/0.3574, allocations: 228.5 kB / 0.5706 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/0.3575, allocations: 54.08 kB / 0.5706 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.3579, allocations: 200.4 kB / 0.5708 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3579, allocations: 2.156 kB / 0.5708 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3579, allocations: 4.5 kB / 0.5708 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3579, allocations: 1.031 kB / 0.5708 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.3581, allocations: 347.1 kB / 0.5711 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3581, allocations: 3.938 kB / 0.5711 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.3582, allocations: 17.56 kB / 0.5712 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3582, allocations: 0 / 0.5712 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3582, allocations: 5.656 kB / 0.5712 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3582, allocations: 1.375 kB / 0.5712 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3582, allocations: 0 / 0.5712 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.3584, allocations: 216.2 kB / 0.5714 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.3586, allocations: 140.8 kB / 0.5715 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.3586, allocations: 6.078 kB / 0.5715 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.3587, allocations: 10.69 kB / 0.5715 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.3588, allocations: 8.922 kB / 0.5715 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.3588, allocations: 4.125 kB / 0.5715 GB, free: 28.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006739/0.3594, allocations: 0.7663 MB / 0.5723 GB, free: 27.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3594, allocations: 4 kB / 0.5723 GB, free: 27.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.3597, allocations: 46.5 kB / 0.5723 GB, free: 27.86 MB / 446.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001379/0.3611, allocations: 394.5 kB / 0.5727 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.3613, allocations: 80.98 kB / 0.5728 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3613, allocations: 4.875 kB / 0.5728 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.3614, allocations: 48.12 kB / 0.5728 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.3618, allocations: 89.47 kB / 0.5729 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.3629, allocations: 0.8821 MB / 0.5738 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.3632, allocations: 0.8389 MB / 0.5746 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.3633, allocations: 65.22 kB / 0.5747 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.3634, allocations: 32.83 kB / 0.5747 GB, free: 26.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3634, allocations: 1.562 kB / 0.5747 GB, free: 26.47 MB / 446.1 MB Notification: Performance of Templates: time 0.008807/0.3722, allocations: 3.82 MB / 0.5784 GB, free: 26.1 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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.299459544941783]