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.001429/0.001429, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.0015/0.0015, allocations: 221.1 kB / 25.13 MB, free: 3.609 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.497/1.497, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.2482/0.2482, allocations: 46.92 MB / 362 MB, free: 4.309 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.002323/0.002323, allocations: 79.86 kB / 0.4978 GB, free: 7.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3344, allocations: 66.08 MB / 0.5624 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003306/0.3377, allocations: 1.845 MB / 0.5642 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.3397, allocations: 1.115 MB / 0.5653 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.3398, allocations: 7.938 kB / 0.5653 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005379/0.3403, allocations: 299.3 kB / 0.5656 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000516/0.3408, allocations: 259.2 kB / 0.5658 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.3411, allocations: 107.6 kB / 0.5659 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.3414, allocations: 267.2 kB / 0.5662 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.3415, allocations: 5.812 kB / 0.5662 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.3417, allocations: 139.5 kB / 0.5663 GB, free: 204 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.3419, allocations: 212 kB / 0.5665 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.342, allocations: 8 kB / 0.5665 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3421, allocations: 47.98 kB / 0.5666 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.3423, allocations: 136.5 kB / 0.5667 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.3424, allocations: 146.8 kB / 0.5668 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.3429, allocations: 376.8 kB / 0.5672 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3429, allocations: 0 / 0.5672 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3429, allocations: 0 / 0.5672 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3429, allocations: 0 / 0.5672 GB, free: 15.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001014/0.3439, allocations: 0.6825 MB / 0.5679 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3439, allocations: 8.031 kB / 0.5679 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.344, allocations: 52.61 kB / 0.5679 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.3447, allocations: 394.5 kB / 0.5683 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3447, allocations: 4.375 kB / 0.5683 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.3447, allocations: 4.375 kB / 0.5683 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.3449, allocations: 95.61 kB / 0.5684 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3449, allocations: 8 kB / 0.5684 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.345, allocations: 0 / 0.5684 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.345, allocations: 0 / 0.5684 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.3451, allocations: 27.98 kB / 0.5684 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.3455, allocations: 345.5 kB / 0.5688 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.3457, allocations: 101.2 kB / 0.5689 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.302e-05/0.3458, allocations: 41.69 kB / 0.5689 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.3458, allocations: 0 / 0.5689 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.3461, allocations: 117 kB / 0.569 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.3461, allocations: 0 / 0.569 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004844/0.3465, allocations: 201.2 kB / 0.5692 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.3466, allocations: 81.09 kB / 0.5693 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.3478, allocations: 1.022 MB / 0.5703 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.3478, allocations: 33.7 kB / 0.5703 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.348, allocations: 232.1 kB / 0.5705 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.3481, allocations: 31.78 kB / 0.5706 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.3481, allocations: 29.72 kB / 0.5706 GB, free: 11.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3483, allocations: 362.8 kB / 0.5709 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.871e-05/0.3484, allocations: 31.97 kB / 0.571 GB, free: 11.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.3485, allocations: 62.92 kB / 0.571 GB, free: 11.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.3487, allocations: 95.34 kB / 0.5711 GB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3487, allocations: 0 / 0.5711 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003067/0.349, allocations: 173.7 kB / 0.5713 GB, free: 10.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.349, allocations: 11.94 kB / 0.5713 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.349, allocations: 4 kB / 0.5713 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.349, allocations: 0 / 0.5713 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3491, allocations: 28.05 kB / 0.5713 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3492, allocations: 0 / 0.5713 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.214e-05/0.3492, allocations: 19.88 kB / 0.5713 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.3493, allocations: 4 kB / 0.5713 GB, free: 10.8 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.0002292/0.3495, allocations: 222.6 kB / 0.5716 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.3496, allocations: 55.61 kB / 0.5716 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.3499, allocations: 197.8 kB / 0.5718 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3499, allocations: 4 kB / 0.5718 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3499, allocations: 4 kB / 0.5718 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.35, allocations: 3.984 kB / 0.5718 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.3503, allocations: 316.5 kB / 0.5721 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3503, allocations: 0 / 0.5721 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.3503, allocations: 15.94 kB / 0.5721 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3503, allocations: 0 / 0.5721 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3503, allocations: 0 / 0.5721 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.3504, allocations: 4 kB / 0.5721 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3504, allocations: 0 / 0.5721 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.3507, allocations: 225.4 kB / 0.5723 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.3509, allocations: 71.53 kB / 0.5724 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.3509, allocations: 0 / 0.5724 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.351, allocations: 4 kB / 0.5724 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.351, allocations: 11.98 kB / 0.5724 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.351, allocations: 8.109 kB / 0.5724 GB, free: 9.598 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008905/0.3519, allocations: 0.7643 MB / 0.5732 GB, free: 8.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3519, allocations: 0 / 0.5732 GB, free: 8.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.3522, allocations: 44 kB / 0.5732 GB, free: 8.793 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.001435/0.3536, allocations: 411.5 kB / 0.5736 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002672/0.3539, allocations: 83.78 kB / 0.5737 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3539, allocations: 0 / 0.5737 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.354, allocations: 36.11 kB / 0.5737 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.3544, allocations: 70.7 kB / 0.5738 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3557, allocations: 0.8698 MB / 0.5746 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.3562, allocations: 0.8465 MB / 0.5755 GB, free: 6.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.3563, allocations: 66.94 kB / 0.5755 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.3564, allocations: 31.44 kB / 0.5756 GB, free: 6.465 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3564, allocations: 0 / 0.5756 GB, free: 6.465 MB / 414.1 MB Notification: Performance of Templates: time 0.008405/0.3648, allocations: 3.855 MB / 0.5793 GB, free: 2.625 MB / 414.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.19627849990502]