Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 111.8 kB / 17.12 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 195.7 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 207.6 MB / 230.5 MB, free: 4.242 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3746/0.3746, allocations: 44.24 MB / 326.5 MB, free: 6.797 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 71.8 kB / 462.2 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3362, allocations: 61 MB / 0.511 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002747/0.3389, allocations: 1.727 MB / 0.5127 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3401, allocations: 0.8207 MB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.3401, allocations: 3.844 kB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.3404, allocations: 102.4 kB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.3407, allocations: 87.22 kB / 0.5136 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.3409, allocations: 95.75 kB / 0.5137 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3411, allocations: 115.4 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.709e-05/0.3412, allocations: 22.39 kB / 0.5139 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.058e-05/0.3413, allocations: 53.31 kB / 0.5139 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.375e-05/0.3414, allocations: 79.28 kB / 0.514 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3414, allocations: 3.938 kB / 0.514 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.13e-05/0.3415, allocations: 43.39 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.3415, allocations: 31.25 kB / 0.5141 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.3416, allocations: 49.36 kB / 0.5141 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.3418, allocations: 140.3 kB / 0.5142 GB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3418, allocations: 3.938 kB / 0.5143 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3418, allocations: 0 / 0.5143 GB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3418, allocations: 0.8438 kB / 0.5143 GB, free: 10.69 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004764/0.3423, allocations: 452.9 kB / 0.5147 GB, free: 10.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3423, allocations: 13.95 kB / 0.5147 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.834e-05/0.3423, allocations: 32.53 kB / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.3424, allocations: 14.34 kB / 0.5147 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.3426, allocations: 231.8 kB / 0.515 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3426, allocations: 10.09 kB / 0.515 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3426, allocations: 7.469 kB / 0.515 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3428, allocations: 67.53 kB / 0.515 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3428, allocations: 0 / 0.515 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.3428, allocations: 5.781 kB / 0.5151 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3428, allocations: 0 / 0.5151 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/0.3429, allocations: 30.33 kB / 0.5151 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.3432, allocations: 317.6 kB / 0.5154 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.3434, allocations: 73.7 kB / 0.5155 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.3434, allocations: 26.47 kB / 0.5155 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3434, allocations: 2.75 kB / 0.5155 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.3436, allocations: 79.86 kB / 0.5156 GB, free: 9.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3436, allocations: 0 / 0.5156 GB, free: 9.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005691/0.3442, allocations: 229.7 kB / 0.5158 GB, free: 9.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.3442, allocations: 58.09 kB / 0.5158 GB, free: 9.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.3444, allocations: 248.1 kB / 0.5161 GB, free: 9.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3444, allocations: 27.08 kB / 0.5161 GB, free: 8.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.3445, allocations: 112.4 kB / 0.5162 GB, free: 8.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.3445, allocations: 37.19 kB / 0.5162 GB, free: 8.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.3446, allocations: 33.91 kB / 0.5163 GB, free: 8.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.3446, allocations: 332.3 kB / 0.5166 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.3447, allocations: 27.11 kB / 0.5166 GB, free: 8.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.3448, allocations: 45.8 kB / 0.5167 GB, free: 8.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3449, allocations: 82.89 kB / 0.5167 GB, free: 8.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3449, allocations: 0 / 0.5167 GB, free: 8.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002037/0.3451, allocations: 132.8 kB / 0.5169 GB, free: 8.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3451, allocations: 5.344 kB / 0.5169 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3451, allocations: 0.9375 kB / 0.5169 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3452, allocations: 9.328 kB / 0.5169 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.3452, allocations: 28.95 kB / 0.5169 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3453, allocations: 9.125 kB / 0.5169 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.3453, allocations: 2.062 kB / 0.5169 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.3453, allocations: 3.625 kB / 0.5169 GB, free: 8.293 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.131e-05/0.3454, allocations: 141.1 kB / 0.5171 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.3454, allocations: 14.41 kB / 0.5171 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.3455, allocations: 26.08 kB / 0.5171 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3455, allocations: 5.562 kB / 0.5171 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3455, allocations: 3.938 kB / 0.5171 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3455, allocations: 1.531 kB / 0.5171 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.3459, allocations: 446.5 kB / 0.5175 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3459, allocations: 5 kB / 0.5175 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.346, allocations: 16.28 kB / 0.5175 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.346, allocations: 1.406 kB / 0.5175 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.346, allocations: 6.391 kB / 0.5176 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.346, allocations: 0 / 0.5176 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.346, allocations: 1.094 kB / 0.5176 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.3462, allocations: 231.5 kB / 0.5178 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.3462, allocations: 98 kB / 0.5179 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3462, allocations: 5 kB / 0.5179 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.3463, allocations: 7.344 kB / 0.5179 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.3463, allocations: 7.547 kB / 0.5179 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3464, allocations: 5.25 kB / 0.5179 GB, free: 7.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.3465, allocations: 191.3 kB / 0.5181 GB, free: 7.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3465, allocations: 0 / 0.5181 GB, free: 7.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3467, allocations: 23.25 kB / 0.5181 GB, free: 7.266 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001851/0.3486, allocations: 1.141 MB / 0.5192 GB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.3488, allocations: 83.91 kB / 0.5193 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3488, allocations: 0 / 0.5193 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.817e-05/0.3488, allocations: 35.92 kB / 0.5193 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.3492, allocations: 36.12 kB / 0.5194 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.3507, allocations: 1.888 MB / 0.5212 GB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.3509, allocations: 0.7162 MB / 0.5219 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.662e-05/0.3509, allocations: 21.06 kB / 0.5219 GB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.351, allocations: 47.42 kB / 0.522 GB, free: 3.27 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.351, allocations: 4 kB / 0.522 GB, free: 3.266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.3737, allocations: 3.95 MB / 0.5258 GB, free: 15.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.6, allocations: 12.94 kB / 0.5258 GB, free: 15.23 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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: 11.598591015208513]