Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_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.0012/0.0012, allocations: 109.3 kB / 16.92 MB, free: 5.758 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.001185/0.001185, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.213/1.213, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7732/0.7732, allocations: 119.3 MB / 411 MB, free: 9.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.89 kB / 0.491 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3982, allocations: 80.68 MB / 0.5698 GB, free: 43.28 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.002178/0.4004, allocations: 1.58 MB / 0.5714 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.4015, allocations: 0.8854 MB / 0.5722 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.812e-05/0.4016, allocations: 5.188 kB / 0.5722 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.4034, allocations: 3.464 MB / 0.5756 GB, free: 39.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.4045, allocations: 1.799 MB / 0.5774 GB, free: 38.69 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.4048, allocations: 114 kB / 0.5775 GB, free: 38.61 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.002518/0.4073, allocations: 4.344 MB / 0.5817 GB, free: 36.49 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.4073, allocations: 13.36 kB / 0.5818 GB, free: 36.48 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.4092, allocations: 2.157 MB / 0.5839 GB, free: 35.21 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.4113, allocations: 4.064 MB / 0.5878 GB, free: 31.14 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004247/0.4117, allocations: 256 kB / 0.5881 GB, free: 30.89 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.4122, allocations: 276 kB / 0.5883 GB, free: 30.62 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006318/0.4185, allocations: 9.97 MB / 0.5981 GB, free: 20.62 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002989/0.4215, allocations: 5.647 MB / 0.6036 GB, free: 14.92 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004772/0.4263, allocations: 12.18 MB / 0.6155 GB, free: 2.676 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4263, allocations: 0 / 0.6155 GB, free: 2.676 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4263, allocations: 0 / 0.6155 GB, free: 2.676 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001486/0.4265, allocations: 7.938 kB / 0.6155 GB, free: 2.668 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.01886/0.4454, allocations: 19.57 MB / 0.6346 GB, free: 14.87 MB / 494.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4454, allocations: 11.89 kB / 0.6346 GB, free: 14.86 MB / 494.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.4455, allocations: 34.75 kB / 0.6346 GB, free: 14.81 MB / 494.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.4476, allocations: 2.206 MB / 0.6368 GB, free: 12.58 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03553/0.4832, allocations: 25.85 MB / 0.662 GB, free: 2.535 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.4832, allocations: 384 / 0.662 GB, free: 2.535 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.4832, allocations: 7.938 kB / 0.662 GB, free: 2.527 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.4834, allocations: 53.67 kB / 0.6621 GB, free: 2.469 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.4834, allocations: 0 / 0.6621 GB, free: 2.469 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.4834, allocations: 0 / 0.6621 GB, free: 2.469 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4834, allocations: 4 kB / 0.6621 GB, free: 2.465 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.26e-05/0.4835, allocations: 15.98 kB / 0.6621 GB, free: 2.449 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007019/0.4905, allocations: 6.938 MB / 0.6689 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.4907, allocations: 58.5 kB / 0.6689 GB, free: 11.39 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.4908, allocations: 24.84 kB / 0.669 GB, free: 11.37 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.4908, allocations: 4 kB / 0.669 GB, free: 11.36 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.491, allocations: 59.39 kB / 0.669 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 2.094e-06/0.491, allocations: 0 / 0.669 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.002502/0.4935, allocations: 2.355 MB / 0.6713 GB, free: 8.902 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.4936, allocations: 51.41 kB / 0.6714 GB, free: 8.84 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02647/0.52, allocations: 25.36 MB / 0.6961 GB, free: 15.68 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.5201, allocations: 25.7 kB / 0.6962 GB, free: 15.65 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.008949/0.529, allocations: 11.35 MB / 0.7073 GB, free: 4.301 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.5291, allocations: 15.83 kB / 0.7073 GB, free: 4.285 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.5292, allocations: 21.72 kB / 0.7073 GB, free: 4.258 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.5293, allocations: 306 kB / 0.7076 GB, free: 3.953 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.5293, allocations: 20.05 kB / 0.7076 GB, free: 3.934 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.5294, allocations: 29.7 kB / 0.7076 GB, free: 3.898 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.974e-05/0.5295, allocations: 41.72 kB / 0.7077 GB, free: 3.852 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.5295, allocations: 3.938 kB / 0.7077 GB, free: 3.848 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.002631/0.5322, allocations: 2.343 MB / 0.71 GB, free: 1.469 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5322, allocations: 4 kB / 0.71 GB, free: 1.465 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5322, allocations: 0 / 0.71 GB, free: 1.465 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.5322, allocations: 0 / 0.71 GB, free: 1.465 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.5323, allocations: 16 kB / 0.71 GB, free: 1.449 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.5323, allocations: 7.969 kB / 0.71 GB, free: 1.441 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.5337, allocations: 67.91 kB / 0.7101 GB, free: 1.375 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.5337, allocations: 7.984 kB / 0.7101 GB, free: 1.367 MB / 0.5452 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.00521/0.539, allocations: 4.751 MB / 0.7147 GB, free: 12.6 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00218/0.5411, allocations: 2.326 MB / 0.717 GB, free: 10.25 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/0.5443, allocations: 2.569 MB / 0.7195 GB, free: 7.676 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5443, allocations: 3.938 kB / 0.7195 GB, free: 7.672 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5443, allocations: 4 kB / 0.7195 GB, free: 7.668 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5443, allocations: 4 kB / 0.7195 GB, free: 7.664 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007334/0.5517, allocations: 7.629 MB / 0.7269 GB, free: 15.99 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.5517, allocations: 0 / 0.7269 GB, free: 15.99 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.5518, allocations: 4 kB / 0.7269 GB, free: 15.98 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.5518, allocations: 0 / 0.7269 GB, free: 15.98 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.5518, allocations: 4 kB / 0.7269 GB, free: 15.98 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5518, allocations: 0 / 0.7269 GB, free: 15.98 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5518, allocations: 4.062 kB / 0.727 GB, free: 15.98 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.5548, allocations: 2.571 MB / 0.7295 GB, free: 13.36 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/0.5569, allocations: 1.8 MB / 0.7312 GB, free: 11.51 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008754/0.5578, allocations: 64 kB / 0.7313 GB, free: 11.45 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.5589, allocations: 64 kB / 0.7313 GB, free: 11.39 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.5589, allocations: 4 kB / 0.7313 GB, free: 11.38 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.5589, allocations: 3.984 kB / 0.7314 GB, free: 11.38 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.02138/0.5803, allocations: 17.51 MB / 0.7485 GB, free: 10.02 MB / 0.592 GB Notification: Performance of sort global known variables: time 5.91e-07/0.5804, allocations: 4 kB / 0.7485 GB, free: 10.02 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001977/0.5823, allocations: 0.6289 MB / 0.7491 GB, free: 9.391 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: 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.003985/0.5863, allocations: 3.581 MB / 0.7526 GB, free: 5.91 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.5865, allocations: 39.98 kB / 0.7526 GB, free: 5.871 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5865, allocations: 0 / 0.7526 GB, free: 5.871 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 6.072e-05/0.5866, allocations: 27.92 kB / 0.7526 GB, free: 5.844 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/0.5915, allocations: 1.717 MB / 0.7543 GB, free: 4.129 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7951/1.387, allocations: 371 MB / 1.117 GB, free: 153.9 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009673/1.396, allocations: 8.924 MB / 1.125 GB, free: 144.9 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.01324/1.41, allocations: 5.68 MB / 1.131 GB, free: 139.5 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009514/1.419, allocations: 10.39 MB / 1.141 GB, free: 129.1 MB / 0.686 GB Notification: Performance of SimCode: time 5.91e-07/1.419, allocations: 0 / 1.141 GB, free: 129.1 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.553/1.972, allocations: 288.4 MB / 1.423 GB, free: 73.89 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/17.83, allocations: 6.703 kB / 1.423 GB, free: 73.89 MB / 0.686 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches