Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000",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.001231/0.001231, allocations: 108.3 kB / 16.92 MB, free: 5.781 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.001137/0.001137, allocations: 191.5 kB / 17.85 MB, free: 5.164 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.181/1.181, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7758/0.7758, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 0.4911 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3906, allocations: 80.68 MB / 0.5698 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001858/0.3925, allocations: 1.406 MB / 0.5712 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006491/0.3931, allocations: 0.5804 MB / 0.5718 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.3932, allocations: 1.844 kB / 0.5718 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.3947, allocations: 3.427 MB / 0.5751 GB, free: 40.08 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.3965, allocations: 3.471 MB / 0.5785 GB, free: 38.33 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.3968, allocations: 76.77 kB / 0.5786 GB, free: 38.29 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.004468/0.4012, allocations: 8.561 MB / 0.587 GB, free: 32.14 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.4013, allocations: 4 kB / 0.587 GB, free: 32.14 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/0.4045, allocations: 4.25 MB / 0.5911 GB, free: 27.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003953/0.4085, allocations: 8.085 MB / 0.599 GB, free: 19.79 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0008587/0.4094, allocations: 0.4922 MB / 0.5995 GB, free: 19.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008254/0.4102, allocations: 0.5585 MB / 0.6 GB, free: 18.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01302/0.4232, allocations: 19.91 MB / 0.6195 GB, free: 14.77 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01008/0.4333, allocations: 11.25 MB / 0.6305 GB, free: 3.414 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01667/0.45, allocations: 24.26 MB / 0.6541 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4501, allocations: 0 / 0.6541 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4501, allocations: 0 / 0.6541 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0004389/0.4505, allocations: 0 / 0.6541 GB, free: 11.02 MB / 0.4983 GB 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.03874/0.4893, allocations: 38.76 MB / 0.692 GB, free: 3.852 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4893, allocations: 11.89 kB / 0.692 GB, free: 3.84 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.4894, allocations: 34.75 kB / 0.692 GB, free: 3.797 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004158/0.4935, allocations: 4.395 MB / 0.6963 GB, free: 15.34 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0789/0.5724, allocations: 51.58 MB / 0.7467 GB, free: 11.42 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.5725, allocations: 4.375 kB / 0.7467 GB, free: 11.41 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.5727, allocations: 124.4 kB / 0.7468 GB, free: 11.29 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.5742, allocations: 1.512 MB / 0.7483 GB, free: 9.773 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5742, allocations: 3.938 kB / 0.7483 GB, free: 9.77 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/0.5744, allocations: 132 kB / 0.7484 GB, free: 9.641 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5744, allocations: 4 kB / 0.7484 GB, free: 9.637 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.5755, allocations: 0.8711 MB / 0.7493 GB, free: 8.766 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3914/0.9669, allocations: 13.84 MB / 0.7628 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.9684, allocations: 0.5279 MB / 0.7633 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008607/0.9693, allocations: 0.5134 MB / 0.7638 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.9693, allocations: 1.438 kB / 0.7638 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.9705, allocations: 1.322 MB / 0.7651 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.264e-06/0.9705, allocations: 3.594 kB / 0.7651 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01082/0.9814, allocations: 8.318 MB / 0.7732 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.9814, allocations: 84.45 kB / 0.7733 GB, free: 135.4 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0534/1.035, allocations: 49.58 MB / 0.8217 GB, free: 104.4 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0005502/1.035, allocations: 157.7 kB / 0.8219 GB, free: 104.2 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.01569/1.051, allocations: 22.54 MB / 0.8439 GB, free: 81.68 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.000644/1.052, allocations: 149.2 kB / 0.844 GB, free: 81.56 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000669/1.052, allocations: 0.8806 MB / 0.8449 GB, free: 80.67 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 3.625e-05/1.052, allocations: 312.1 kB / 0.8452 GB, free: 80.36 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/1.053, allocations: 0.5039 MB / 0.8457 GB, free: 79.86 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/1.054, allocations: 0.5039 MB / 0.8462 GB, free: 79.36 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/1.055, allocations: 1.077 MB / 0.8472 GB, free: 78.27 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.055, allocations: 3.531 kB / 0.8472 GB, free: 78.27 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006851/1.062, allocations: 7.822 MB / 0.8549 GB, free: 72.88 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/1.062, allocations: 37.69 kB / 0.8549 GB, free: 72.84 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.062, allocations: 0 / 0.8549 GB, free: 72.84 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.062, allocations: 0 / 0.8549 GB, free: 72.84 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/1.062, allocations: 4 kB / 0.8549 GB, free: 72.83 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.062, allocations: 0 / 0.8549 GB, free: 72.83 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005202/1.067, allocations: 135.8 kB / 0.855 GB, free: 72.7 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008476/1.068, allocations: 1.719 MB / 0.8567 GB, free: 70.98 MB / 0.5923 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.01041/1.079, allocations: 9.662 MB / 0.8662 GB, free: 61.3 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005024/1.084, allocations: 4.524 MB / 0.8706 GB, free: 56.72 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006922/1.091, allocations: 5.118 MB / 0.8756 GB, free: 51.58 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.091, allocations: 0 / 0.8756 GB, free: 51.58 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.091, allocations: 0 / 0.8756 GB, free: 51.58 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.091, allocations: 3.938 kB / 0.8756 GB, free: 51.58 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01831/1.109, allocations: 15.07 MB / 0.8903 GB, free: 36.44 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.109, allocations: 3 kB / 0.8903 GB, free: 36.44 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/1.109, allocations: 4 kB / 0.8903 GB, free: 36.44 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.109, allocations: 0 / 0.8903 GB, free: 36.44 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006843/1.11, allocations: 380 kB / 0.8907 GB, free: 36.07 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/1.11, allocations: 6.438 kB / 0.8907 GB, free: 36.06 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.11, allocations: 8.844 kB / 0.8907 GB, free: 36.06 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00665/1.116, allocations: 8.157 MB / 0.8986 GB, free: 27.82 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004753/1.121, allocations: 3.871 MB / 0.9024 GB, free: 23.88 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002291/1.123, allocations: 136 kB / 0.9026 GB, free: 23.75 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/1.126, allocations: 128.1 kB / 0.9027 GB, free: 23.62 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/1.126, allocations: 7.875 kB / 0.9027 GB, free: 23.61 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009232/1.127, allocations: 1.717 MB / 0.9044 GB, free: 21.9 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.04014/1.167, allocations: 34.49 MB / 0.938 GB, free: 3.707 MB / 0.6079 GB Notification: Performance of sort global known variables: time 3.91e-07/1.167, allocations: 0 / 0.938 GB, free: 3.707 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.003942/1.171, allocations: 1.254 MB / 0.9393 GB, free: 2.453 MB / 0.6079 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.00915/1.18, allocations: 9.169 MB / 0.9482 GB, free: 9.199 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.001804/1.182, allocations: 1.234 MB / 0.9494 GB, free: 7.953 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.182, allocations: 0 / 0.9494 GB, free: 7.953 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/1.183, allocations: 0.7181 MB / 0.9501 GB, free: 7.223 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009201/1.192, allocations: 3.379 MB / 0.9534 GB, free: 3.84 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.678/2.87, allocations: 1.205 GB / 2.159 GB, free: 316.1 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01496/2.885, allocations: 17.33 MB / 2.175 GB, free: 298.8 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.01829/2.904, allocations: 9.437 MB / 2.185 GB, free: 289.9 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01194/2.916, allocations: 19.5 MB / 2.204 GB, free: 270.4 MB / 0.8267 GB Notification: Performance of SimCode: time 1.052e-06/2.916, allocations: 0 / 2.204 GB, free: 270.4 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.073/3.989, allocations: 0.6055 GB / 2.809 GB, free: 171.6 MB / 0.8267 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.42/28.41, allocations: 3.125 kB / 2.809 GB, free: 171.6 MB / 0.8267 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches