Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_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.0009446/0.0009447, allocations: 91.81 kB / 16.65 MB, free: 6.59 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.0009977/0.0009977, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.287/1.287, allocations: 223.3 MB / 241.6 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.344/1.344, allocations: 120.5 MB / 413.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004383, allocations: 8 kB / 0.495 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6739/0.6744, allocations: 82.85 MB / 0.5759 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125): time 0.001459/0.6759, allocations: 1.286 MB / 0.5772 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.677, allocations: 0.8558 MB / 0.578 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.677, allocations: 9.312 kB / 0.578 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.6774, allocations: 260.7 kB / 0.5783 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.6777, allocations: 195.5 kB / 0.5784 GB, free: 39.98 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.6779, allocations: 87.45 kB / 0.5785 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.6782, allocations: 372.4 kB / 0.5789 GB, free: 39.74 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.6783, allocations: 4.594 kB / 0.5789 GB, free: 39.74 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.6785, allocations: 185.1 kB / 0.5791 GB, free: 39.65 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.6788, allocations: 279.4 kB / 0.5793 GB, free: 39.54 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.442e-05/0.6788, allocations: 17.88 kB / 0.5793 GB, free: 39.54 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.6789, allocations: 52.69 kB / 0.5794 GB, free: 39.52 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000606/0.6795, allocations: 0.6428 MB / 0.58 GB, free: 39.2 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.6798, allocations: 407.7 kB / 0.5804 GB, free: 38.85 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.6803, allocations: 0.8226 MB / 0.5812 GB, free: 38.32 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6803, allocations: 3.938 kB / 0.5812 GB, free: 38.32 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6803, allocations: 1.281 kB / 0.5812 GB, free: 38.32 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.6803, allocations: 0 / 0.5812 GB, free: 38.32 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.001188/0.6815, allocations: 1.418 MB / 0.5826 GB, free: 37.14 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.6816, allocations: 10.09 kB / 0.5826 GB, free: 37.14 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.6816, allocations: 39.94 kB / 0.5826 GB, free: 37.09 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.6817, allocations: 156.6 kB / 0.5828 GB, free: 37 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.6837, allocations: 1.772 MB / 0.5845 GB, free: 35.84 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.6837, allocations: 1.781 kB / 0.5845 GB, free: 35.84 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.6837, allocations: 5.219 kB / 0.5845 GB, free: 35.84 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.6839, allocations: 55.5 kB / 0.5846 GB, free: 35.79 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.6839, allocations: 0 / 0.5846 GB, free: 35.79 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.6839, allocations: 1.125 kB / 0.5846 GB, free: 35.79 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.6839, allocations: 0 / 0.5846 GB, free: 35.79 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.161e-05/0.684, allocations: 16.98 kB / 0.5846 GB, free: 35.78 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.6845, allocations: 0.5838 MB / 0.5852 GB, free: 35.33 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.6846, allocations: 55.34 kB / 0.5852 GB, free: 35.29 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.6846, allocations: 24.5 kB / 0.5853 GB, free: 35.27 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.6847, allocations: 1.344 kB / 0.5853 GB, free: 35.27 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.6848, allocations: 68.61 kB / 0.5853 GB, free: 35.2 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.6849, allocations: 3.938 kB / 0.5853 GB, free: 35.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0003702/0.6852, allocations: 239.7 kB / 0.5856 GB, free: 35.05 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.6853, allocations: 55.39 kB / 0.5856 GB, free: 34.99 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.687, allocations: 1.71 MB / 0.5873 GB, free: 34.16 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.687, allocations: 26.98 kB / 0.5873 GB, free: 34.12 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/0.6874, allocations: 0.6727 MB / 0.588 GB, free: 33.54 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.6874, allocations: 10.34 kB / 0.588 GB, free: 33.53 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.6874, allocations: 18.98 kB / 0.588 GB, free: 33.51 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.3e-05/0.6875, allocations: 311.2 kB / 0.5883 GB, free: 33.2 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.6875, allocations: 11.59 kB / 0.5883 GB, free: 33.2 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.712e-05/0.6876, allocations: 27.8 kB / 0.5883 GB, free: 33.17 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.402e-05/0.6877, allocations: 47.55 kB / 0.5884 GB, free: 33.14 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6877, allocations: 3.938 kB / 0.5884 GB, free: 33.13 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002088/0.6879, allocations: 231 kB / 0.5886 GB, free: 32.91 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6879, allocations: 10.5 kB / 0.5886 GB, free: 32.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.6879, allocations: 3.938 kB / 0.5886 GB, free: 32.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.688, allocations: 0 / 0.5886 GB, free: 32.9 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.688, allocations: 11.98 kB / 0.5886 GB, free: 32.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.688, allocations: 4 kB / 0.5886 GB, free: 32.89 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.6882, allocations: 7.938 kB / 0.5886 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.6882, allocations: 4 kB / 0.5886 GB, free: 32.88 MB / 462.3 MB 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.0002864/0.6885, allocations: 420.1 kB / 0.589 GB, free: 32.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-05/0.6886, allocations: 162.1 kB / 0.5892 GB, free: 32.3 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.6887, allocations: 174.9 kB / 0.5894 GB, free: 32.12 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6887, allocations: 0 / 0.5894 GB, free: 32.12 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6887, allocations: 0 / 0.5894 GB, free: 32.12 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.6887, allocations: 0 / 0.5894 GB, free: 32.12 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.6892, allocations: 0.6329 MB / 0.59 GB, free: 31.43 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6892, allocations: 0 / 0.59 GB, free: 31.43 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.6892, allocations: 7.984 kB / 0.59 GB, free: 31.43 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.6892, allocations: 0 / 0.59 GB, free: 31.43 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.6892, allocations: 0 / 0.59 GB, free: 31.43 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6892, allocations: 7.875 kB / 0.59 GB, free: 31.42 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6892, allocations: 8 kB / 0.59 GB, free: 31.41 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.6895, allocations: 260 kB / 0.5902 GB, free: 31.13 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.6896, allocations: 219 kB / 0.5904 GB, free: 30.9 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/0.6897, allocations: 4 kB / 0.5905 GB, free: 30.89 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.6898, allocations: 8 kB / 0.5905 GB, free: 30.89 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.6898, allocations: 0 / 0.5905 GB, free: 30.89 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.6899, allocations: 8.109 kB / 0.5905 GB, free: 30.88 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.00094/0.6908, allocations: 1.191 MB / 0.5916 GB, free: 29.66 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6908, allocations: 0 / 0.5916 GB, free: 29.66 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002596/0.6911, allocations: 59.92 kB / 0.5917 GB, free: 29.61 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: 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.001138/0.6922, allocations: 1.102 MB / 0.5928 GB, free: 28.63 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.6924, allocations: 39.98 kB / 0.5928 GB, free: 28.59 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6924, allocations: 0 / 0.5928 GB, free: 28.59 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.094e-05/0.6924, allocations: 19.94 kB / 0.5928 GB, free: 28.57 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.6929, allocations: 142.7 kB / 0.593 GB, free: 28.43 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.7043, allocations: 9.985 MB / 0.6027 GB, free: 17.9 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.7049, allocations: 1.2 MB / 0.6039 GB, free: 16.67 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0008671/0.7058, allocations: 361.9 kB / 0.6042 GB, free: 16.31 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/0.7063, allocations: 0.5615 MB / 0.6048 GB, free: 15.75 MB / 462.3 MB Notification: Performance of SimCode: time 1.182e-06/0.7063, allocations: 0 / 0.6048 GB, free: 15.75 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.7413, allocations: 19.67 MB / 0.624 GB, free: 12.28 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002948/0.7417, allocations: 273.6 kB / 0.6242 GB, free: 11.9 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/2.908, allocations: 0 / 0.6242 GB, free: 11.9 MB / 478.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_125_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_125.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches