Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001299/0.001299, allocations: 110.2 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.001458/0.001458, allocations: 223.3 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.415/1.415, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2159/0.2159, allocations: 44.23 MB / 330.3 MB, free: 9.516 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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.002496/0.002496, allocations: 74.72 kB / 467.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1259, allocations: 61.04 MB / 0.5162 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004541/0.1305, allocations: 1.927 MB / 0.5181 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1325, allocations: 0.8662 MB / 0.5189 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.1326, allocations: 3.938 kB / 0.5189 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.1332, allocations: 51.69 kB / 0.519 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.1335, allocations: 63.69 kB / 0.519 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.1339, allocations: 107.6 kB / 0.5192 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.1343, allocations: 143.6 kB / 0.5193 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1344, allocations: 21.66 kB / 0.5193 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.1346, allocations: 59.72 kB / 0.5194 GB, free: 4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1347, allocations: 55.64 kB / 0.5194 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.1347, allocations: 4 kB / 0.5194 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.1349, allocations: 47.98 kB / 0.5195 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.135, allocations: 31.86 kB / 0.5195 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.639e-05/0.1351, allocations: 51.66 kB / 0.5195 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.1355, allocations: 143.3 kB / 0.5197 GB, free: 3.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1355, allocations: 4 kB / 0.5197 GB, free: 3.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1355, allocations: 0 / 0.5197 GB, free: 3.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1355, allocations: 0 / 0.5197 GB, free: 3.668 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008874/0.1364, allocations: 403.1 kB / 0.5201 GB, free: 3.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.1364, allocations: 8.031 kB / 0.5201 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.899e-05/0.1365, allocations: 46.73 kB / 0.5201 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.1365, allocations: 20.84 kB / 0.5201 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.137, allocations: 171.2 kB / 0.5203 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.137, allocations: 4.375 kB / 0.5203 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.137, allocations: 15.89 kB / 0.5203 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.1373, allocations: 100.2 kB / 0.5204 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1373, allocations: 4 kB / 0.5204 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.1374, allocations: 4 kB / 0.5204 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1374, allocations: 0 / 0.5204 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1375, allocations: 51.91 kB / 0.5205 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/0.1383, allocations: 488.1 kB / 0.5209 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.1386, allocations: 82.66 kB / 0.521 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.1387, allocations: 32.84 kB / 0.5211 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1388, allocations: 0 / 0.5211 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.139, allocations: 95.23 kB / 0.5211 GB, free: 2.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.139, allocations: 0 / 0.5211 GB, free: 2.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004682/0.1395, allocations: 145.4 kB / 0.5213 GB, free: 1.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.1395, allocations: 55.41 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1397, allocations: 187.6 kB / 0.5215 GB, free: 1.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1398, allocations: 29.7 kB / 0.5215 GB, free: 1.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.1399, allocations: 108.1 kB / 0.5216 GB, free: 1.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.14, allocations: 39.73 kB / 0.5217 GB, free: 1.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.1401, allocations: 25.72 kB / 0.5217 GB, free: 1.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1402, allocations: 322.8 kB / 0.522 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1403, allocations: 31.97 kB / 0.522 GB, free: 1.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1404, allocations: 60.28 kB / 0.5221 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.1407, allocations: 104.1 kB / 0.5222 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1407, allocations: 0 / 0.5222 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003138/0.141, allocations: 141.5 kB / 0.5223 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.141, allocations: 8 kB / 0.5223 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.141, allocations: 0 / 0.5223 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.141, allocations: 8.406 kB / 0.5224 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1411, allocations: 19.98 kB / 0.5224 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1411, allocations: 11.92 kB / 0.5224 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.802e-05/0.1412, allocations: 11.89 kB / 0.5224 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1412, allocations: 8 kB / 0.5224 GB, free: 0.6328 MB / 398.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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001275/0.1414, allocations: 133.8 kB / 0.5225 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.1414, allocations: 15.91 kB / 0.5225 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.1417, allocations: 127 kB / 0.5227 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1417, allocations: 7.938 kB / 0.5227 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1417, allocations: 0 / 0.5227 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1417, allocations: 0 / 0.5227 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.1419, allocations: 180.7 kB / 0.5229 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1419, allocations: 0 / 0.5229 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.579e-05/0.142, allocations: 11.98 kB / 0.5229 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.142, allocations: 4 kB / 0.5229 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.142, allocations: 8 kB / 0.5229 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.142, allocations: 3.938 kB / 0.5229 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.142, allocations: 0 / 0.5229 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.1425, allocations: 181 kB / 0.523 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.1426, allocations: 19.92 kB / 0.5231 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.1426, allocations: 8 kB / 0.5231 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.336e-05/0.1426, allocations: 11.81 kB / 0.5231 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.1427, allocations: 3.984 kB / 0.5231 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1427, allocations: 4 kB / 0.5231 GB, free: 15.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.1428, allocations: 145.1 kB / 0.5232 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1428, allocations: 0 / 0.5232 GB, free: 15.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1431, allocations: 27.94 kB / 0.5233 GB, free: 15.68 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: 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 (9): * Single equations (assignments): 7 * 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.002231/0.1453, allocations: 1.014 MB / 0.5243 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.1456, allocations: 87.7 kB / 0.5243 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1456, allocations: 0 / 0.5243 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.1457, allocations: 31.98 kB / 0.5244 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.146, allocations: 40.22 kB / 0.5244 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.1484, allocations: 1.74 MB / 0.5261 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.1488, allocations: 0.7084 MB / 0.5268 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.935e-05/0.1488, allocations: 21.42 kB / 0.5268 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.675e-05/0.1489, allocations: 39.42 kB / 0.5269 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1489, allocations: 0 / 0.5269 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/0.1849, allocations: 3.969 MB / 0.5307 GB, free: 7.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.53, allocations: 7.938 kB / 0.5307 GB, free: 7.824 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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: 14.709464935120195]