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.00186/0.00186, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001423/0.001423, allocations: 215.7 kB / 22.99 MB, free: 4.602 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.517/1.517, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2169/0.2169, allocations: 44.27 MB / 330.4 MB, free: 9.301 MB / 270.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.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.002718/0.002718, allocations: 75.89 kB / 467.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1323, allocations: 61.05 MB / 0.5162 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.0044/0.1367, allocations: 1.958 MB / 0.5181 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1387, allocations: 0.8624 MB / 0.519 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.1389, allocations: 3.938 kB / 0.519 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.1393, allocations: 47.7 kB / 0.519 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.1396, allocations: 75.56 kB / 0.5191 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.14, allocations: 123.6 kB / 0.5192 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.1404, allocations: 203.3 kB / 0.5194 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1405, allocations: 21.78 kB / 0.5194 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1407, allocations: 75.72 kB / 0.5195 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.1408, allocations: 83.53 kB / 0.5196 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.1409, allocations: 12 kB / 0.5196 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.141, allocations: 51.98 kB / 0.5196 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.936e-05/0.1411, allocations: 43.83 kB / 0.5197 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.555e-05/0.1412, allocations: 51.67 kB / 0.5197 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.1416, allocations: 207.1 kB / 0.5199 GB, free: 3.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1416, allocations: 0 / 0.5199 GB, free: 3.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1416, allocations: 0 / 0.5199 GB, free: 3.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1416, allocations: 0 / 0.5199 GB, free: 3.281 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.001176/0.1428, allocations: 496.6 kB / 0.5204 GB, free: 2.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.1429, allocations: 8.031 kB / 0.5204 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.1429, allocations: 38.75 kB / 0.5204 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.642e-05/0.143, allocations: 20.83 kB / 0.5205 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.1434, allocations: 183.1 kB / 0.5206 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1435, allocations: 8.312 kB / 0.5206 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.1435, allocations: 15.94 kB / 0.5207 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.144, allocations: 181.8 kB / 0.5208 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.144, allocations: 3.938 kB / 0.5208 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.144, allocations: 4 kB / 0.5208 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.144, allocations: 0 / 0.5208 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004536/0.1444, allocations: 107.9 kB / 0.5209 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007302/0.1452, allocations: 0.5039 MB / 0.5214 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.1459, allocations: 154.5 kB / 0.5216 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.1461, allocations: 68.8 kB / 0.5216 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1461, allocations: 0 / 0.5216 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000454/0.1466, allocations: 169 kB / 0.5218 GB, free: 1.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.1466, allocations: 0 / 0.5218 GB, free: 1.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000962/0.1476, allocations: 273.2 kB / 0.5221 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.1476, allocations: 55.41 kB / 0.5221 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.148, allocations: 224.3 kB / 0.5223 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.148, allocations: 29.7 kB / 0.5224 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.1482, allocations: 132.4 kB / 0.5225 GB, free: 444 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.1483, allocations: 35.73 kB / 0.5225 GB, free: 408 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/0.1484, allocations: 33.7 kB / 0.5226 GB, free: 368 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002719/0.1486, allocations: 330.8 kB / 0.5229 GB, free: 28 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.1489, allocations: 101.6 kB / 0.523 GB, free: 15.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.1493, allocations: 133.9 kB / 0.5231 GB, free: 15.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/0.1499, allocations: 197.8 kB / 0.5233 GB, free: 15.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1499, allocations: 0 / 0.5233 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000786/0.1507, allocations: 284.7 kB / 0.5236 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.337e-05/0.1507, allocations: 34.64 kB / 0.5236 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1507, allocations: 128 / 0.5236 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.1508, allocations: 11.94 kB / 0.5236 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.151, allocations: 35.91 kB / 0.5236 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.151, allocations: 3.938 kB / 0.5236 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.1512, allocations: 35.92 kB / 0.5237 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.1512, allocations: 4 kB / 0.5237 GB, free: 15.13 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.0001732/0.1514, allocations: 138.8 kB / 0.5238 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.1514, allocations: 15.91 kB / 0.5238 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006881/0.1521, allocations: 231 kB / 0.524 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1521, allocations: 7.875 kB / 0.524 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1521, allocations: 0 / 0.524 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1521, allocations: 0 / 0.524 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.1524, allocations: 192.6 kB / 0.5242 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1524, allocations: 0 / 0.5242 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.1526, allocations: 31.97 kB / 0.5243 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1526, allocations: 0 / 0.5243 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.1526, allocations: 4 kB / 0.5243 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.1526, allocations: 3.938 kB / 0.5243 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.1526, allocations: 7.984 kB / 0.5243 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1536, allocations: 316.8 kB / 0.5246 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.1536, allocations: 15.89 kB / 0.5246 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.1537, allocations: 7.984 kB / 0.5246 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1538, allocations: 23.91 kB / 0.5246 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.1539, allocations: 19.97 kB / 0.5246 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.1539, allocations: 4 kB / 0.5246 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.1541, allocations: 167.5 kB / 0.5248 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1541, allocations: 0 / 0.5248 GB, free: 13.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00028/0.1544, allocations: 43.94 kB / 0.5248 GB, free: 13.84 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 (13): * Single equations (assignments): 9 * 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.003361/0.1578, allocations: 1.181 MB / 0.526 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000713/0.1585, allocations: 244.9 kB / 0.5262 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1585, allocations: 0 / 0.5262 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.1588, allocations: 75.88 kB / 0.5263 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.1592, allocations: 55.62 kB / 0.5264 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.1633, allocations: 2.287 MB / 0.5286 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.1634, allocations: 116.1 kB / 0.5287 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.1635, allocations: 21.48 kB / 0.5287 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.1637, allocations: 59.41 kB / 0.5288 GB, free: 9.668 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1637, allocations: 0 / 0.5288 GB, free: 9.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.1998, allocations: 5.815 MB / 0.5345 GB, free: 3.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.76, allocations: 3.938 kB / 0.5345 GB, free: 3.73 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: 15.07415871694684]