Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.001575/0.001575, allocations: 116.7 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.001739/0.001739, allocations: 189.2 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.482/1.482, allocations: 225.6 MB / 249.8 MB, free: 3.629 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.2287/0.2287, allocations: 44.92 MB / 349.6 MB, free: 1.758 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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 62.23 kB / 491.8 MB, free: 30.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1468, allocations: 64.26 MB / 0.5431 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003755/0.1505, allocations: 1.954 MB / 0.545 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1525, allocations: 1.056 MB / 0.546 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.1526, allocations: 3.938 kB / 0.546 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007847/0.1534, allocations: 199.4 kB / 0.5462 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.1538, allocations: 151.5 kB / 0.5463 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.1545, allocations: 227.1 kB / 0.5466 GB, free: 496 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003945/0.1549, allocations: 251.3 kB / 0.5468 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.155, allocations: 17.67 kB / 0.5468 GB, free: 228 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.1552, allocations: 111.5 kB / 0.5469 GB, free: 116 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1554, allocations: 111.6 kB / 0.547 GB, free: 4 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.1554, allocations: 15.98 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.1556, allocations: 59.84 kB / 0.5471 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1557, allocations: 59.83 kB / 0.5472 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1558, allocations: 83.41 kB / 0.5472 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.1562, allocations: 235.2 kB / 0.5475 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1562, allocations: 0 / 0.5475 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1562, allocations: 0 / 0.5475 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1562, allocations: 0 / 0.5475 GB, free: 15.56 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001013/0.1572, allocations: 0.5465 MB / 0.548 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1572, allocations: 8.031 kB / 0.548 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.246e-05/0.1573, allocations: 42.73 kB / 0.548 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.1574, allocations: 24.8 kB / 0.5481 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.1578, allocations: 287.7 kB / 0.5483 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1578, allocations: 4.375 kB / 0.5483 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1578, allocations: 15.92 kB / 0.5484 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.1581, allocations: 104.2 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1581, allocations: 4 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1581, allocations: 0 / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1581, allocations: 0 / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.1582, allocations: 39.92 kB / 0.5485 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.1588, allocations: 373.6 kB / 0.5489 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.1591, allocations: 121.2 kB / 0.549 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1592, allocations: 37.7 kB / 0.549 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.1592, allocations: 12 kB / 0.549 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/0.1595, allocations: 113 kB / 0.5491 GB, free: 13.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.1595, allocations: 0 / 0.5491 GB, free: 13.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005049/0.16, allocations: 177.4 kB / 0.5493 GB, free: 13.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.1601, allocations: 106.8 kB / 0.5494 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.1605, allocations: 339 kB / 0.5497 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.1605, allocations: 25.7 kB / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1607, allocations: 136.1 kB / 0.5499 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.1607, allocations: 31.73 kB / 0.5499 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.1608, allocations: 33.7 kB / 0.5499 GB, free: 12.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1609, allocations: 342.8 kB / 0.5503 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.744e-05/0.161, allocations: 27.98 kB / 0.5503 GB, free: 12.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1612, allocations: 77.64 kB / 0.5504 GB, free: 12.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.1614, allocations: 99.34 kB / 0.5505 GB, free: 12.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1614, allocations: 0 / 0.5505 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003126/0.1617, allocations: 153.4 kB / 0.5506 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1617, allocations: 8 kB / 0.5506 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.1617, allocations: 0 / 0.5506 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.1617, allocations: 4 kB / 0.5506 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1619, allocations: 27.86 kB / 0.5506 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1619, allocations: 0 / 0.5506 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.894e-05/0.162, allocations: 19.86 kB / 0.5507 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.162, allocations: 8 kB / 0.5507 GB, free: 11.95 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001599/0.1621, allocations: 149.8 kB / 0.5508 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.1622, allocations: 27.81 kB / 0.5508 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.618e-05/0.1622, allocations: 25.73 kB / 0.5509 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1623, allocations: 4 kB / 0.5509 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1623, allocations: 0 / 0.5509 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.1623, allocations: 7.922 kB / 0.5509 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.1626, allocations: 249.6 kB / 0.5511 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1626, allocations: 0 / 0.5511 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.1626, allocations: 8.125 kB / 0.5511 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1626, allocations: 4 kB / 0.5511 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1626, allocations: 4 kB / 0.5511 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1626, allocations: 3.984 kB / 0.5511 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1626, allocations: 4 kB / 0.5511 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.163, allocations: 185.6 kB / 0.5513 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/0.1631, allocations: 100.9 kB / 0.5514 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.1631, allocations: 4 kB / 0.5514 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.1632, allocations: 15.98 kB / 0.5514 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.1632, allocations: 11.92 kB / 0.5514 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.1632, allocations: 4 kB / 0.5514 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002736/0.1635, allocations: 249.9 kB / 0.5517 GB, free: 10.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1635, allocations: 0 / 0.5517 GB, free: 10.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1638, allocations: 35.98 kB / 0.5517 GB, free: 10.77 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.002124/0.1659, allocations: 1.034 MB / 0.5527 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.1662, allocations: 83.89 kB / 0.5528 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1662, allocations: 0 / 0.5528 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1663, allocations: 47.91 kB / 0.5529 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.1667, allocations: 73.59 kB / 0.5529 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.1697, allocations: 2.28 MB / 0.5552 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.1701, allocations: 0.7514 MB / 0.5559 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.1702, allocations: 37.92 kB / 0.5559 GB, free: 6.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.1703, allocations: 63.42 kB / 0.556 GB, free: 6.418 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1703, allocations: 0 / 0.556 GB, free: 6.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.204, allocations: 5.668 MB / 0.5615 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.418, allocations: 3.797 kB / 0.5615 GB, free: 0.7969 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.570721835363656]