Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",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.001099/0.001099, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001065/0.001065, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.129/1.129, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7654/0.7654, allocations: 119.3 MB / 411 MB, free: 9.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 67.88 kB / 0.4911 GB, free: 13.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3821, allocations: 80.69 MB / 0.5699 GB, free: 43.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.001904/0.384, allocations: 1.405 MB / 0.5712 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000651/0.3847, allocations: 0.5656 MB / 0.5718 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.3848, allocations: 1.469 kB / 0.5718 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0008651/0.3856, allocations: 1.72 MB / 0.5735 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0009237/0.3866, allocations: 1.765 MB / 0.5752 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.3868, allocations: 83.8 kB / 0.5753 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0023/0.3891, allocations: 4.308 MB / 0.5795 GB, free: 37.97 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.3891, allocations: 7.781 kB / 0.5795 GB, free: 37.97 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.3906, allocations: 2.138 MB / 0.5816 GB, free: 36.94 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.3927, allocations: 4.066 MB / 0.5855 GB, free: 33.58 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004228/0.3931, allocations: 256 kB / 0.5858 GB, free: 33.33 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004405/0.3936, allocations: 319.9 kB / 0.5861 GB, free: 33.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006128/0.3997, allocations: 9.958 MB / 0.5958 GB, free: 23.03 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002286/0.402, allocations: 5.636 MB / 0.6013 GB, free: 17.34 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004412/0.4064, allocations: 12.17 MB / 0.6132 GB, free: 5.105 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4065, allocations: 4 kB / 0.6132 GB, free: 5.102 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4065, allocations: 0 / 0.6132 GB, free: 5.102 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001061/0.4066, allocations: 0 / 0.6132 GB, free: 5.102 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.01593/0.4225, allocations: 19.56 MB / 0.6323 GB, free: 1.316 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.4226, allocations: 15.89 kB / 0.6323 GB, free: 1.301 MB / 478.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.4226, allocations: 38.67 kB / 0.6323 GB, free: 1.254 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.4245, allocations: 2.21 MB / 0.6345 GB, free: 15.01 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03076/0.4553, allocations: 25.82 MB / 0.6597 GB, free: 4.996 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.4553, allocations: 4.375 kB / 0.6597 GB, free: 4.992 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.4555, allocations: 68.38 kB / 0.6598 GB, free: 4.926 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007862/0.4563, allocations: 0.7823 MB / 0.6606 GB, free: 4.137 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.4563, allocations: 0 / 0.6606 GB, free: 4.137 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.4564, allocations: 64 kB / 0.6606 GB, free: 4.074 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.4564, allocations: 0 / 0.6606 GB, free: 4.074 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.457, allocations: 456 kB / 0.6611 GB, free: 3.629 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006128/0.4631, allocations: 7 MB / 0.6679 GB, free: 12.58 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.4635, allocations: 294.5 kB / 0.6682 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003815/0.4639, allocations: 280.9 kB / 0.6684 GB, free: 12 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.4639, allocations: 3.984 kB / 0.6684 GB, free: 12 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007015/0.4646, allocations: 0.7074 MB / 0.6691 GB, free: 11.27 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.512e-06/0.4646, allocations: 3.938 kB / 0.6691 GB, free: 11.27 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.004025/0.4687, allocations: 4.236 MB / 0.6733 GB, free: 6.992 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.4687, allocations: 85.09 kB / 0.6734 GB, free: 6.891 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02341/0.4921, allocations: 24.83 MB / 0.6976 GB, free: 14.26 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.4923, allocations: 89.7 kB / 0.6977 GB, free: 14.17 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.008417/0.5008, allocations: 10.82 MB / 0.7083 GB, free: 3.34 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.501, allocations: 79.8 kB / 0.7083 GB, free: 3.262 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004603/0.5015, allocations: 457.7 kB / 0.7088 GB, free: 2.809 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.5016, allocations: 310 kB / 0.7091 GB, free: 2.5 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.5019, allocations: 268 kB / 0.7093 GB, free: 2.238 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.5023, allocations: 268 kB / 0.7096 GB, free: 1.977 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008182/0.5031, allocations: 0.59 MB / 0.7102 GB, free: 1.371 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5031, allocations: 0 / 0.7102 GB, free: 1.371 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003989/0.5071, allocations: 3.982 MB / 0.714 GB, free: 13.35 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.5072, allocations: 33.7 kB / 0.7141 GB, free: 13.31 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.5072, allocations: 0 / 0.7141 GB, free: 13.31 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5072, allocations: 0 / 0.7141 GB, free: 13.31 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.5073, allocations: 4 kB / 0.7141 GB, free: 13.3 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.5073, allocations: 0 / 0.7141 GB, free: 13.3 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.5085, allocations: 79.83 kB / 0.7142 GB, free: 13.23 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006173/0.5091, allocations: 0.8633 MB / 0.715 GB, free: 12.36 MB / 0.5608 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.004965/0.5141, allocations: 4.902 MB / 0.7198 GB, free: 7.441 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001548/0.5156, allocations: 2.268 MB / 0.722 GB, free: 5.145 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.5178, allocations: 2.561 MB / 0.7245 GB, free: 2.574 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.5178, allocations: 0 / 0.7245 GB, free: 2.574 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5178, allocations: 4 kB / 0.7245 GB, free: 2.57 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5178, allocations: 0 / 0.7245 GB, free: 2.57 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006131/0.5239, allocations: 7.613 MB / 0.7319 GB, free: 10.9 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.524, allocations: 7.938 kB / 0.7319 GB, free: 10.89 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.524, allocations: 4 kB / 0.732 GB, free: 10.89 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.524, allocations: 3.938 kB / 0.732 GB, free: 10.89 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/0.5242, allocations: 192 kB / 0.7321 GB, free: 10.7 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5242, allocations: 0 / 0.7321 GB, free: 10.7 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5242, allocations: 0 / 0.7321 GB, free: 10.7 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/0.5276, allocations: 4.166 MB / 0.7362 GB, free: 6.484 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/0.5297, allocations: 1.98 MB / 0.7381 GB, free: 4.457 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007821/0.5305, allocations: 83.94 kB / 0.7382 GB, free: 4.375 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.5315, allocations: 64 kB / 0.7383 GB, free: 4.312 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.5315, allocations: 0 / 0.7383 GB, free: 4.312 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005768/0.5321, allocations: 0.8594 MB / 0.7391 GB, free: 3.453 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01734/0.5495, allocations: 17.24 MB / 0.756 GB, free: 2.367 MB / 0.592 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5495, allocations: 0 / 0.756 GB, free: 2.367 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001325/0.5508, allocations: 0.6367 MB / 0.7566 GB, free: 1.73 MB / 0.592 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.3442/0.895, allocations: 4.942 MB / 0.7614 GB, free: 159.1 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.896, allocations: 0.6919 MB / 0.7621 GB, free: 159 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.896, allocations: 0 / 0.7621 GB, free: 159 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.0004917/0.8965, allocations: 418.5 kB / 0.7625 GB, free: 159 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00329/0.8998, allocations: 1.694 MB / 0.7641 GB, free: 157.9 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4183/1.318, allocations: 372.1 MB / 1.127 GB, free: 153.3 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00868/1.327, allocations: 8.909 MB / 1.136 GB, free: 144.4 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.009826/1.337, allocations: 4.709 MB / 1.141 GB, free: 139.9 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006925/1.344, allocations: 9.277 MB / 1.15 GB, free: 130.6 MB / 0.686 GB Notification: Performance of SimCode: time 1.232e-06/1.344, allocations: 3.938 kB / 1.15 GB, free: 130.6 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.585/1.929, allocations: 309.7 MB / 1.452 GB, free: 63.14 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/16.18, allocations: 1.266 kB / 1.452 GB, free: 63.14 MB / 0.686 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches