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.00155/0.00155, allocations: 98.92 kB / 16.5 MB, free: 6.641 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.001884/0.001884, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.474/1.474, allocations: 222.9 MB / 241.1 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.323/1.323, allocations: 119.3 MB / 410.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 60.14 kB / 0.4904 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7511/0.7524, allocations: 80.69 MB / 0.5692 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003179/0.7557, allocations: 1.612 MB / 0.5707 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.7571, allocations: 0.8729 MB / 0.5716 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-05/0.7572, allocations: 0 / 0.5716 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.7575, allocations: 65.8 kB / 0.5716 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.7579, allocations: 92.78 kB / 0.5717 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.7581, allocations: 98.25 kB / 0.5718 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.7583, allocations: 117.3 kB / 0.5719 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.74e-05/0.7584, allocations: 13.52 kB / 0.572 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.7585, allocations: 57.86 kB / 0.572 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.7587, allocations: 55.05 kB / 0.5721 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.7587, allocations: 2.344 kB / 0.5721 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.7588, allocations: 34.52 kB / 0.5721 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.759, allocations: 72.45 kB / 0.5722 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.989e-05/0.759, allocations: 55.86 kB / 0.5722 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.7593, allocations: 153.7 kB / 0.5724 GB, free: 41.08 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7593, allocations: 0 / 0.5724 GB, free: 41.08 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.02e-07/0.7593, allocations: 1.562 kB / 0.5724 GB, free: 41.08 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.7593, allocations: 0 / 0.5724 GB, free: 41.08 MB / 462.3 MB 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.0006157/0.7599, allocations: 493.3 kB / 0.5728 GB, free: 40.6 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.76, allocations: 9.406 kB / 0.5728 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.76, allocations: 34.75 kB / 0.5729 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.76, allocations: 21.91 kB / 0.5729 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.7604, allocations: 329.1 kB / 0.5732 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.7605, allocations: 1.25 kB / 0.5732 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.7605, allocations: 6.312 kB / 0.5732 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.7606, allocations: 46.61 kB / 0.5733 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.7606, allocations: 1.25 kB / 0.5733 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.7606, allocations: 3.938 kB / 0.5733 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.7606, allocations: 5.312 kB / 0.5733 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.896e-05/0.7607, allocations: 15.56 kB / 0.5733 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.7609, allocations: 215.1 kB / 0.5735 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.7611, allocations: 55.67 kB / 0.5735 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.7611, allocations: 17.11 kB / 0.5736 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.7612, allocations: 4 kB / 0.5736 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.7614, allocations: 69.98 kB / 0.5736 GB, free: 39.82 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 2.464e-06/0.7614, allocations: 0 / 0.5736 GB, free: 39.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002816/0.7617, allocations: 106.8 kB / 0.5737 GB, free: 39.75 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.7617, allocations: 52.53 kB / 0.5738 GB, free: 39.69 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.762, allocations: 279.7 kB / 0.5741 GB, free: 39.51 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.762, allocations: 25.7 kB / 0.5741 GB, free: 39.48 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.7621, allocations: 142.6 kB / 0.5742 GB, free: 39.35 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.7621, allocations: 15.36 kB / 0.5742 GB, free: 39.34 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.7622, allocations: 18.66 kB / 0.5742 GB, free: 39.32 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.7623, allocations: 337 kB / 0.5746 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.7623, allocations: 16.05 kB / 0.5746 GB, free: 38.98 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.766e-05/0.7624, allocations: 23.66 kB / 0.5746 GB, free: 38.96 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.636e-05/0.7625, allocations: 55.61 kB / 0.5747 GB, free: 38.91 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7625, allocations: 3.938 kB / 0.5747 GB, free: 38.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001659/0.7627, allocations: 91.88 kB / 0.5747 GB, free: 38.85 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.7627, allocations: 4.688 kB / 0.5748 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7627, allocations: 0.9375 kB / 0.5748 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.7627, allocations: 5.062 kB / 0.5748 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.7628, allocations: 13.33 kB / 0.5748 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.7629, allocations: 1.031 kB / 0.5748 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.7629, allocations: 1.938 kB / 0.5748 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.7629, allocations: 6.156 kB / 0.5748 GB, free: 38.84 MB / 462.3 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.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.0001342/0.7631, allocations: 148.6 kB / 0.5749 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.7631, allocations: 21.34 kB / 0.5749 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.7632, allocations: 27.45 kB / 0.575 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.7632, allocations: 1.094 kB / 0.575 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.7632, allocations: 1.281 kB / 0.575 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.7632, allocations: 0 / 0.575 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.7634, allocations: 216 kB / 0.5752 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7634, allocations: 0 / 0.5752 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.7634, allocations: 11.5 kB / 0.5752 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.7634, allocations: 1.594 kB / 0.5752 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.7635, allocations: 3.984 kB / 0.5752 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.7635, allocations: 1.469 kB / 0.5752 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7635, allocations: 0 / 0.5752 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.7637, allocations: 122.4 kB / 0.5753 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-05/0.7638, allocations: 98.31 kB / 0.5754 GB, free: 38.22 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.7638, allocations: 1.062 kB / 0.5754 GB, free: 38.22 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.262e-05/0.7639, allocations: 9.797 kB / 0.5754 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.7639, allocations: 2.094 kB / 0.5754 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.7639, allocations: 6.688 kB / 0.5754 GB, free: 38.21 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0002372/0.7642, allocations: 205.4 kB / 0.5756 GB, free: 38.07 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7642, allocations: 0 / 0.5756 GB, free: 38.07 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002396/0.7644, allocations: 18.44 kB / 0.5756 GB, free: 38.07 MB / 462.3 MB 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.001512/0.766, allocations: 0.9685 MB / 0.5766 GB, free: 37.32 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.7662, allocations: 43.48 kB / 0.5766 GB, free: 37.3 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7662, allocations: 0 / 0.5766 GB, free: 37.3 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.7663, allocations: 20.3 kB / 0.5766 GB, free: 37.29 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.7666, allocations: 40.77 kB / 0.5767 GB, free: 37.27 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.7689, allocations: 2.015 MB / 0.5786 GB, free: 35.71 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.7692, allocations: 0.7334 MB / 0.5794 GB, free: 34.99 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.7693, allocations: 49.3 kB / 0.5794 GB, free: 34.96 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.7694, allocations: 57.58 kB / 0.5795 GB, free: 34.92 MB / 462.3 MB Notification: Performance of SimCode: time 4.81e-07/0.7694, allocations: 0 / 0.5795 GB, free: 34.92 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.7854, allocations: 4.05 MB / 0.5834 GB, free: 32.95 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.7857, allocations: 267.1 kB / 0.5837 GB, free: 32.68 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.706, allocations: 3.938 kB / 0.5837 GB, free: 32.68 MB / 462.3 MB (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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches