Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",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.001253/0.001253, allocations: 109.7 kB / 17.06 MB, free: 5.996 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.001387/0.001387, allocations: 193.4 kB / 18 MB, free: 5.074 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.391/1.391, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9838/0.9838, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 58.19 kB / 0.5704 GB, free: 40.03 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1216, allocations: 80.7 MB / 0.6492 GB, free: 13.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002724/0.1243, allocations: 1.558 MB / 0.6507 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1257, allocations: 0.8846 MB / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.1258, allocations: 0 / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.1261, allocations: 55.73 kB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.1264, allocations: 107.6 kB / 0.6518 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1267, allocations: 113.7 kB / 0.6519 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.1268, allocations: 119.7 kB / 0.652 GB, free: 10.74 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.1269, allocations: 15.98 kB / 0.652 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.127, allocations: 71.67 kB / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1272, allocations: 51.78 kB / 0.6521 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.1272, allocations: 4 kB / 0.6521 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.114e-05/0.1273, allocations: 31.98 kB / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.1274, allocations: 75.73 kB / 0.6522 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.873e-05/0.1275, allocations: 59.53 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1277, allocations: 151.5 kB / 0.6524 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1277, allocations: 0 / 0.6524 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1277, allocations: 0 / 0.6524 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1277, allocations: 4 kB / 0.6524 GB, free: 10.28 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006007/0.1283, allocations: 498 kB / 0.6529 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1284, allocations: 12.03 kB / 0.6529 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.1284, allocations: 30.75 kB / 0.6529 GB, free: 9.695 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.1285, allocations: 24.78 kB / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.1289, allocations: 339.6 kB / 0.6533 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1289, allocations: 384 / 0.6533 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1289, allocations: 7.875 kB / 0.6533 GB, free: 9.293 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1291, allocations: 61.67 kB / 0.6534 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1291, allocations: 0 / 0.6534 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.1291, allocations: 4 kB / 0.6534 GB, free: 9.223 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.1291, allocations: 3.938 kB / 0.6534 GB, free: 9.219 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.528e-05/0.1292, allocations: 15.98 kB / 0.6534 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.1294, allocations: 213.6 kB / 0.6536 GB, free: 8.945 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1296, allocations: 54.5 kB / 0.6536 GB, free: 8.883 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/0.1296, allocations: 20.84 kB / 0.6537 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1297, allocations: 7.984 kB / 0.6537 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.1298, allocations: 67.39 kB / 0.6537 GB, free: 8.773 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1298, allocations: 0 / 0.6537 GB, free: 8.773 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0002747/0.1301, allocations: 109.5 kB / 0.6538 GB, free: 8.66 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1302, allocations: 51.41 kB / 0.6539 GB, free: 8.598 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.1304, allocations: 278.7 kB / 0.6541 GB, free: 8.312 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1305, allocations: 33.7 kB / 0.6542 GB, free: 8.273 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.1306, allocations: 132.1 kB / 0.6543 GB, free: 8.141 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1306, allocations: 15.94 kB / 0.6543 GB, free: 8.125 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.1306, allocations: 21.7 kB / 0.6543 GB, free: 8.098 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1308, allocations: 330.8 kB / 0.6547 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.1308, allocations: 15.98 kB / 0.6547 GB, free: 7.75 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.905e-05/0.1309, allocations: 29.69 kB / 0.6547 GB, free: 7.715 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.131, allocations: 49.66 kB / 0.6547 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.131, allocations: 3.938 kB / 0.6547 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001633/0.1312, allocations: 89.53 kB / 0.6548 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1312, allocations: 10.66 kB / 0.6548 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1312, allocations: 0 / 0.6548 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1312, allocations: 0 / 0.6548 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.1313, allocations: 11.94 kB / 0.6549 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1313, allocations: 4 kB / 0.6549 GB, free: 7.539 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.1314, allocations: 19.91 kB / 0.6549 GB, free: 7.52 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1314, allocations: 4 kB / 0.6549 GB, free: 7.516 MB / 0.4983 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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.0001267/0.1315, allocations: 137.8 kB / 0.655 GB, free: 7.371 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.1316, allocations: 27.84 kB / 0.655 GB, free: 7.344 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.1316, allocations: 21.31 kB / 0.6551 GB, free: 7.32 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1316, allocations: 7.938 kB / 0.6551 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1316, allocations: 3.984 kB / 0.6551 GB, free: 7.309 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1317, allocations: 0 / 0.6551 GB, free: 7.309 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.1318, allocations: 213.9 kB / 0.6553 GB, free: 7.051 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1319, allocations: 8 kB / 0.6553 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.1319, allocations: 4 kB / 0.6553 GB, free: 7.039 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1319, allocations: 0 / 0.6553 GB, free: 7.039 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1319, allocations: 4 kB / 0.6553 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1319, allocations: 0 / 0.6553 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1319, allocations: 0 / 0.6553 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.1321, allocations: 124.8 kB / 0.6554 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.1322, allocations: 104.9 kB / 0.6555 GB, free: 6.773 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1322, allocations: 4 kB / 0.6555 GB, free: 6.77 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.1323, allocations: 8 kB / 0.6555 GB, free: 6.762 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.1323, allocations: 0 / 0.6555 GB, free: 6.762 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1323, allocations: 4 kB / 0.6555 GB, free: 6.758 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001938/0.1325, allocations: 205.9 kB / 0.6557 GB, free: 6.559 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1325, allocations: 4 kB / 0.6557 GB, free: 6.555 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002194/0.1328, allocations: 19.94 kB / 0.6557 GB, free: 6.535 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.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.001765/0.1345, allocations: 0.9728 MB / 0.6567 GB, free: 5.695 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.1347, allocations: 39.98 kB / 0.6567 GB, free: 5.656 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1347, allocations: 0 / 0.6567 GB, free: 5.656 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.21e-05/0.1348, allocations: 23.92 kB / 0.6568 GB, free: 5.633 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.135, allocations: 28.88 kB / 0.6568 GB, free: 5.602 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.1371, allocations: 1.972 MB / 0.6587 GB, free: 3.531 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.1375, allocations: 0.7397 MB / 0.6594 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 9.76e-05/0.1376, allocations: 41.5 kB / 0.6595 GB, free: 2.727 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.1377, allocations: 67.41 kB / 0.6595 GB, free: 2.66 MB / 0.4983 GB Notification: Performance of SimCode: time 2.5e-07/0.1377, allocations: 0 / 0.6595 GB, free: 2.66 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2892/0.4269, allocations: 4.34 MB / 0.6638 GB, free: 14.45 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.012/9.439, allocations: 14.41 kB / 0.6638 GB, free: 14.45 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches