Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.001338/0.001338, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001491/0.001491, allocations: 227.2 kB / 23.01 MB, free: 5.039 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.527/1.527, allocations: 207.6 MB / 233.8 MB, free: 9.973 MB / 190.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.2433/0.2433, allocations: 44.24 MB / 330.3 MB, free: 9.609 MB / 270.1 MB " [Timeout remaining time 179] 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.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 71.91 kB / 467.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1376, allocations: 61.04 MB / 0.5162 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004388/0.142, allocations: 2.04 MB / 0.5182 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1439, allocations: 0.9091 MB / 0.5191 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.1441, allocations: 3.938 kB / 0.5191 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.1444, allocations: 47.64 kB / 0.5191 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.1447, allocations: 75.55 kB / 0.5192 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.1451, allocations: 127.6 kB / 0.5193 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.1455, allocations: 199.4 kB / 0.5195 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.1456, allocations: 25.77 kB / 0.5195 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.1459, allocations: 87.58 kB / 0.5196 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.146, allocations: 79.66 kB / 0.5197 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.1461, allocations: 12 kB / 0.5197 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.1462, allocations: 51.94 kB / 0.5198 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.88e-05/0.1463, allocations: 35.84 kB / 0.5198 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1464, allocations: 79.52 kB / 0.5199 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.1469, allocations: 187.2 kB / 0.52 GB, free: 3.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1469, allocations: 0 / 0.52 GB, free: 3.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1469, allocations: 7.938 kB / 0.5201 GB, free: 3.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1469, allocations: 0 / 0.5201 GB, free: 3.316 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001143/0.148, allocations: 492.5 kB / 0.5205 GB, free: 2.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.148, allocations: 12.03 kB / 0.5205 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.217e-05/0.1481, allocations: 42.73 kB / 0.5206 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.1482, allocations: 20.84 kB / 0.5206 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.1486, allocations: 191.1 kB / 0.5208 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1486, allocations: 4.375 kB / 0.5208 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.1486, allocations: 15.94 kB / 0.5208 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.1491, allocations: 144.2 kB / 0.5209 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1491, allocations: 0 / 0.5209 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.1491, allocations: 8 kB / 0.5209 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1491, allocations: 0 / 0.5209 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005041/0.1496, allocations: 115.8 kB / 0.5211 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007035/0.1503, allocations: 0.5117 MB / 0.5216 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.151, allocations: 158.6 kB / 0.5217 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.1512, allocations: 72.8 kB / 0.5218 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.1512, allocations: 0 / 0.5218 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.1517, allocations: 131.2 kB / 0.5219 GB, free: 1.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 5.19e-06/0.1517, allocations: 4 kB / 0.5219 GB, free: 1.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009082/0.1526, allocations: 265.2 kB / 0.5222 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1527, allocations: 55.41 kB / 0.5222 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.1529, allocations: 220.3 kB / 0.5224 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.1529, allocations: 29.7 kB / 0.5224 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.153, allocations: 136.4 kB / 0.5226 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.1531, allocations: 39.69 kB / 0.5226 GB, free: 500 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.1531, allocations: 41.64 kB / 0.5227 GB, free: 452 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1533, allocations: 326.8 kB / 0.523 GB, free: 116 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.1536, allocations: 63.94 kB / 0.523 GB, free: 52 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.154, allocations: 112.2 kB / 0.5231 GB, free: 15.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.1545, allocations: 193.8 kB / 0.5233 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1545, allocations: 4 kB / 0.5233 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006846/0.1552, allocations: 263.1 kB / 0.5236 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.1552, allocations: 29.7 kB / 0.5236 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1552, allocations: 4 kB / 0.5236 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.1552, allocations: 7.875 kB / 0.5236 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.1554, allocations: 31.97 kB / 0.5236 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1554, allocations: 4 kB / 0.5236 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.1556, allocations: 27.92 kB / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.1556, allocations: 4 kB / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001572/0.1558, allocations: 154.8 kB / 0.5238 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.1558, allocations: 15.91 kB / 0.5238 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006527/0.1565, allocations: 202.9 kB / 0.524 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1565, allocations: 3.938 kB / 0.524 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1565, allocations: 4 kB / 0.524 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1565, allocations: 3.984 kB / 0.524 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.1568, allocations: 204.6 kB / 0.5242 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1568, allocations: 0 / 0.5242 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.157, allocations: 23.97 kB / 0.5243 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.157, allocations: 0 / 0.5243 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.157, allocations: 8 kB / 0.5243 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.157, allocations: 3.938 kB / 0.5243 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.157, allocations: 3.938 kB / 0.5243 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.1579, allocations: 296.8 kB / 0.5246 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.1579, allocations: 11.94 kB / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.158, allocations: 15.92 kB / 0.5246 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.1581, allocations: 27.97 kB / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.1582, allocations: 11.98 kB / 0.5246 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/0.1583, allocations: 7.984 kB / 0.5246 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.1585, allocations: 163.5 kB / 0.5248 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1585, allocations: 0 / 0.5248 GB, free: 14.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1588, allocations: 47.88 kB / 0.5248 GB, free: 14.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.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.002746/0.1616, allocations: 1.145 MB / 0.526 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006288/0.1622, allocations: 211.2 kB / 0.5262 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1622, allocations: 0 / 0.5262 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.1625, allocations: 67.94 kB / 0.5262 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.1628, allocations: 59.52 kB / 0.5263 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.1667, allocations: 2.154 MB / 0.5284 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.1672, allocations: 0.7203 MB / 0.5291 GB, free: 9.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.1673, allocations: 33.38 kB / 0.5291 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.1674, allocations: 55.42 kB / 0.5292 GB, free: 9.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1674, allocations: 0 / 0.5292 GB, free: 9.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03863/0.206, allocations: 5.177 MB / 0.5342 GB, free: 4.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.58, allocations: 7.938 kB / 0.5342 GB, free: 4.219 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable trapezoid1.T_start in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat. Warning: Get data of variable trapezoid1.T_start from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat failed! Error: Could not read variable trapezoid1.count in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat. Warning: Get data of variable trapezoid1.count from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.929558503907174]