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.001123/0.001123, allocations: 109.7 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.001076/0.001076, allocations: 191.3 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.127/1.127, 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.746/0.746, allocations: 119.3 MB / 411 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 59.91 kB / 0.491 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3746, allocations: 80.69 MB / 0.5698 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.001878/0.3766, allocations: 1.401 MB / 0.5712 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000656/0.3772, allocations: 0.5784 MB / 0.5718 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.3773, allocations: 0 / 0.5718 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.3774, allocations: 121.3 kB / 0.5719 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.3777, allocations: 161.7 kB / 0.572 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.3779, allocations: 82.02 kB / 0.5721 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.3781, allocations: 341 kB / 0.5724 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.302e-05/0.3782, allocations: 7.406 kB / 0.5725 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.3783, allocations: 167.8 kB / 0.5726 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.3785, allocations: 290.3 kB / 0.5729 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.3786, allocations: 19 kB / 0.5729 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.3787, allocations: 92.08 kB / 0.573 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0005002/0.3792, allocations: 0.6288 MB / 0.5736 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.3794, allocations: 380.9 kB / 0.574 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.3799, allocations: 0.8376 MB / 0.5748 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3799, allocations: 4 kB / 0.5748 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3799, allocations: 0 / 0.5748 GB, free: 40.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.3799, allocations: 1.188 kB / 0.5748 GB, free: 40.09 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.001057/0.381, allocations: 1.567 MB / 0.5763 GB, free: 38.8 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.381, allocations: 12.61 kB / 0.5763 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.905e-05/0.381, allocations: 37.44 kB / 0.5764 GB, free: 38.75 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.3811, allocations: 143.7 kB / 0.5765 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.3828, allocations: 1.756 MB / 0.5782 GB, free: 37.55 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.3828, allocations: 2.219 kB / 0.5782 GB, free: 37.55 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.3829, allocations: 9.906 kB / 0.5782 GB, free: 37.54 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.383, allocations: 95.89 kB / 0.5783 GB, free: 37.49 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.383, allocations: 0 / 0.5783 GB, free: 37.49 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.383, allocations: 5.531 kB / 0.5783 GB, free: 37.49 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.3831, allocations: 0 / 0.5783 GB, free: 37.49 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.158e-05/0.3831, allocations: 57.72 kB / 0.5784 GB, free: 37.47 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.3836, allocations: 0.5764 MB / 0.579 GB, free: 37.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 7.238e-05/0.3836, allocations: 57.31 kB / 0.579 GB, free: 37 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.3837, allocations: 48.55 kB / 0.5791 GB, free: 36.98 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.3837, allocations: 3.984 kB / 0.5791 GB, free: 36.97 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.3839, allocations: 139.4 kB / 0.5792 GB, free: 36.86 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.3839, allocations: 0.9062 kB / 0.5792 GB, free: 36.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0004377/0.3843, allocations: 410.4 kB / 0.5796 GB, free: 36.68 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.3844, allocations: 84.94 kB / 0.5797 GB, free: 36.58 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.3857, allocations: 1.632 MB / 0.5813 GB, free: 35.84 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3857, allocations: 38.67 kB / 0.5813 GB, free: 35.8 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.386, allocations: 0.6282 MB / 0.5819 GB, free: 35.26 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.3861, allocations: 18.12 kB / 0.5819 GB, free: 35.25 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.3861, allocations: 49.05 kB / 0.582 GB, free: 35.23 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.189e-05/0.3862, allocations: 311.3 kB / 0.5823 GB, free: 34.92 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.3862, allocations: 31.27 kB / 0.5823 GB, free: 34.91 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.637e-05/0.3863, allocations: 31.97 kB / 0.5823 GB, free: 34.9 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.3864, allocations: 134.6 kB / 0.5825 GB, free: 34.81 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3864, allocations: 5.281 kB / 0.5825 GB, free: 34.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003361/0.3867, allocations: 376.9 kB / 0.5828 GB, free: 34.63 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3868, allocations: 37.19 kB / 0.5829 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3868, allocations: 0 / 0.5829 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3868, allocations: 5 kB / 0.5829 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.854e-05/0.3869, allocations: 8.281 kB / 0.5829 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.3869, allocations: 0 / 0.5829 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.387, allocations: 11.47 kB / 0.5829 GB, free: 34.58 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.387, allocations: 57.27 kB / 0.5829 GB, free: 34.57 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.0003406/0.3874, allocations: 463.5 kB / 0.5834 GB, free: 34.31 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3875, allocations: 152.9 kB / 0.5835 GB, free: 34.23 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.3876, allocations: 169.7 kB / 0.5837 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3876, allocations: 1.031 kB / 0.5837 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.3876, allocations: 0 / 0.5837 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3876, allocations: 0 / 0.5837 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.3881, allocations: 0.6298 MB / 0.5843 GB, free: 33.71 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3881, allocations: 4.031 kB / 0.5843 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.8e-05/0.3881, allocations: 6.5 kB / 0.5843 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3881, allocations: 0.9688 kB / 0.5843 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.3881, allocations: 18.41 kB / 0.5843 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3881, allocations: 0 / 0.5843 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3881, allocations: 1.094 kB / 0.5843 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.3885, allocations: 430.6 kB / 0.5847 GB, free: 33.47 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.3886, allocations: 214.2 kB / 0.5849 GB, free: 33.29 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.3887, allocations: 8.125 kB / 0.585 GB, free: 33.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.866e-05/0.3888, allocations: 10.2 kB / 0.585 GB, free: 33.29 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.3889, allocations: 5.562 kB / 0.585 GB, free: 33.28 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.3889, allocations: 61.94 kB / 0.585 GB, free: 33.27 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0009226/0.3898, allocations: 1.146 MB / 0.5861 GB, free: 32.58 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3898, allocations: 0 / 0.5861 GB, free: 32.58 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002546/0.3901, allocations: 72 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.0004632/0.3906, allocations: 1.003 MB / 0.5872 GB, free: 31.47 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.3908, allocations: 179.3 kB / 0.5874 GB, free: 31.28 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3908, allocations: 0 / 0.5874 GB, free: 31.28 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.227e-05/0.3909, allocations: 131.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.0003426/0.3912, allocations: 123.1 kB / 0.5876 GB, free: 31.02 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006384/0.3976, allocations: 9.832 MB / 0.5972 GB, free: 20.75 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.398, allocations: 1.18 MB / 0.5984 GB, free: 19.55 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005384/0.3986, allocations: 301.9 kB / 0.5987 GB, free: 19.25 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.3989, allocations: 487.3 kB / 0.5991 GB, free: 18.77 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.3989, allocations: 0 / 0.5991 GB, free: 18.77 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.4293, allocations: 20.79 MB / 0.6194 GB, free: 14.03 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/7.267, allocations: 21.8 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 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.mat","/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