Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001582/0.001582, allocations: 117.6 kB / 18.5 MB, free: 4.582 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.002434/0.002434, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2404/0.2404, allocations: 44.91 MB / 349.6 MB, free: 1.73 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 66.64 kB / 491.9 MB, free: 30.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1365, allocations: 64.26 MB / 0.5431 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003332/0.1398, allocations: 1.668 MB / 0.5447 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1414, allocations: 0.8691 MB / 0.5456 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.1415, allocations: 3.938 kB / 0.5456 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.1418, allocations: 51.75 kB / 0.5456 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.142, allocations: 59.75 kB / 0.5457 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.1423, allocations: 103.6 kB / 0.5458 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1424, allocations: 95.67 kB / 0.5459 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.1425, allocations: 4 kB / 0.5459 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.149e-05/0.1426, allocations: 39.8 kB / 0.5459 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.861e-05/0.1426, allocations: 31.84 kB / 0.5459 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1427, allocations: 4 kB / 0.5459 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.1427, allocations: 27.98 kB / 0.546 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.1428, allocations: 23.91 kB / 0.546 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.1429, allocations: 43.62 kB / 0.546 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.1431, allocations: 123.7 kB / 0.5461 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1431, allocations: 0 / 0.5461 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1431, allocations: 0 / 0.5461 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1431, allocations: 0 / 0.5461 GB, free: 0.9961 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006363/0.1437, allocations: 434.6 kB / 0.5466 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1438, allocations: 12.03 kB / 0.5466 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.1438, allocations: 30.75 kB / 0.5466 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.1438, allocations: 12.89 kB / 0.5466 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.1442, allocations: 220.6 kB / 0.5468 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.1442, allocations: 12.31 kB / 0.5468 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.1442, allocations: 3.938 kB / 0.5468 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1444, allocations: 45.67 kB / 0.5469 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1444, allocations: 0 / 0.5469 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1444, allocations: 4 kB / 0.5469 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.1444, allocations: 4 kB / 0.5469 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.829e-05/0.1445, allocations: 15.98 kB / 0.5469 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.1447, allocations: 185.7 kB / 0.5471 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.1449, allocations: 58.5 kB / 0.5471 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.145, allocations: 20.84 kB / 0.5472 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.145, allocations: 4 kB / 0.5472 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.1452, allocations: 67.33 kB / 0.5472 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 3.617e-06/0.1452, allocations: 3.984 kB / 0.5472 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002782/0.1454, allocations: 97.58 kB / 0.5473 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.1455, allocations: 55.34 kB / 0.5474 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.1457, allocations: 258.5 kB / 0.5476 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1458, allocations: 33.7 kB / 0.5477 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.1458, allocations: 112.1 kB / 0.5478 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1459, allocations: 11.91 kB / 0.5478 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.1459, allocations: 21.7 kB / 0.5478 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1461, allocations: 326.8 kB / 0.5481 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.765e-05/0.1461, allocations: 15.94 kB / 0.5481 GB, free: 14.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.209e-05/0.1462, allocations: 37.7 kB / 0.5482 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1463, allocations: 45.7 kB / 0.5482 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1463, allocations: 3.938 kB / 0.5482 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001563/0.1465, allocations: 85.53 kB / 0.5483 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1465, allocations: 4 kB / 0.5483 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1465, allocations: 4 kB / 0.5483 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1465, allocations: 0 / 0.5483 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.1466, allocations: 11.98 kB / 0.5483 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1466, allocations: 3.938 kB / 0.5483 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.1466, allocations: 8.031 kB / 0.5483 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1466, allocations: 4 kB / 0.5483 GB, free: 14.52 MB / 414.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 (7): * Single equations (assignments): 7 * 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.000118/0.1467, allocations: 133.8 kB / 0.5484 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.1468, allocations: 15.91 kB / 0.5485 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.1468, allocations: 16.98 kB / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1468, allocations: 4 kB / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1468, allocations: 0 / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1468, allocations: 0 / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.147, allocations: 201.5 kB / 0.5487 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.147, allocations: 0 / 0.5487 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.147, allocations: 8.312 kB / 0.5487 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.147, allocations: 0 / 0.5487 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.147, allocations: 4 kB / 0.5487 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.147, allocations: 0 / 0.5487 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.147, allocations: 4 kB / 0.5487 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.1472, allocations: 120.9 kB / 0.5488 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.1473, allocations: 92.95 kB / 0.5489 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1473, allocations: 3.984 kB / 0.5489 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.556e-05/0.1474, allocations: 8 kB / 0.5489 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.1474, allocations: 0 / 0.5489 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1474, allocations: 8 kB / 0.5489 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.1476, allocations: 200 kB / 0.5491 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1476, allocations: 0 / 0.5491 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002043/0.1478, allocations: 20 kB / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001899/0.1497, allocations: 0.9549 MB / 0.5501 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.1498, allocations: 31.98 kB / 0.5501 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1498, allocations: 0 / 0.5501 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.777e-05/0.1499, allocations: 19.98 kB / 0.5501 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.1502, allocations: 31.91 kB / 0.5501 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.1519, allocations: 1.649 MB / 0.5517 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.1523, allocations: 0.7253 MB / 0.5525 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.738e-05/0.1523, allocations: 8.547 kB / 0.5525 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.1524, allocations: 35.44 kB / 0.5525 GB, free: 10.16 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1524, allocations: 3.938 kB / 0.5525 GB, free: 10.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.1772, allocations: 3.438 MB / 0.5559 GB, free: 6.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/7.944, allocations: 4.062 kB / 0.5559 GB, free: 6.754 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.124151643831283]