Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",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.001149/0.001149, allocations: 107.2 kB / 16.92 MB, free: 5.766 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.001098/0.001098, allocations: 191.5 kB / 17.85 MB, free: 5.172 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.152/1.152, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7544/0.7544, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 67.89 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3862, allocations: 80.69 MB / 0.5698 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.001889/0.3881, allocations: 1.413 MB / 0.5712 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006482/0.3888, allocations: 0.5693 MB / 0.5718 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.3888, allocations: 0 / 0.5718 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.3891, allocations: 232.2 kB / 0.572 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.3894, allocations: 277.3 kB / 0.5723 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.3896, allocations: 72.77 kB / 0.5723 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.3899, allocations: 0.6009 MB / 0.5729 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.39, allocations: 11.67 kB / 0.5729 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.3902, allocations: 300.1 kB / 0.5732 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.3906, allocations: 0.5303 MB / 0.5737 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.459e-05/0.3907, allocations: 33.97 kB / 0.5738 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.3908, allocations: 115.6 kB / 0.5739 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0009694/0.3918, allocations: 1.25 MB / 0.5751 GB, free: 40.19 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.3921, allocations: 0.7258 MB / 0.5758 GB, free: 39.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0007939/0.3929, allocations: 1.588 MB / 0.5774 GB, free: 38.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3929, allocations: 0 / 0.5774 GB, free: 38.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3929, allocations: 0.9375 kB / 0.5774 GB, free: 38.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.3929, allocations: 4 kB / 0.5774 GB, free: 38.56 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.001974/0.3949, allocations: 2.773 MB / 0.5801 GB, free: 36.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.395, allocations: 12.73 kB / 0.5801 GB, free: 36.38 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.011e-05/0.395, allocations: 33.25 kB / 0.5801 GB, free: 36.34 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.3952, allocations: 287.2 kB / 0.5804 GB, free: 36.18 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/0.3986, allocations: 3.326 MB / 0.5836 GB, free: 34.15 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3986, allocations: 1.5 kB / 0.5836 GB, free: 34.15 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.3986, allocations: 10.44 kB / 0.5836 GB, free: 34.15 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3988, allocations: 151.1 kB / 0.5838 GB, free: 34.07 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.3988, allocations: 0 / 0.5838 GB, free: 34.07 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.3989, allocations: 8.625 kB / 0.5838 GB, free: 34.07 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3989, allocations: 5.094 kB / 0.5838 GB, free: 34.07 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.399, allocations: 76.77 kB / 0.5839 GB, free: 34.06 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.3997, allocations: 1.002 MB / 0.5849 GB, free: 33.39 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.3998, allocations: 72.81 kB / 0.5849 GB, free: 33.36 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.657e-05/0.3999, allocations: 55.45 kB / 0.585 GB, free: 33.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.3999, allocations: 9.312 kB / 0.585 GB, free: 33.33 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.4002, allocations: 178.4 kB / 0.5852 GB, free: 33.21 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4002, allocations: 0 / 0.5852 GB, free: 33.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0007033/0.4009, allocations: 0.6553 MB / 0.5858 GB, free: 32.95 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.4009, allocations: 80.36 kB / 0.5859 GB, free: 32.86 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.4031, allocations: 3.183 MB / 0.589 GB, free: 29.8 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.4031, allocations: 33.7 kB / 0.589 GB, free: 29.77 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006535/0.4037, allocations: 1.248 MB / 0.5902 GB, free: 28.52 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.4038, allocations: 23.81 kB / 0.5903 GB, free: 28.49 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/0.4039, allocations: 81.7 kB / 0.5903 GB, free: 28.41 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.4039, allocations: 306 kB / 0.5906 GB, free: 28.1 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.404, allocations: 47.98 kB / 0.5907 GB, free: 28.05 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.923e-05/0.404, allocations: 51.98 kB / 0.5907 GB, free: 28 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.4042, allocations: 164.2 kB / 0.5909 GB, free: 27.83 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4042, allocations: 0 / 0.5909 GB, free: 27.83 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004265/0.4046, allocations: 0.6127 MB / 0.5915 GB, free: 27.2 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.4047, allocations: 37.69 kB / 0.5915 GB, free: 27.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4047, allocations: 0 / 0.5915 GB, free: 27.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.4047, allocations: 3.938 kB / 0.5915 GB, free: 27.15 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.4048, allocations: 4.094 kB / 0.5915 GB, free: 27.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.4048, allocations: 3.938 kB / 0.5915 GB, free: 27.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.4049, allocations: 23.84 kB / 0.5915 GB, free: 27.12 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.405, allocations: 112 kB / 0.5917 GB, free: 27.01 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.0005184/0.4055, allocations: 0.7456 MB / 0.5924 GB, free: 26.25 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.4057, allocations: 300.2 kB / 0.5927 GB, free: 25.95 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.4059, allocations: 333.8 kB / 0.593 GB, free: 25.62 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.4059, allocations: 4 kB / 0.593 GB, free: 25.62 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4059, allocations: 0 / 0.593 GB, free: 25.62 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4059, allocations: 0 / 0.593 GB, free: 25.62 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.4066, allocations: 1.089 MB / 0.5941 GB, free: 24.48 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4066, allocations: 3.938 kB / 0.5941 GB, free: 24.48 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.4066, allocations: 3.938 kB / 0.5941 GB, free: 24.48 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4066, allocations: 4 kB / 0.5941 GB, free: 24.47 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.4066, allocations: 24 kB / 0.5941 GB, free: 24.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4067, allocations: 0 / 0.5941 GB, free: 24.45 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4067, allocations: 4 kB / 0.5941 GB, free: 24.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.4071, allocations: 0.6728 MB / 0.5947 GB, free: 23.75 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.4074, allocations: 333.3 kB / 0.5951 GB, free: 23.4 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.4075, allocations: 12 kB / 0.5951 GB, free: 23.39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.4077, allocations: 12 kB / 0.5951 GB, free: 23.38 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.4077, allocations: 4 kB / 0.5951 GB, free: 23.37 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-05/0.4078, allocations: 112 kB / 0.5952 GB, free: 23.26 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001593/0.4094, allocations: 2.211 MB / 0.5974 GB, free: 21.07 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4094, allocations: 0 / 0.5974 GB, free: 21.07 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000308/0.4097, allocations: 108 kB / 0.5975 GB, free: 20.96 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.0006599/0.4103, allocations: 1.267 MB / 0.5987 GB, free: 19.66 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.4106, allocations: 211.4 kB / 0.5989 GB, free: 19.44 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4106, allocations: 4 kB / 0.5989 GB, free: 19.44 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.4107, allocations: 147.3 kB / 0.599 GB, free: 19.28 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.4113, allocations: 227.3 kB / 0.5993 GB, free: 19.06 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/0.4254, allocations: 20.41 MB / 0.6192 GB, free: 13.28 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.4265, allocations: 1.691 MB / 0.6208 GB, free: 11.56 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.001235/0.4278, allocations: 0.573 MB / 0.6214 GB, free: 10.98 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007848/0.4286, allocations: 0.9953 MB / 0.6224 GB, free: 9.984 MB / 478.3 MB Notification: Performance of SimCode: time 5.51e-07/0.4286, allocations: 0 / 0.6224 GB, free: 9.984 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06053/0.4891, allocations: 39.87 MB / 0.6613 GB, free: 2.227 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/7.71, allocations: 7.859 kB / 0.6613 GB, free: 2.219 MB / 0.4983 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches