Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.001312/0.001312, allocations: 119.3 kB / 17.13 MB, free: 5.926 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.001268/0.001268, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.584/1.584, allocations: 207.6 MB / 230.5 MB, free: 4.055 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.3659/0.3659, allocations: 44.23 MB / 326.5 MB, free: 6.82 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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",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.002191/0.002191, allocations: 75.89 kB / 462.2 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3347, allocations: 60.99 MB / 0.511 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002713/0.3374, allocations: 1.711 MB / 0.5126 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3386, allocations: 0.8114 MB / 0.5134 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.3386, allocations: 5.688 kB / 0.5134 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.3389, allocations: 83.78 kB / 0.5135 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.3392, allocations: 83.88 kB / 0.5136 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.3394, allocations: 91.22 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.3395, allocations: 109.3 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3397, allocations: 9.375 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3398, allocations: 54.55 kB / 0.5139 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3399, allocations: 64.42 kB / 0.5139 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.3399, allocations: 7.969 kB / 0.5139 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.34, allocations: 46.84 kB / 0.514 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.34, allocations: 29.48 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.3401, allocations: 35.31 kB / 0.514 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.3403, allocations: 114.2 kB / 0.5141 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3403, allocations: 0 / 0.5141 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3403, allocations: 0 / 0.5141 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3403, allocations: 3.938 kB / 0.5141 GB, free: 10.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000479/0.3407, allocations: 423.9 kB / 0.5145 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3408, allocations: 16.92 kB / 0.5146 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.3408, allocations: 40.36 kB / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.3409, allocations: 14 kB / 0.5146 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.3411, allocations: 216.7 kB / 0.5148 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3411, allocations: 1.75 kB / 0.5148 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.3411, allocations: 6.688 kB / 0.5148 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.3413, allocations: 57.73 kB / 0.5149 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3413, allocations: 0 / 0.5149 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3413, allocations: 1.5 kB / 0.5149 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3413, allocations: 4 kB / 0.5149 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.917e-05/0.3414, allocations: 22.36 kB / 0.5149 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.3416, allocations: 292.6 kB / 0.5152 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.3418, allocations: 52.17 kB / 0.5152 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.3418, allocations: 21.78 kB / 0.5153 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.3419, allocations: 7.984 kB / 0.5153 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.342, allocations: 65.7 kB / 0.5153 GB, free: 9.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.342, allocations: 7.875 kB / 0.5153 GB, free: 9.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005588/0.3426, allocations: 174.8 kB / 0.5155 GB, free: 9.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.3426, allocations: 56.77 kB / 0.5156 GB, free: 9.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.3428, allocations: 235.4 kB / 0.5158 GB, free: 9.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3428, allocations: 29.7 kB / 0.5158 GB, free: 9.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.3429, allocations: 107 kB / 0.5159 GB, free: 9.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.3429, allocations: 26.53 kB / 0.5159 GB, free: 9.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.3429, allocations: 24.59 kB / 0.516 GB, free: 8.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.343, allocations: 323 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.543e-05/0.3431, allocations: 22.98 kB / 0.5163 GB, free: 8.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.3431, allocations: 35.45 kB / 0.5163 GB, free: 8.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.3432, allocations: 63.89 kB / 0.5164 GB, free: 8.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3432, allocations: 3.938 kB / 0.5164 GB, free: 8.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001726/0.3434, allocations: 100.2 kB / 0.5165 GB, free: 8.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3434, allocations: 5.5 kB / 0.5165 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3434, allocations: 0 / 0.5165 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3434, allocations: 1.375 kB / 0.5165 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.3435, allocations: 21.67 kB / 0.5165 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3435, allocations: 0 / 0.5165 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.3436, allocations: 10.72 kB / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3436, allocations: 2.75 kB / 0.5165 GB, free: 8.504 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 (10): * Single equations (assignments): 10 * 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 8.192e-05/0.3437, allocations: 130.2 kB / 0.5166 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.3437, allocations: 9.453 kB / 0.5167 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.3437, allocations: 20.27 kB / 0.5167 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3437, allocations: 1.375 kB / 0.5167 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3437, allocations: 384 / 0.5167 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3437, allocations: 3.938 kB / 0.5167 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.3441, allocations: 400.4 kB / 0.5171 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3441, allocations: 5.312 kB / 0.5171 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.3441, allocations: 15.58 kB / 0.5171 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3442, allocations: 3.938 kB / 0.5171 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3442, allocations: 3.094 kB / 0.5171 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3442, allocations: 0 / 0.5171 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3442, allocations: 1.375 kB / 0.5171 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.3444, allocations: 212.3 kB / 0.5173 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.3444, allocations: 84.12 kB / 0.5174 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.3444, allocations: 10.44 kB / 0.5174 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.3445, allocations: 5.141 kB / 0.5174 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.3445, allocations: 7.844 kB / 0.5174 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.3445, allocations: 7.406 kB / 0.5174 GB, free: 7.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.3446, allocations: 165.8 kB / 0.5176 GB, free: 7.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3446, allocations: 4 kB / 0.5176 GB, free: 7.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.3449, allocations: 24.38 kB / 0.5176 GB, free: 7.527 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 (8): * Single equations (assignments): 6 * 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.001939/0.3468, allocations: 1.102 MB / 0.5187 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.347, allocations: 55.53 kB / 0.5187 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.347, allocations: 0 / 0.5187 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.525e-05/0.3471, allocations: 23.67 kB / 0.5187 GB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.3475, allocations: 33.31 kB / 0.5188 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.3489, allocations: 1.74 MB / 0.5205 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.349, allocations: 0.708 MB / 0.5212 GB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.83e-05/0.349, allocations: 21.19 kB / 0.5212 GB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.3491, allocations: 35.42 kB / 0.5212 GB, free: 4.023 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3491, allocations: 0 / 0.5212 GB, free: 4.023 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.3736, allocations: 3.569 MB / 0.5247 GB, free: 392 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.5, allocations: 8.812 kB / 0.5247 GB, free: 384 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.60958050005138]