Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 258.2 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 44.94 MB / 359.6 MB, free: 6.016 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 71.88 kB / 0.4943 GB, free: 9.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3081, allocations: 65.46 MB / 0.5582 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003404/0.3115, allocations: 1.787 MB / 0.56 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.3135, allocations: 1.046 MB / 0.561 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.3136, allocations: 0 / 0.561 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.3141, allocations: 303.2 kB / 0.5613 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005056/0.3146, allocations: 255.2 kB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.3149, allocations: 115.7 kB / 0.5616 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.3152, allocations: 259.2 kB / 0.5619 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.875e-05/0.3152, allocations: 9.812 kB / 0.5619 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.3155, allocations: 135.5 kB / 0.562 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.3158, allocations: 204 kB / 0.5622 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.3158, allocations: 8 kB / 0.5622 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.3159, allocations: 51.97 kB / 0.5623 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.3161, allocations: 136.5 kB / 0.5624 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.3162, allocations: 103.1 kB / 0.5625 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.3166, allocations: 380.6 kB / 0.5629 GB, free: 2.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3166, allocations: 8 kB / 0.5629 GB, free: 2.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3166, allocations: 0 / 0.5629 GB, free: 2.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3166, allocations: 0 / 0.5629 GB, free: 2.656 MB / 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.001016/0.3177, allocations: 0.6747 MB / 0.5635 GB, free: 1.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3177, allocations: 12.03 kB / 0.5636 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.3178, allocations: 48.61 kB / 0.5636 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006928/0.3185, allocations: 390.5 kB / 0.564 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.3185, allocations: 4.375 kB / 0.564 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3185, allocations: 12.11 kB / 0.564 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.3187, allocations: 87.31 kB / 0.5641 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.3187, allocations: 4 kB / 0.5641 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3187, allocations: 3.984 kB / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3188, allocations: 3.984 kB / 0.5641 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3189, allocations: 31.98 kB / 0.5641 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.3192, allocations: 302.1 kB / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.3195, allocations: 105.2 kB / 0.5645 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.3197, allocations: 41.7 kB / 0.5645 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.3197, allocations: 7.984 kB / 0.5645 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.32, allocations: 116.9 kB / 0.5647 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.32, allocations: 0 / 0.5647 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005009/0.3205, allocations: 209.2 kB / 0.5649 GB, free: 492 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.3205, allocations: 77.11 kB / 0.5649 GB, free: 396 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.3218, allocations: 1.034 MB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3218, allocations: 29.7 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.322, allocations: 240.1 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.3221, allocations: 31.77 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.3221, allocations: 29.66 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.3223, allocations: 366.8 kB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-05/0.3224, allocations: 35.97 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3225, allocations: 55.42 kB / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.3227, allocations: 99.34 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3227, allocations: 0 / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003209/0.323, allocations: 189.7 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.323, allocations: 4 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.323, allocations: 4 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.323, allocations: 0 / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3232, allocations: 19.98 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3232, allocations: 4 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3233, allocations: 15.89 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3233, allocations: 4 kB / 0.567 GB, free: 14.18 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.0002319/0.3235, allocations: 229.8 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.3236, allocations: 51.61 kB / 0.5673 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.324, allocations: 205.8 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.324, allocations: 4 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.324, allocations: 0 / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.324, allocations: 3.984 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.3243, allocations: 257.2 kB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3243, allocations: 0 / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.3244, allocations: 12 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.3244, allocations: 7.922 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3244, allocations: 4 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.3244, allocations: 4 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3244, allocations: 0 / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.3248, allocations: 225.4 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.3249, allocations: 71.53 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.3249, allocations: 192 / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.325, allocations: 15.94 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.3251, allocations: 7.984 kB / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.3251, allocations: 7.984 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008631/0.326, allocations: 0.7722 MB / 0.5688 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.326, allocations: 0 / 0.5688 GB, free: 12.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.3262, allocations: 47.98 kB / 0.5689 GB, free: 12.21 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.001668/0.3279, allocations: 440.6 kB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.3282, allocations: 87.89 kB / 0.5694 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3282, allocations: 3.938 kB / 0.5694 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.3283, allocations: 36.36 kB / 0.5694 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.3287, allocations: 89.48 kB / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3301, allocations: 0.9183 MB / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.3303, allocations: 237.8 kB / 0.5706 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.3304, allocations: 27.44 kB / 0.5707 GB, free: 10.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3304, allocations: 0 / 0.5707 GB, free: 10.52 MB / 414.1 MB Notification: Performance of Templates: time 0.008902/0.3393, allocations: 5.227 MB / 0.5758 GB, free: 5.285 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 8.359428329393268]