Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.001329/0.001329, allocations: 113.1 kB / 21.85 MB, free: 68 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.001568/0.001568, allocations: 209.1 kB / 25.12 MB, free: 3.59 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.492/1.492, allocations: 230.4 MB / 258.7 MB, free: 8.07 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.2688/0.2688, allocations: 46.93 MB / 362 MB, free: 4.238 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69") [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.002419/0.002419, allocations: 79.86 kB / 0.4979 GB, free: 7.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3202, allocations: 66.06 MB / 0.5624 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00329/0.3235, allocations: 1.842 MB / 0.5642 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3255, allocations: 1.115 MB / 0.5653 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.3256, allocations: 4 kB / 0.5653 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.3261, allocations: 303.2 kB / 0.5656 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004961/0.3266, allocations: 263.2 kB / 0.5658 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.3268, allocations: 103.7 kB / 0.5659 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.3272, allocations: 267.2 kB / 0.5662 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.3272, allocations: 5.812 kB / 0.5662 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.3274, allocations: 139.5 kB / 0.5663 GB, free: 216 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.3277, allocations: 208 kB / 0.5665 GB, free: 8 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.3277, allocations: 11.98 kB / 0.5665 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3279, allocations: 47.94 kB / 0.5666 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.328, allocations: 132.5 kB / 0.5667 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.3282, allocations: 154.8 kB / 0.5668 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.3286, allocations: 376.6 kB / 0.5672 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3286, allocations: 0 / 0.5672 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3286, allocations: 0 / 0.5672 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3286, 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.0009882/0.3296, allocations: 0.6747 MB / 0.5678 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.3296, allocations: 8.031 kB / 0.5679 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.211e-05/0.3297, allocations: 52.61 kB / 0.5679 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006353/0.3304, allocations: 394.5 kB / 0.5683 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.3304, allocations: 4.375 kB / 0.5683 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.3304, allocations: 8.312 kB / 0.5683 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.3306, allocations: 99.64 kB / 0.5684 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3306, allocations: 0 / 0.5684 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3306, allocations: 0 / 0.5684 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3306, allocations: 0 / 0.5684 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.3307, allocations: 27.98 kB / 0.5684 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.3312, allocations: 353.4 kB / 0.5688 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.3314, allocations: 93.23 kB / 0.5688 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3315, allocations: 45.69 kB / 0.5689 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.3315, allocations: 0 / 0.5689 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.3318, allocations: 113 kB / 0.569 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3318, allocations: 0 / 0.569 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005417/0.3323, allocations: 209.6 kB / 0.5692 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.3324, allocations: 85.09 kB / 0.5693 GB, free: 12.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.3335, allocations: 1.019 MB / 0.5703 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3336, allocations: 33.7 kB / 0.5703 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.3338, allocations: 232.1 kB / 0.5705 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.3338, allocations: 27.78 kB / 0.5705 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.3339, allocations: 29.72 kB / 0.5706 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.3341, allocations: 366.8 kB / 0.5709 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.638e-05/0.3342, allocations: 31.98 kB / 0.571 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.3343, allocations: 63.36 kB / 0.571 GB, free: 11.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.3345, allocations: 91.34 kB / 0.5711 GB, free: 11.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3345, allocations: 3.938 kB / 0.5711 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003354/0.3348, allocations: 173.2 kB / 0.5713 GB, free: 10.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3348, allocations: 10.66 kB / 0.5713 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3348, allocations: 0 / 0.5713 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3348, allocations: 0 / 0.5713 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3349, allocations: 27.98 kB / 0.5713 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.335, allocations: 3.938 kB / 0.5713 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3351, allocations: 19.86 kB / 0.5713 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3351, allocations: 4 kB / 0.5713 GB, free: 10.81 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.000228/0.3353, allocations: 222.7 kB / 0.5715 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.3354, allocations: 51.61 kB / 0.5716 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004145/0.3358, allocations: 202 kB / 0.5718 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3358, allocations: 0 / 0.5718 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3358, allocations: 4 kB / 0.5718 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3358, allocations: 3.984 kB / 0.5718 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.3361, allocations: 316.5 kB / 0.5721 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3361, allocations: 0 / 0.5721 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.3362, allocations: 15.94 kB / 0.5721 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3362, allocations: 4 kB / 0.5721 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3362, allocations: 0 / 0.5721 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.3362, allocations: 7.938 kB / 0.5721 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3362, allocations: 0 / 0.5721 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.3366, allocations: 221.4 kB / 0.5723 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.3367, allocations: 71.53 kB / 0.5724 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.3368, allocations: 4 kB / 0.5724 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.3369, allocations: 4 kB / 0.5724 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.3369, allocations: 15.97 kB / 0.5724 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.3369, allocations: 4 kB / 0.5724 GB, free: 9.602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008821/0.3378, allocations: 0.7604 MB / 0.5732 GB, free: 8.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3378, allocations: 0 / 0.5732 GB, free: 8.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.3381, allocations: 47.98 kB / 0.5732 GB, free: 8.797 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.001551/0.3397, allocations: 410.2 kB / 0.5736 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.34, allocations: 79.84 kB / 0.5737 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.34, allocations: 0 / 0.5737 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3401, allocations: 43.91 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.0004523/0.3405, allocations: 74.92 kB / 0.5738 GB, free: 8.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.3419, allocations: 0.8661 MB / 0.5746 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.3424, allocations: 0.8504 MB / 0.5755 GB, free: 6.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.3425, allocations: 62.92 kB / 0.5755 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/0.3426, allocations: 31.44 kB / 0.5756 GB, free: 6.473 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3426, allocations: 4 kB / 0.5756 GB, free: 6.469 MB / 414.1 MB Notification: Performance of Templates: time 0.009048/0.3516, allocations: 3.851 MB / 0.5793 GB, free: 2.629 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.235927312867716]