Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_4000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_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.001026/0.001026, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001023/0.001023, allocations: 190 kB / 17.54 MB, free: 6.066 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.268/1.268, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8387/0.8387, allocations: 119.3 MB / 410.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 0.4905 GB, free: 14.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5221/0.5233, allocations: 80.69 MB / 0.5693 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.002809/0.5261, allocations: 1.629 MB / 0.5709 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.5274, allocations: 0.8701 MB / 0.5718 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.5275, allocations: 1.406 kB / 0.5718 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005572/0.5331, allocations: 6.887 MB / 0.5785 GB, free: 37.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003333/0.5365, allocations: 3.502 MB / 0.5819 GB, free: 35.77 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.537, allocations: 93.86 kB / 0.582 GB, free: 35.71 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007575/0.5445, allocations: 8.59 MB / 0.5904 GB, free: 28.25 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.5447, allocations: 4 kB / 0.5904 GB, free: 28.25 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007596/0.5523, allocations: 4.266 MB / 0.5946 GB, free: 23.98 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007216/0.5595, allocations: 8.096 MB / 0.6025 GB, free: 15.87 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.5609, allocations: 0.4922 MB / 0.603 GB, free: 15.38 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008392/0.5617, allocations: 0.5195 MB / 0.6035 GB, free: 14.86 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01524/0.577, allocations: 19.92 MB / 0.6229 GB, free: 10.88 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01806/0.5951, allocations: 11.26 MB / 0.6339 GB, free: 15.51 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02529/0.6204, allocations: 24.26 MB / 0.6576 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.6204, allocations: 0 / 0.6576 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.524e-06/0.6205, allocations: 0 / 0.6576 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001009/0.6215, allocations: 0 / 0.6576 GB, free: 7.113 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.05445/0.6759, allocations: 38.76 MB / 0.6955 GB, free: 15.95 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.676, allocations: 11.89 kB / 0.6955 GB, free: 15.94 MB / 0.5452 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.6761, allocations: 30.75 kB / 0.6955 GB, free: 15.9 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006273/0.6823, allocations: 4.403 MB / 0.6998 GB, free: 11.44 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1184/0.8007, allocations: 51.6 MB / 0.7502 GB, free: 7.492 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.8008, allocations: 4.359 kB / 0.7502 GB, free: 7.488 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.8008, allocations: 7.938 kB / 0.7502 GB, free: 7.48 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.801, allocations: 45.67 kB / 0.7503 GB, free: 7.43 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.801, allocations: 4 kB / 0.7503 GB, free: 7.426 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.8011, allocations: 0 / 0.7503 GB, free: 7.426 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.8011, allocations: 0 / 0.7503 GB, free: 7.426 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.272e-05/0.8012, allocations: 15.98 kB / 0.7503 GB, free: 7.41 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5804/1.382, allocations: 13.74 MB / 0.7637 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/1.382, allocations: 56.5 kB / 0.7637 GB, free: 135.4 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/1.382, allocations: 19.75 kB / 0.7638 GB, free: 135.4 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/1.382, allocations: 5.812 kB / 0.7638 GB, free: 135.4 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/1.382, allocations: 67.14 kB / 0.7638 GB, free: 135.4 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=5): time 2.104e-06/1.382, allocations: 0 / 0.7638 GB, free: 135.4 MB / 0.5923 GB Notification: Performance of matching and sorting (n=5): time 0.009549/1.392, allocations: 4.611 MB / 0.7683 GB, free: 135.3 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/1.392, allocations: 51.41 kB / 0.7684 GB, free: 135.3 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07672/1.469, allocations: 50.58 MB / 0.8178 GB, free: 108.9 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/1.469, allocations: 25.7 kB / 0.8178 GB, free: 108.9 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.01769/1.486, allocations: 23.58 MB / 0.8408 GB, free: 85.27 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/1.486, allocations: 16.53 kB / 0.8408 GB, free: 85.27 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/1.487, allocations: 25.7 kB / 0.8409 GB, free: 85.24 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/1.487, allocations: 306 kB / 0.8412 GB, free: 84.93 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/1.487, allocations: 12 kB / 0.8412 GB, free: 84.92 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-05/1.487, allocations: 31.38 kB / 0.8412 GB, free: 84.89 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.715e-05/1.487, allocations: 55.27 kB / 0.8412 GB, free: 84.84 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.487, allocations: 0 / 0.8412 GB, free: 84.84 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.006019/1.493, allocations: 4.591 MB / 0.8457 GB, free: 82.68 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.493, allocations: 8 kB / 0.8457 GB, free: 82.67 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.493, allocations: 0 / 0.8457 GB, free: 82.67 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.493, allocations: 0 / 0.8457 GB, free: 82.67 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/1.493, allocations: 11.98 kB / 0.8458 GB, free: 82.66 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.493, allocations: 4 kB / 0.8458 GB, free: 82.66 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006953/1.5, allocations: 134.9 kB / 0.8459 GB, free: 82.53 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/1.5, allocations: 4 kB / 0.8459 GB, free: 82.52 MB / 0.5923 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.012/1.512, allocations: 9.395 MB / 0.8551 GB, free: 73.11 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007839/1.52, allocations: 4.644 MB / 0.8596 GB, free: 68.41 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009856/1.53, allocations: 5.122 MB / 0.8646 GB, free: 63.28 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.53, allocations: 0 / 0.8646 GB, free: 63.28 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.53, allocations: 7 kB / 0.8646 GB, free: 63.27 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.53, allocations: 3.938 kB / 0.8646 GB, free: 63.27 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02823/1.558, allocations: 15.07 MB / 0.8793 GB, free: 48.14 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.558, allocations: 4 kB / 0.8793 GB, free: 48.13 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/1.558, allocations: 4.25 kB / 0.8793 GB, free: 48.13 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/1.558, allocations: 4 kB / 0.8793 GB, free: 48.12 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/1.558, allocations: 3.984 kB / 0.8793 GB, free: 48.12 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.558, allocations: 4 kB / 0.8793 GB, free: 48.12 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.558, allocations: 3 kB / 0.8794 GB, free: 48.12 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006448/1.565, allocations: 5.039 MB / 0.8843 GB, free: 43 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005892/1.571, allocations: 3.501 MB / 0.8877 GB, free: 39.43 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003732/1.574, allocations: 132 kB / 0.8878 GB, free: 39.3 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004216/1.579, allocations: 135 kB / 0.8879 GB, free: 39.17 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/1.579, allocations: 4.781 kB / 0.888 GB, free: 39.16 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/1.579, allocations: 5.078 kB / 0.888 GB, free: 39.16 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.05777/1.636, allocations: 35.01 MB / 0.9221 GB, free: 4.457 MB / 0.5923 GB Notification: Performance of sort global known variables: time 5.71e-07/1.637, allocations: 0 / 0.9221 GB, free: 4.457 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.005815/1.642, allocations: 1.234 MB / 0.9233 GB, free: 3.227 MB / 0.5923 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.008242/1.651, allocations: 6.217 MB / 0.9294 GB, free: 13.1 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.0001845/1.651, allocations: 43.91 kB / 0.9295 GB, free: 13.06 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.651, allocations: 3 kB / 0.9295 GB, free: 13.06 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 5.879e-05/1.651, allocations: 16 kB / 0.9295 GB, free: 13.04 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01484/1.666, allocations: 3.405 MB / 0.9328 GB, free: 9.637 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.595/7.261, allocations: 1.207 GB / 2.14 GB, free: 346 MB / 0.8423 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02118/7.282, allocations: 17.34 MB / 2.157 GB, free: 328.6 MB / 0.8423 GB Notification: Performance of simCode: alias equations: time 0.0318/7.314, allocations: 11.33 MB / 2.168 GB, free: 317.8 MB / 0.8423 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02492/7.339, allocations: 21.7 MB / 2.189 GB, free: 296.1 MB / 0.8423 GB Notification: Performance of SimCode: time 1.443e-06/7.339, allocations: 0 / 2.189 GB, free: 296.1 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.38/8.719, allocations: 0.561 GB / 2.75 GB, free: 228 MB / 0.8423 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/8.719, allocations: 283.4 kB / 2.75 GB, free: 227.6 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.11/33.83, allocations: 1.406 kB / 2.75 GB, free: 227.6 MB / 0.8423 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_4000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_4000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches