Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001481/0.001481, allocations: 119 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.001857/0.001857, 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.463/1.463, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.2307/0.2307, allocations: 44.91 MB / 349.6 MB, free: 1.734 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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 64.52 kB / 491.9 MB, free: 30.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1428, allocations: 64.26 MB / 0.5431 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00396/0.1468, allocations: 1.713 MB / 0.5448 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.1493, allocations: 1.499 MB / 0.5462 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.1493, allocations: 0 / 0.5462 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.1497, allocations: 39.83 kB / 0.5463 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.1499, allocations: 55.7 kB / 0.5463 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1502, allocations: 107.6 kB / 0.5464 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1504, allocations: 107.6 kB / 0.5465 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1505, allocations: 12.5 kB / 0.5465 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.1506, allocations: 39.8 kB / 0.5466 GB, free: 464 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1508, allocations: 39.83 kB / 0.5466 GB, free: 424 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1508, allocations: 8 kB / 0.5466 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.1509, allocations: 63.89 kB / 0.5467 GB, free: 352 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.151, allocations: 19.92 kB / 0.5467 GB, free: 332 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.151, allocations: 27.81 kB / 0.5467 GB, free: 304 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.1513, allocations: 123.5 kB / 0.5468 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1513, allocations: 0 / 0.5468 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1513, allocations: 0 / 0.5468 GB, free: 180 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1513, allocations: 4 kB / 0.5468 GB, free: 176 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006533/0.152, allocations: 406.8 kB / 0.5472 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.152, allocations: 11.97 kB / 0.5472 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.137e-05/0.1521, allocations: 34.73 kB / 0.5473 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1521, allocations: 12.83 kB / 0.5473 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.1524, allocations: 212.2 kB / 0.5475 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1525, allocations: 384 / 0.5475 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.1525, allocations: 7.938 kB / 0.5475 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1527, allocations: 67.39 kB / 0.5476 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1527, allocations: 4 kB / 0.5476 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1527, allocations: 0 / 0.5476 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1527, allocations: 3.984 kB / 0.5476 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.09e-05/0.1528, allocations: 23.92 kB / 0.5476 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.1532, allocations: 276.9 kB / 0.5479 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.1534, allocations: 62.67 kB / 0.5479 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/0.1535, allocations: 16.86 kB / 0.5479 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.1535, allocations: 0 / 0.5479 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.1536, allocations: 67.33 kB / 0.548 GB, free: 14.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1536, allocations: 4 kB / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005562/0.1542, allocations: 177.3 kB / 0.5482 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.1543, allocations: 81.11 kB / 0.5482 GB, free: 14.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.1544, allocations: 155.6 kB / 0.5484 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1545, allocations: 29.7 kB / 0.5484 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.1545, allocations: 96.12 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.1546, allocations: 19.86 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.1546, allocations: 17.72 kB / 0.5486 GB, free: 14.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1548, allocations: 326.8 kB / 0.5489 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.1548, allocations: 23.98 kB / 0.5489 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.1549, allocations: 42.88 kB / 0.5489 GB, free: 13.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.155, allocations: 65.64 kB / 0.549 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.155, allocations: 0 / 0.549 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001975/0.1552, allocations: 97.7 kB / 0.5491 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1552, allocations: 12.06 kB / 0.5491 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1552, allocations: 3.938 kB / 0.5491 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1552, allocations: 0 / 0.5491 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/0.1553, allocations: 15.98 kB / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1553, allocations: 7.938 kB / 0.5491 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.1554, allocations: 7.938 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1554, allocations: 4 kB / 0.5491 GB, free: 13.57 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 (10): * Single equations (assignments): 10 * 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.0001221/0.1555, allocations: 117.8 kB / 0.5492 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.1555, allocations: 15.91 kB / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.505e-05/0.1556, allocations: 12.72 kB / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1556, allocations: 4 kB / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1556, allocations: 0 / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1556, allocations: 3.938 kB / 0.5493 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.1561, allocations: 395.2 kB / 0.5497 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1561, allocations: 0 / 0.5497 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.1561, allocations: 11.94 kB / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1562, allocations: 3.938 kB / 0.5497 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1562, allocations: 8.031 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1562, allocations: 0 / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1562, allocations: 3.984 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1564, allocations: 200.3 kB / 0.5499 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.1565, allocations: 85.06 kB / 0.55 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.1565, allocations: 7.938 kB / 0.55 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.1566, allocations: 8 kB / 0.55 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.1566, allocations: 3.984 kB / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1566, allocations: 4 kB / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1568, allocations: 121.5 kB / 0.5501 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1568, allocations: 3.938 kB / 0.5501 GB, free: 12.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.157, allocations: 27.94 kB / 0.5501 GB, free: 12.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (8): * Single equations (assignments): 6 * 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.002347/0.1594, allocations: 1.146 MB / 0.5512 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.1596, allocations: 59.89 kB / 0.5513 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1596, allocations: 0 / 0.5513 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.646e-05/0.1597, allocations: 23.94 kB / 0.5513 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1601, allocations: 35.62 kB / 0.5514 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.162, allocations: 1.547 MB / 0.5529 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.1623, allocations: 0.6962 MB / 0.5535 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.999e-05/0.1624, allocations: 25.33 kB / 0.5536 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.599e-05/0.1625, allocations: 35.41 kB / 0.5536 GB, free: 8.949 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1625, allocations: 0 / 0.5536 GB, free: 8.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.1905, allocations: 3.568 MB / 0.5571 GB, free: 5.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.119, allocations: 11.22 kB / 0.5571 GB, free: 5.363 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.235821487847716]