Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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.ScaledExperiments.TimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125",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.001603/0.001603, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001652/0.001652, allocations: 200 kB / 18.01 MB, free: 5.047 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.354/1.354, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9982/0.9982, allocations: 119.3 MB / 411.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 70.19 kB / 0.5704 GB, free: 40.01 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1225, allocations: 80.7 MB / 0.6492 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002417/0.1249, allocations: 1.405 MB / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009703/0.1259, allocations: 0.569 MB / 0.6512 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.126, allocations: 4 kB / 0.6512 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.1262, allocations: 119.8 kB / 0.6513 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.1265, allocations: 159.7 kB / 0.6514 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.1268, allocations: 83.72 kB / 0.6515 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.1272, allocations: 349.4 kB / 0.6518 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.21e-05/0.1272, allocations: 4 kB / 0.6518 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.1274, allocations: 169.7 kB / 0.652 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.1278, allocations: 287.7 kB / 0.6523 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/0.1278, allocations: 20 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.128, allocations: 95.92 kB / 0.6524 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0007086/0.1287, allocations: 0.6332 MB / 0.653 GB, free: 9.699 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.1291, allocations: 376.3 kB / 0.6534 GB, free: 9.328 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000835/0.1299, allocations: 0.8696 MB / 0.6542 GB, free: 8.453 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1299, allocations: 0 / 0.6542 GB, free: 8.453 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1299, allocations: 0 / 0.6542 GB, free: 8.453 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.1299, allocations: 0 / 0.6542 GB, free: 8.453 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.001795/0.1317, allocations: 1.623 MB / 0.6558 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1318, allocations: 15.89 kB / 0.6558 GB, free: 6.75 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.1318, allocations: 34.75 kB / 0.6559 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.132, allocations: 155.9 kB / 0.656 GB, free: 6.555 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/0.1345, allocations: 1.779 MB / 0.6577 GB, free: 4.73 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.1345, allocations: 384 / 0.6577 GB, free: 4.73 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.1346, allocations: 8.375 kB / 0.6577 GB, free: 4.723 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1347, allocations: 101.7 kB / 0.6578 GB, free: 4.617 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1348, allocations: 0 / 0.6578 GB, free: 4.617 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.1348, allocations: 8 kB / 0.6579 GB, free: 4.609 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1348, allocations: 4 kB / 0.6579 GB, free: 4.605 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-05/0.1349, allocations: 47.98 kB / 0.6579 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.1355, allocations: 0.5813 MB / 0.6585 GB, free: 3.93 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.1356, allocations: 50.58 kB / 0.6585 GB, free: 3.871 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.08e-05/0.1357, allocations: 44.89 kB / 0.6586 GB, free: 3.824 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.1357, allocations: 0 / 0.6586 GB, free: 3.824 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.1359, allocations: 148.9 kB / 0.6587 GB, free: 3.66 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.1359, allocations: 3.938 kB / 0.6587 GB, free: 3.656 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0005945/0.1365, allocations: 414.3 kB / 0.6591 GB, free: 3.238 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.1366, allocations: 81.11 kB / 0.6592 GB, free: 3.141 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.1385, allocations: 1.632 MB / 0.6608 GB, free: 1.512 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.1385, allocations: 29.7 kB / 0.6608 GB, free: 1.477 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/0.1391, allocations: 0.6295 MB / 0.6614 GB, free: 0.8438 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.1391, allocations: 23.89 kB / 0.6614 GB, free: 0.8203 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.049e-05/0.1392, allocations: 53.72 kB / 0.6615 GB, free: 0.7617 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1394, allocations: 306 kB / 0.6618 GB, free: 468 kB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.729e-05/0.1394, allocations: 35.92 kB / 0.6618 GB, free: 432 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.1395, allocations: 35.94 kB / 0.6618 GB, free: 396 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.1397, allocations: 132.2 kB / 0.662 GB, free: 248 kB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1397, allocations: 4 kB / 0.662 GB, free: 244 kB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004917/0.1402, allocations: 390.2 kB / 0.6624 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.1403, allocations: 33.7 kB / 0.6624 GB, free: 15.8 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1403, allocations: 0 / 0.6624 GB, free: 15.8 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1403, allocations: 4 kB / 0.6624 GB, free: 15.8 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.1404, allocations: 4 kB / 0.6624 GB, free: 15.8 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1404, allocations: 3.984 kB / 0.6624 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1405, allocations: 11.94 kB / 0.6624 GB, free: 15.78 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/0.1406, allocations: 56 kB / 0.6625 GB, free: 15.73 MB / 0.5139 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.0004942/0.1411, allocations: 456.8 kB / 0.6629 GB, free: 15.27 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.1412, allocations: 163 kB / 0.6631 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.1414, allocations: 170.8 kB / 0.6632 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1414, allocations: 4 kB / 0.6632 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1414, allocations: 4 kB / 0.6632 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1414, allocations: 0 / 0.6632 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006027/0.142, allocations: 0.632 MB / 0.6638 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1421, allocations: 0 / 0.6638 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.1421, allocations: 4 kB / 0.6638 GB, free: 14.24 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1421, allocations: 3.938 kB / 0.6638 GB, free: 14.24 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.1421, allocations: 19.98 kB / 0.6639 GB, free: 14.22 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1421, allocations: 4 kB / 0.6639 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1421, allocations: 3.938 kB / 0.6639 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.1427, allocations: 434.4 kB / 0.6643 GB, free: 13.76 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.1429, allocations: 220.2 kB / 0.6645 GB, free: 13.53 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.072e-05/0.143, allocations: 11.94 kB / 0.6645 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1431, allocations: 4 kB / 0.6645 GB, free: 13.51 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.1431, allocations: 8 kB / 0.6645 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.856e-05/0.1432, allocations: 59.98 kB / 0.6646 GB, free: 13.45 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.001364/0.1446, allocations: 1.143 MB / 0.6657 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1446, allocations: 0 / 0.6657 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003024/0.1449, allocations: 71.94 kB / 0.6658 GB, free: 12.24 MB / 0.5139 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.0009279/0.1458, allocations: 1.015 MB / 0.6668 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.1461, allocations: 171.4 kB / 0.6669 GB, free: 11.01 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1461, allocations: 0 / 0.6669 GB, free: 11.01 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1463, allocations: 127.4 kB / 0.667 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.1467, allocations: 122.4 kB / 0.6672 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.1575, allocations: 8.993 MB / 0.6759 GB, free: 1.574 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008969/0.1584, allocations: 1.192 MB / 0.6771 GB, free: 364 kB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.000614/0.159, allocations: 293.7 kB / 0.6774 GB, free: 64 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000516/0.1596, allocations: 487.4 kB / 0.6778 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of SimCode: time 5.81e-07/0.1596, allocations: 0 / 0.6778 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2342/0.3938, allocations: 21.07 MB / 0.6984 GB, free: 10.58 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.86, allocations: 17 kB / 0.6984 GB, free: 10.57 MB / 0.5452 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches