Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.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_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_250",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.001546/0.001546, allocations: 107.9 kB / 17.06 MB, free: 6.004 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.001725/0.001725, allocations: 189.4 kB / 18 MB, free: 5.09 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.453/1.453, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.165/1.165, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 67.81 kB / 0.5704 GB, free: 40.03 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1739, allocations: 80.7 MB / 0.6492 GB, free: 13.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250): time 0.003558/0.1775, allocations: 1.577 MB / 0.6508 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1793, allocations: 0.8885 MB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1794, allocations: 0 / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0007048/0.1801, allocations: 483.2 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0006127/0.1808, allocations: 315.4 kB / 0.6524 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.1812, allocations: 111.5 kB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007856/0.182, allocations: 0.628 MB / 0.6531 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.883e-05/0.1821, allocations: 15.97 kB / 0.6531 GB, free: 9.547 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006594/0.1828, allocations: 319.4 kB / 0.6534 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007212/0.1835, allocations: 0.5422 MB / 0.654 GB, free: 8.691 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.1836, allocations: 32 kB / 0.654 GB, free: 8.66 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.1838, allocations: 63.98 kB / 0.6541 GB, free: 8.598 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001583/0.1854, allocations: 1.266 MB / 0.6553 GB, free: 7.328 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0007595/0.1862, allocations: 0.735 MB / 0.656 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.188, allocations: 1.642 MB / 0.6576 GB, free: 4.934 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1881, allocations: 0 / 0.6576 GB, free: 4.934 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.475e-06/0.1881, allocations: 0 / 0.6576 GB, free: 4.934 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.591e-05/0.1881, allocations: 4 kB / 0.6576 GB, free: 4.93 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.003591/0.1917, allocations: 2.897 MB / 0.6605 GB, free: 1.965 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1918, allocations: 15.89 kB / 0.6605 GB, free: 1.949 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.1918, allocations: 30.75 kB / 0.6605 GB, free: 1.91 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003822/0.1922, allocations: 306.8 kB / 0.6608 GB, free: 1.609 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005203/0.1974, allocations: 3.394 MB / 0.6641 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1975, allocations: 384 / 0.6641 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.1975, allocations: 7.938 kB / 0.6641 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1977, allocations: 53.67 kB / 0.6642 GB, free: 14.1 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1977, allocations: 0 / 0.6642 GB, free: 14.1 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1977, allocations: 0 / 0.6642 GB, free: 14.1 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1977, allocations: 0 / 0.6642 GB, free: 14.1 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.04e-05/0.1978, allocations: 15.92 kB / 0.6642 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.1991, allocations: 1.012 MB / 0.6652 GB, free: 13.03 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1993, allocations: 58.5 kB / 0.6652 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.944e-05/0.1994, allocations: 20.84 kB / 0.6652 GB, free: 12.94 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.1994, allocations: 3.984 kB / 0.6652 GB, free: 12.93 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.1996, allocations: 71.33 kB / 0.6653 GB, free: 12.85 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.552e-06/0.1996, allocations: 0 / 0.6653 GB, free: 12.85 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.0007069/0.2003, allocations: 395.6 kB / 0.6657 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.2004, allocations: 55.41 kB / 0.6657 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004228/0.2046, allocations: 3.288 MB / 0.669 GB, free: 9.125 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.2047, allocations: 25.7 kB / 0.669 GB, free: 9.094 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.206, allocations: 1.318 MB / 0.6703 GB, free: 7.773 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.2061, allocations: 15.91 kB / 0.6703 GB, free: 7.758 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.2061, allocations: 21.7 kB / 0.6703 GB, free: 7.73 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2063, allocations: 310 kB / 0.6706 GB, free: 7.422 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.671e-05/0.2064, allocations: 15.98 kB / 0.6706 GB, free: 7.406 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.2065, allocations: 33.66 kB / 0.6706 GB, free: 7.367 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.2066, allocations: 41.7 kB / 0.6707 GB, free: 7.32 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.2066, allocations: 3.938 kB / 0.6707 GB, free: 7.316 MB / 0.5139 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006214/0.2072, allocations: 387.8 kB / 0.6711 GB, free: 6.93 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2073, allocations: 4 kB / 0.6711 GB, free: 6.926 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2073, allocations: 0 / 0.6711 GB, free: 6.926 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2073, allocations: 4 kB / 0.6711 GB, free: 6.922 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.2074, allocations: 20.02 kB / 0.6711 GB, free: 6.902 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2074, allocations: 0 / 0.6711 GB, free: 6.902 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.2077, allocations: 15.94 kB / 0.6711 GB, free: 6.887 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-06/0.2077, allocations: 0 / 0.6711 GB, free: 6.887 MB / 0.5139 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.0009345/0.2086, allocations: 0.7018 MB / 0.6718 GB, free: 6.176 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/0.209, allocations: 321.9 kB / 0.6721 GB, free: 5.859 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.2094, allocations: 337.8 kB / 0.6724 GB, free: 5.527 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2094, allocations: 0 / 0.6724 GB, free: 5.527 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.2094, allocations: 0 / 0.6724 GB, free: 5.527 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.2094, allocations: 11.94 kB / 0.6724 GB, free: 5.516 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.2106, allocations: 1.097 MB / 0.6735 GB, free: 4.375 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2106, allocations: 3.984 kB / 0.6735 GB, free: 4.371 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.2106, allocations: 8 kB / 0.6735 GB, free: 4.363 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2106, allocations: 0 / 0.6735 GB, free: 4.363 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2107, allocations: 0 / 0.6735 GB, free: 4.363 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2107, allocations: 0 / 0.6735 GB, free: 4.363 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2107, allocations: 0 / 0.6735 GB, free: 4.363 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.2112, allocations: 441.3 kB / 0.6739 GB, free: 3.914 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.2116, allocations: 319 kB / 0.6742 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.2117, allocations: 11.98 kB / 0.6742 GB, free: 3.57 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.2119, allocations: 12 kB / 0.6743 GB, free: 3.559 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.2119, allocations: 3.938 kB / 0.6743 GB, free: 3.555 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.212, allocations: 4 kB / 0.6743 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002974/0.2149, allocations: 2.263 MB / 0.6765 GB, free: 1.309 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.084e-06/0.215, allocations: 3.938 kB / 0.6765 GB, free: 1.305 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004177/0.2154, allocations: 99.94 kB / 0.6766 GB, free: 1.207 MB / 0.5139 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.002302/0.2177, allocations: 1.281 MB / 0.6778 GB, free: 52 kB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.218, allocations: 55.89 kB / 0.6779 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.218, allocations: 0 / 0.6779 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 6.345e-05/0.218, allocations: 16 kB / 0.6779 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008109/0.2189, allocations: 249.9 kB / 0.6781 GB, free: 15.73 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/0.242, allocations: 16.67 MB / 0.6944 GB, free: 14.84 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/0.2437, allocations: 1.703 MB / 0.6961 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001529/0.2452, allocations: 0.706 MB / 0.6968 GB, free: 12.39 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/0.2466, allocations: 1.151 MB / 0.6979 GB, free: 11.24 MB / 0.5452 GB Notification: Performance of SimCode: time 9.62e-07/0.2466, allocations: 0 / 0.6979 GB, free: 11.24 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0893/0.3359, allocations: 38.6 MB / 0.7356 GB, free: 4.754 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.87/20.21, allocations: 8.672 kB / 0.7356 GB, free: 4.746 MB / 0.5764 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_250_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_250.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches