Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.00167/0.00167, 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.001841/0.001841, allocations: 211.5 kB / 24.48 MB, free: 3.941 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.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2377/0.2377, allocations: 46.97 MB / 361.6 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 63.91 kB / 0.4974 GB, free: 7.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.326, allocations: 66.04 MB / 0.5619 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003408/0.3294, allocations: 1.791 MB / 0.5636 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3314, allocations: 1.046 MB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.3314, allocations: 0 / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.332, allocations: 311.3 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.3325, allocations: 259.2 kB / 0.5652 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.3328, allocations: 107.6 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.3331, allocations: 267.3 kB / 0.5655 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.777e-05/0.3332, allocations: 9.812 kB / 0.5655 GB, free: 324 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.3334, allocations: 131.5 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.3337, allocations: 219.4 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.3337, allocations: 11.98 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.3338, allocations: 47.98 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.334, allocations: 139.6 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.3341, allocations: 115 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.3347, allocations: 388.6 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3347, allocations: 0 / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3347, allocations: 0 / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3347, allocations: 4 kB / 0.5666 GB, free: 15.29 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.001036/0.3357, allocations: 0.6786 MB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3358, allocations: 8.031 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.293e-05/0.3359, allocations: 56.61 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/0.3365, allocations: 394.5 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.3365, allocations: 4.375 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.3365, allocations: 8.125 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.3368, allocations: 87.36 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3368, allocations: 3.938 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3368, allocations: 4 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3368, allocations: 0 / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.3369, allocations: 39.91 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.3373, allocations: 318 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.3376, allocations: 97.23 kB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3377, allocations: 49.56 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3377, allocations: 4 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.338, allocations: 117 kB / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.338, allocations: 0 / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005292/0.3385, allocations: 205.2 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.3386, allocations: 81.11 kB / 0.5686 GB, free: 12.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.3398, allocations: 1.058 MB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.3398, allocations: 33.7 kB / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.34, allocations: 236.1 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.3401, allocations: 35.69 kB / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.3401, allocations: 33.7 kB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.3403, allocations: 366.8 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-05/0.3404, allocations: 35.98 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3406, allocations: 55.41 kB / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.3408, allocations: 95.34 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3408, allocations: 4.5 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003308/0.3411, allocations: 185.2 kB / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.3411, allocations: 4 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3411, allocations: 4 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3412, allocations: 0 / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.3413, allocations: 23.92 kB / 0.5707 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3413, allocations: 4 kB / 0.5707 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.916e-05/0.3414, allocations: 11.94 kB / 0.5707 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3414, allocations: 4 kB / 0.5707 GB, free: 10.76 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.0002438/0.3416, allocations: 221.8 kB / 0.571 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.3417, allocations: 59.56 kB / 0.571 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.3422, allocations: 205.8 kB / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3422, allocations: 4 kB / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3422, allocations: 0 / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3422, allocations: 3.984 kB / 0.5712 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.3425, allocations: 269.1 kB / 0.5715 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3425, allocations: 0 / 0.5715 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.3426, allocations: 15.92 kB / 0.5715 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3426, allocations: 3.938 kB / 0.5715 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3426, allocations: 8 kB / 0.5715 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3426, allocations: 0 / 0.5715 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3426, allocations: 7.938 kB / 0.5715 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.343, allocations: 217.6 kB / 0.5717 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.3431, allocations: 75.78 kB / 0.5718 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.3432, allocations: 0 / 0.5718 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.3432, allocations: 11.98 kB / 0.5718 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.3433, allocations: 11.98 kB / 0.5718 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.3433, allocations: 4 kB / 0.5718 GB, free: 9.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008968/0.3442, allocations: 0.7878 MB / 0.5726 GB, free: 8.805 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3442, allocations: 3.938 kB / 0.5726 GB, free: 8.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.3445, allocations: 51.98 kB / 0.5726 GB, free: 8.75 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.001647/0.3461, allocations: 431.2 kB / 0.573 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.3464, allocations: 87.89 kB / 0.5731 GB, free: 8.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3464, allocations: 3.938 kB / 0.5731 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.3465, allocations: 40.3 kB / 0.5732 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.347, allocations: 82.75 kB / 0.5733 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3484, allocations: 0.9341 MB / 0.5742 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3487, allocations: 249.7 kB / 0.5744 GB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.3488, allocations: 23.44 kB / 0.5744 GB, free: 7.043 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3488, allocations: 0 / 0.5744 GB, free: 7.043 MB / 414.1 MB Notification: Performance of Templates: time 0.009993/0.3588, allocations: 5.346 MB / 0.5796 GB, free: 1.699 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.273090919945389]