Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.001291/0.001291, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.002076/0.002076, allocations: 214.1 kB / 23 MB, free: 5.008 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.461/1.461, allocations: 207.6 MB / 233.8 MB, free: 10 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.2199/0.2199, allocations: 44.24 MB / 330.3 MB, free: 9.52 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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.002172/0.002172, allocations: 75.89 kB / 467.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1257, allocations: 61.05 MB / 0.5162 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003556/0.1293, allocations: 1.863 MB / 0.518 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.131, allocations: 0.917 MB / 0.5189 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.614e-05/0.1311, allocations: 7.938 kB / 0.5189 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.1317, allocations: 255.3 kB / 0.5192 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.132, allocations: 191.4 kB / 0.5194 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.1324, allocations: 147.7 kB / 0.5195 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.1327, allocations: 247.2 kB / 0.5197 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1329, allocations: 21.72 kB / 0.5198 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1331, allocations: 131.5 kB / 0.5199 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.1333, allocations: 195.5 kB / 0.5201 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.1333, allocations: 8 kB / 0.5201 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1335, allocations: 47.98 kB / 0.5201 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.319e-05/0.1336, allocations: 63.7 kB / 0.5202 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.953e-05/0.1337, allocations: 91.23 kB / 0.5203 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.134, allocations: 226.9 kB / 0.5205 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.134, allocations: 0 / 0.5205 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.134, allocations: 0 / 0.5205 GB, free: 2.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.134, allocations: 0 / 0.5205 GB, free: 2.855 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000828/0.1348, allocations: 0.4886 MB / 0.521 GB, free: 2.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1349, allocations: 12.03 kB / 0.521 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.1349, allocations: 38.73 kB / 0.521 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.135, allocations: 32.75 kB / 0.521 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.1354, allocations: 226.5 kB / 0.5213 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1354, allocations: 384 / 0.5213 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.1355, allocations: 11.94 kB / 0.5213 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.1357, allocations: 107.2 kB / 0.5214 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1357, allocations: 0 / 0.5214 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1358, allocations: 0 / 0.5214 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1358, allocations: 4 kB / 0.5214 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.1359, allocations: 39.97 kB / 0.5214 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.1365, allocations: 431.9 kB / 0.5218 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.1368, allocations: 109.3 kB / 0.5219 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.512e-05/0.1369, allocations: 37.7 kB / 0.522 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.137, allocations: 4 kB / 0.522 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.1372, allocations: 117 kB / 0.5221 GB, free: 1.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.1372, allocations: 3.938 kB / 0.5221 GB, free: 1.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009124/0.1381, allocations: 389.1 kB / 0.5225 GB, free: 0.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.1382, allocations: 81.05 kB / 0.5225 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.1387, allocations: 481.7 kB / 0.523 GB, free: 92 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1387, allocations: 25.7 kB / 0.523 GB, free: 60 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.1388, allocations: 172.3 kB / 0.5232 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/0.1389, allocations: 51.62 kB / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.139, allocations: 33.72 kB / 0.5233 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1391, allocations: 350.8 kB / 0.5236 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.91e-05/0.1392, allocations: 35.98 kB / 0.5236 GB, free: 15.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.1393, allocations: 71.41 kB / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.1396, allocations: 127.5 kB / 0.5238 GB, free: 15.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1396, allocations: 0 / 0.5238 GB, free: 15.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003303/0.1399, allocations: 181.4 kB / 0.524 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1399, allocations: 4 kB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1399, allocations: 7.984 kB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1399, allocations: 0 / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.1401, allocations: 39.86 kB / 0.524 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1401, allocations: 8 kB / 0.5241 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.1402, allocations: 8 kB / 0.5241 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1402, allocations: 11.94 kB / 0.5241 GB, free: 14.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001751/0.1404, allocations: 169.7 kB / 0.5242 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.1404, allocations: 35.8 kB / 0.5243 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.1409, allocations: 212.4 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1409, allocations: 7.922 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1409, allocations: 8 kB / 0.5245 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1409, allocations: 0 / 0.5245 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000899/0.1418, allocations: 0.5921 MB / 0.5251 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1418, allocations: 0 / 0.5251 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.1418, allocations: 19.94 kB / 0.5251 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1418, allocations: 0 / 0.5251 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.1419, allocations: 11.98 kB / 0.5251 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1419, allocations: 8.062 kB / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1419, allocations: 0 / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.1424, allocations: 372.1 kB / 0.5255 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.1424, allocations: 23.81 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.1424, allocations: 12 kB / 0.5255 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.1426, allocations: 7.984 kB / 0.5255 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.1426, allocations: 11.98 kB / 0.5255 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.1427, allocations: 8 kB / 0.5255 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003695/0.143, allocations: 363.1 kB / 0.5259 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.143, allocations: 0 / 0.5259 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.1434, allocations: 39.94 kB / 0.5259 GB, free: 12.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.002364/0.1457, allocations: 1.266 MB / 0.5271 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.146, allocations: 112 kB / 0.5272 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.146, allocations: 0 / 0.5272 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.1462, allocations: 56 kB / 0.5273 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.1468, allocations: 65.58 kB / 0.5274 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.1501, allocations: 2.737 MB / 0.53 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.1505, allocations: 0.7749 MB / 0.5308 GB, free: 7.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.648e-05/0.1506, allocations: 30.23 kB / 0.5308 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.1507, allocations: 87.41 kB / 0.5309 GB, free: 7.719 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1507, allocations: 4 kB / 0.5309 GB, free: 7.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.1834, allocations: 6.219 MB / 0.537 GB, free: 1.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.22, allocations: 4.312 kB / 0.537 GB, free: 1.391 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv failed! Error: Could not read variable t_new_2.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv. Warning: Get data of variable t_new_2.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv failed! Error: Could not read variable d_t_new_2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv. Warning: Get data of variable d_t_new_2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.50910293799825]