Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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.001418/0.001418, allocations: 110.4 kB / 21.17 MB, free: 0.7695 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.002034/0.002034, allocations: 215.6 kB / 24.46 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.569/1.569, allocations: 230.2 MB / 257.8 MB, free: 8.531 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.2608/0.2608, allocations: 46.89 MB / 361.1 MB, free: 4.773 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72") [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.004623/0.004623, allocations: 83.86 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4199, allocations: 65.99 MB / 0.5613 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004542/0.4244, allocations: 1.845 MB / 0.5631 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.4272, allocations: 1.115 MB / 0.5641 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.4273, allocations: 0 / 0.5641 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006918/0.428, allocations: 311.3 kB / 0.5644 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006968/0.4287, allocations: 259.2 kB / 0.5647 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.429, allocations: 107.6 kB / 0.5648 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.4295, allocations: 259.3 kB / 0.565 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.602e-05/0.4296, allocations: 9.688 kB / 0.5651 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.4298, allocations: 139.5 kB / 0.5652 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.4302, allocations: 219.4 kB / 0.5654 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.4302, allocations: 4 kB / 0.5654 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.4304, allocations: 55.92 kB / 0.5654 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.4306, allocations: 135.6 kB / 0.5656 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.4308, allocations: 150.8 kB / 0.5657 GB, free: 476 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006239/0.4314, allocations: 380.8 kB / 0.5661 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4314, allocations: 4 kB / 0.5661 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4314, allocations: 0 / 0.5661 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.4314, allocations: 0 / 0.5661 GB, free: 92 kB / 398.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.001453/0.4328, allocations: 0.7579 MB / 0.5668 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.4329, allocations: 8.031 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.433, allocations: 56.61 kB / 0.5669 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009737/0.434, allocations: 456.3 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.434, allocations: 4.312 kB / 0.5673 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.4341, allocations: 8.359 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.4344, allocations: 99.61 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4344, allocations: 3.938 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.4344, allocations: 4 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.4344, allocations: 0 / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.4346, allocations: 31.97 kB / 0.5675 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/0.4353, allocations: 382.3 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.4357, allocations: 105.2 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.4358, allocations: 37.69 kB / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.4358, allocations: 0 / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/0.4362, allocations: 117 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.963e-06/0.4362, allocations: 0 / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007411/0.4369, allocations: 201.2 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.437, allocations: 77.11 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.4388, allocations: 1.05 MB / 0.5694 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.4388, allocations: 33.7 kB / 0.5694 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.4391, allocations: 236.1 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.4392, allocations: 31.73 kB / 0.5697 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.4393, allocations: 29.72 kB / 0.5697 GB, free: 12.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.4395, allocations: 370.8 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.4396, allocations: 27.98 kB / 0.5701 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.4398, allocations: 63.36 kB / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.44, allocations: 91.91 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.44, allocations: 0 / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004947/0.4405, allocations: 177.1 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4405, allocations: 8 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4406, allocations: 64 / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.4406, allocations: 4 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.4408, allocations: 23.98 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4408, allocations: 0 / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.4409, allocations: 7.984 kB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.441, allocations: 8 kB / 0.5704 GB, free: 11.34 MB / 414.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.0003285/0.4413, allocations: 226.6 kB / 0.5707 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.4414, allocations: 59.56 kB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005825/0.442, allocations: 205.7 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.442, allocations: 7.938 kB / 0.5709 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.442, allocations: 0 / 0.5709 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.442, allocations: 0 / 0.5709 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005035/0.4425, allocations: 349.6 kB / 0.5712 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4425, allocations: 4 kB / 0.5713 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.368e-05/0.4426, allocations: 19.92 kB / 0.5713 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.4426, allocations: 4 kB / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.4426, allocations: 0 / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4426, allocations: 0 / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.4426, allocations: 8 kB / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.4431, allocations: 213.5 kB / 0.5715 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.4433, allocations: 136.7 kB / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/0.4434, allocations: 7.984 kB / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.4435, allocations: 8 kB / 0.5716 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.4436, allocations: 7.984 kB / 0.5716 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.4436, allocations: 8 kB / 0.5716 GB, free: 9.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001258/0.4449, allocations: 0.7839 MB / 0.5724 GB, free: 9.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4449, allocations: 3.938 kB / 0.5724 GB, free: 9.207 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004476/0.4453, allocations: 51.92 kB / 0.5725 GB, free: 9.156 MB / 414.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.001932/0.4473, allocations: 400.9 kB / 0.5728 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.4477, allocations: 75.91 kB / 0.5729 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4477, allocations: 4.125 kB / 0.5729 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.4478, allocations: 43.97 kB / 0.573 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.4485, allocations: 74.23 kB / 0.573 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.4503, allocations: 0.9127 MB / 0.5739 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/0.451, allocations: 0.8508 MB / 0.5748 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000189/0.4512, allocations: 62.92 kB / 0.5748 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.4513, allocations: 27.44 kB / 0.5748 GB, free: 6.809 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4513, allocations: 0 / 0.5748 GB, free: 6.809 MB / 414.1 MB Notification: Performance of Templates: time 0.01257/0.4639, allocations: 3.88 MB / 0.5786 GB, free: 2.941 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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.6055363193154335]