Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 109 kB / 17.06 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002437/0.002438, allocations: 200 kB / 18 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.008/1.008, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.39 kB / 0.5704 GB, free: 39.98 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1345, allocations: 80.69 MB / 0.6492 GB, free: 13.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002607/0.1372, allocations: 1.396 MB / 0.6506 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1382, allocations: 0.5714 MB / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.1383, allocations: 0 / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.1384, allocations: 19.91 kB / 0.6511 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.1387, allocations: 63.8 kB / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.139, allocations: 79.78 kB / 0.6513 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1391, allocations: 91.81 kB / 0.6514 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/0.1392, allocations: 0 / 0.6514 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1393, allocations: 51.83 kB / 0.6514 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1394, allocations: 47.83 kB / 0.6515 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.1394, allocations: 8 kB / 0.6515 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1396, allocations: 75.92 kB / 0.6515 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.1397, allocations: 63.81 kB / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.1398, allocations: 51.61 kB / 0.6516 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.14, allocations: 147.6 kB / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.14, allocations: 0 / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.533e-06/0.14, allocations: 0 / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1401, allocations: 0 / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005564/0.1406, allocations: 488 kB / 0.6523 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1407, allocations: 19.89 kB / 0.6523 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.1407, allocations: 46.67 kB / 0.6523 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.1408, allocations: 16.84 kB / 0.6523 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.1412, allocations: 309 kB / 0.6526 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1412, allocations: 384 / 0.6526 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.1412, allocations: 4.375 kB / 0.6526 GB, free: 9.938 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1414, allocations: 57.8 kB / 0.6527 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1414, allocations: 0 / 0.6527 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1414, allocations: 4 kB / 0.6527 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1414, allocations: 4 kB / 0.6527 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.727e-05/0.1415, allocations: 23.92 kB / 0.6527 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.1417, allocations: 201.6 kB / 0.6529 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 7.19e-05/0.1418, allocations: 46.5 kB / 0.653 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.1418, allocations: 28.86 kB / 0.653 GB, free: 9.512 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.1418, allocations: 0 / 0.653 GB, free: 9.512 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.142, allocations: 101.1 kB / 0.6531 GB, free: 9.395 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.142, allocations: 4 kB / 0.6531 GB, free: 9.391 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003097/0.1423, allocations: 167.2 kB / 0.6532 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.1424, allocations: 85.09 kB / 0.6533 GB, free: 9.113 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1426, allocations: 232.2 kB / 0.6535 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1426, allocations: 25.7 kB / 0.6536 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.1427, allocations: 120.1 kB / 0.6537 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.1428, allocations: 19.98 kB / 0.6537 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.1428, allocations: 33.7 kB / 0.6537 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.143, allocations: 326.8 kB / 0.654 GB, free: 8.336 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.143, allocations: 15.98 kB / 0.6541 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.143, allocations: 20 kB / 0.6541 GB, free: 8.301 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1432, allocations: 104.2 kB / 0.6542 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1432, allocations: 0 / 0.6542 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001983/0.1434, allocations: 155.2 kB / 0.6543 GB, free: 8.02 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.1434, allocations: 37.69 kB / 0.6544 GB, free: 7.977 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1434, allocations: 0 / 0.6544 GB, free: 7.977 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1434, allocations: 4 kB / 0.6544 GB, free: 7.973 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.892e-05/0.1435, allocations: 7.938 kB / 0.6544 GB, free: 7.965 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1435, allocations: 0 / 0.6544 GB, free: 7.965 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.1436, allocations: 7.984 kB / 0.6544 GB, free: 7.957 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.1436, allocations: 8.094 kB / 0.6544 GB, free: 7.949 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001492/0.1438, allocations: 175.5 kB / 0.6546 GB, free: 7.762 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.1438, allocations: 23.8 kB / 0.6546 GB, free: 7.738 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.1438, allocations: 21.39 kB / 0.6546 GB, free: 7.715 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1438, allocations: 4 kB / 0.6546 GB, free: 7.711 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1439, allocations: 4 kB / 0.6546 GB, free: 7.707 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1439, allocations: 0 / 0.6546 GB, free: 7.707 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.144, allocations: 213.5 kB / 0.6548 GB, free: 7.449 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1441, allocations: 3.938 kB / 0.6548 GB, free: 7.445 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.1441, allocations: 4 kB / 0.6548 GB, free: 7.441 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1441, allocations: 0 / 0.6548 GB, free: 7.441 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1441, allocations: 4 kB / 0.6548 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.1441, allocations: 4 kB / 0.6548 GB, free: 7.434 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1441, allocations: 0 / 0.6548 GB, free: 7.434 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.1444, allocations: 198.7 kB / 0.655 GB, free: 7.215 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 8.789e-05/0.1445, allocations: 108.9 kB / 0.6551 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1445, allocations: 7.938 kB / 0.6551 GB, free: 7.082 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.043e-05/0.1446, allocations: 3.984 kB / 0.6551 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.1446, allocations: 8 kB / 0.6551 GB, free: 7.07 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1446, allocations: 8 kB / 0.6551 GB, free: 7.062 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001518/0.1448, allocations: 173.6 kB / 0.6553 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1448, allocations: 0 / 0.6553 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002285/0.145, allocations: 35.94 kB / 0.6553 GB, free: 6.859 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0006044/0.1456, allocations: 0.7631 MB / 0.6561 GB, free: 6.066 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.1458, allocations: 151.3 kB / 0.6562 GB, free: 5.906 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1459, allocations: 0 / 0.6562 GB, free: 5.906 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.146, allocations: 111.4 kB / 0.6563 GB, free: 5.785 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.1462, allocations: 16.67 kB / 0.6564 GB, free: 5.766 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.1482, allocations: 1.943 MB / 0.6583 GB, free: 3.73 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.1485, allocations: 0.7278 MB / 0.659 GB, free: 2.977 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 6.551e-05/0.1486, allocations: 21.41 kB / 0.659 GB, free: 2.957 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.1487, allocations: 47.42 kB / 0.659 GB, free: 2.91 MB / 0.4983 GB Notification: Performance of SimCode: time 3.71e-07/0.1487, allocations: 0 / 0.659 GB, free: 2.91 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2533/0.402, allocations: 3.479 MB / 0.6624 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.628/9.03, allocations: 3.75 kB / 0.6624 GB, free: 15.53 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches