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.001148/0.001148, allocations: 109 kB / 16.92 MB, free: 5.789 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.002068/0.002068, allocations: 191.3 kB / 17.85 MB, free: 5.191 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.461/1.461, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.146/1.146, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.89 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5938/0.5952, allocations: 80.68 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002673/0.5979, allocations: 1.403 MB / 0.5712 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.599, allocations: 0.573 MB / 0.5718 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.5991, allocations: 1.5 kB / 0.5718 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.5994, allocations: 116.1 kB / 0.5719 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.5998, allocations: 170.4 kB / 0.5721 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.6001, allocations: 73.23 kB / 0.5721 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.6004, allocations: 346.6 kB / 0.5725 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.334e-05/0.6005, allocations: 10.75 kB / 0.5725 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.6007, allocations: 168.6 kB / 0.5726 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.601, allocations: 285.4 kB / 0.5729 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.6011, allocations: 19.03 kB / 0.5729 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.6013, allocations: 96.22 kB / 0.573 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0006746/0.6019, allocations: 0.625 MB / 0.5736 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.6022, allocations: 381.1 kB / 0.574 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0006148/0.6028, allocations: 0.8412 MB / 0.5748 GB, free: 40.08 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.6028, allocations: 0 / 0.5748 GB, free: 40.08 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.152e-06/0.6028, allocations: 0 / 0.5748 GB, free: 40.08 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.6028, allocations: 0 / 0.5748 GB, free: 40.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001452/0.6043, allocations: 1.571 MB / 0.5763 GB, free: 38.78 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.6044, allocations: 13.3 kB / 0.5763 GB, free: 38.78 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.6044, allocations: 36.56 kB / 0.5764 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.6046, allocations: 149.1 kB / 0.5765 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/0.6068, allocations: 1.747 MB / 0.5782 GB, free: 37.54 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.6069, allocations: 10.2 kB / 0.5782 GB, free: 37.53 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.6069, allocations: 5.906 kB / 0.5782 GB, free: 37.53 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.6071, allocations: 99.89 kB / 0.5783 GB, free: 37.47 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.6072, allocations: 0 / 0.5783 GB, free: 37.47 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.6072, allocations: 9.469 kB / 0.5784 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.6072, allocations: 0 / 0.5784 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.6073, allocations: 45.8 kB / 0.5784 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007183/0.608, allocations: 0.5805 MB / 0.579 GB, free: 37.02 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 9.967e-05/0.6081, allocations: 61.25 kB / 0.579 GB, free: 36.98 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/0.6082, allocations: 44.52 kB / 0.5791 GB, free: 36.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.6082, allocations: 0 / 0.5791 GB, free: 36.96 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.6085, allocations: 139.5 kB / 0.5792 GB, free: 36.85 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.6085, allocations: 0 / 0.5792 GB, free: 36.85 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0006116/0.6092, allocations: 414 kB / 0.5796 GB, free: 36.66 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.6092, allocations: 80.08 kB / 0.5797 GB, free: 36.57 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.6111, allocations: 1.641 MB / 0.5813 GB, free: 35.82 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.6111, allocations: 30.73 kB / 0.5813 GB, free: 35.79 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.6116, allocations: 0.6249 MB / 0.5819 GB, free: 35.25 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.6116, allocations: 19.38 kB / 0.5819 GB, free: 35.24 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.066e-05/0.6117, allocations: 51.8 kB / 0.582 GB, free: 35.21 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.6118, allocations: 307.2 kB / 0.5823 GB, free: 34.91 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-05/0.6119, allocations: 35.97 kB / 0.5823 GB, free: 34.9 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.6119, allocations: 35.92 kB / 0.5823 GB, free: 34.89 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.6121, allocations: 134.3 kB / 0.5825 GB, free: 34.79 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6121, allocations: 0.9062 kB / 0.5825 GB, free: 34.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004699/0.6126, allocations: 378 kB / 0.5828 GB, free: 34.62 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.6126, allocations: 40.19 kB / 0.5829 GB, free: 34.58 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.6126, allocations: 1.094 kB / 0.5829 GB, free: 34.58 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.6127, allocations: 0 / 0.5829 GB, free: 34.58 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.6128, allocations: 3.781 kB / 0.5829 GB, free: 34.58 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.6128, allocations: 4.938 kB / 0.5829 GB, free: 34.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.6129, allocations: 15.06 kB / 0.5829 GB, free: 34.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.68e-05/0.613, allocations: 57.06 kB / 0.5829 GB, free: 34.56 MB / 462.3 MB 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.0005247/0.6136, allocations: 456.3 kB / 0.5834 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.6138, allocations: 152.3 kB / 0.5835 GB, free: 34.22 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.614, allocations: 173.7 kB / 0.5837 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.614, allocations: 5.078 kB / 0.5837 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.614, allocations: 0 / 0.5837 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.614, allocations: 0 / 0.5837 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007647/0.6148, allocations: 0.6296 MB / 0.5843 GB, free: 33.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6148, allocations: 7.938 kB / 0.5843 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.6148, allocations: 3.125 kB / 0.5843 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.6148, allocations: 1.25 kB / 0.5843 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.6149, allocations: 13.66 kB / 0.5843 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6149, allocations: 1.094 kB / 0.5843 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6149, allocations: 0 / 0.5843 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000587/0.6155, allocations: 435.4 kB / 0.5848 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.6157, allocations: 209.8 kB / 0.585 GB, free: 33.28 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/0.6158, allocations: 19.22 kB / 0.585 GB, free: 33.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.6159, allocations: 6.438 kB / 0.585 GB, free: 33.27 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.6159, allocations: 6.172 kB / 0.585 GB, free: 33.26 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-05/0.616, allocations: 58.16 kB / 0.585 GB, free: 33.25 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001232/0.6172, allocations: 1.145 MB / 0.5862 GB, free: 32.58 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6172, allocations: 0 / 0.5862 GB, free: 32.58 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000305/0.6176, allocations: 75.98 kB / 0.5862 GB, free: 32.51 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: 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.0006025/0.6182, allocations: 1.003 MB / 0.5872 GB, free: 31.47 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.6184, allocations: 175.4 kB / 0.5874 GB, free: 31.29 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6184, allocations: 3.938 kB / 0.5874 GB, free: 31.28 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.388e-05/0.6185, allocations: 127.4 kB / 0.5875 GB, free: 31.14 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.619, allocations: 115.5 kB / 0.5876 GB, free: 31.03 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008471/0.6275, allocations: 9.84 MB / 0.5972 GB, free: 20.75 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.628, allocations: 1.18 MB / 0.5984 GB, free: 19.55 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006278/0.6286, allocations: 301.7 kB / 0.5987 GB, free: 19.25 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.629, allocations: 483.3 kB / 0.5991 GB, free: 18.77 MB / 462.3 MB Notification: Performance of SimCode: time 1.102e-06/0.629, allocations: 0 / 0.5991 GB, free: 18.77 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04684/0.6758, allocations: 20.8 MB / 0.6194 GB, free: 14.03 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.933, allocations: 13.81 kB / 0.6194 GB, free: 14.02 MB / 478.3 MB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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