Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500",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.001437/0.001437, allocations: 111.6 kB / 17.06 MB, free: 6 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.001648/0.001648, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.275/1.275, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8381/0.8381, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 70.17 kB / 0.5704 GB, free: 40.04 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1389, allocations: 80.71 MB / 0.6492 GB, free: 13.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002709/0.1416, allocations: 1.566 MB / 0.6508 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.143, allocations: 0.8924 MB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.471e-05/0.1431, allocations: 4 kB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0008649/0.144, allocations: 0.8926 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0006216/0.1446, allocations: 0.53 MB / 0.653 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.145, allocations: 103.6 kB / 0.6531 GB, free: 9.547 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008675/0.1458, allocations: 1.166 MB / 0.6543 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.1459, allocations: 11.97 kB / 0.6543 GB, free: 8.367 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005216/0.1464, allocations: 0.5848 MB / 0.6548 GB, free: 7.781 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008081/0.1472, allocations: 1.041 MB / 0.6559 GB, free: 6.738 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.1474, allocations: 64 kB / 0.6559 GB, free: 6.676 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.1476, allocations: 92 kB / 0.656 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.00228/0.1498, allocations: 2.517 MB / 0.6585 GB, free: 4.062 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.1509, allocations: 1.427 MB / 0.6599 GB, free: 2.621 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.1533, allocations: 3.17 MB / 0.663 GB, free: 15.43 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1533, allocations: 3.938 kB / 0.663 GB, free: 15.43 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1533, allocations: 3.938 kB / 0.663 GB, free: 15.43 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.48e-05/0.1534, allocations: 0 / 0.663 GB, free: 15.43 MB / 0.5139 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.005791/0.1592, allocations: 5.175 MB / 0.668 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.1593, allocations: 11.89 kB / 0.668 GB, free: 10.15 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.1593, allocations: 38.75 kB / 0.6681 GB, free: 10.11 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.1599, allocations: 0.5599 MB / 0.6686 GB, free: 9.539 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009343/0.1692, allocations: 6.555 MB / 0.675 GB, free: 2.902 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1693, allocations: 384 / 0.675 GB, free: 2.902 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1693, allocations: 3.938 kB / 0.675 GB, free: 2.898 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1695, allocations: 49.67 kB / 0.6751 GB, free: 2.844 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1695, allocations: 3.938 kB / 0.6751 GB, free: 2.84 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1695, allocations: 0 / 0.6751 GB, free: 2.84 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1695, allocations: 0 / 0.6751 GB, free: 2.84 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.1696, allocations: 15.98 kB / 0.6751 GB, free: 2.824 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.1721, allocations: 1.859 MB / 0.6769 GB, free: 0.918 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1723, allocations: 54.55 kB / 0.677 GB, free: 0.8555 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.1724, allocations: 20.8 kB / 0.677 GB, free: 0.832 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1724, allocations: 7.938 kB / 0.677 GB, free: 0.8242 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.1726, allocations: 71.33 kB / 0.6771 GB, free: 0.7422 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 2.334e-06/0.1726, allocations: 0 / 0.6771 GB, free: 0.7422 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.0009805/0.1736, allocations: 0.6621 MB / 0.6777 GB, free: 68 kB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1736, allocations: 51.41 kB / 0.6777 GB, free: 4 kB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007352/0.181, allocations: 6.439 MB / 0.684 GB, free: 9.609 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1811, allocations: 29.7 kB / 0.6841 GB, free: 9.574 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002312/0.1834, allocations: 2.657 MB / 0.6867 GB, free: 6.914 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 6.613e-05/0.1835, allocations: 19.83 kB / 0.6867 GB, free: 6.895 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.1835, allocations: 21.72 kB / 0.6867 GB, free: 6.867 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1837, allocations: 306 kB / 0.687 GB, free: 6.562 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.1838, allocations: 19.92 kB / 0.687 GB, free: 6.543 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.294e-05/0.1839, allocations: 33.69 kB / 0.687 GB, free: 6.504 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.184, allocations: 37.72 kB / 0.6871 GB, free: 6.461 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.184, allocations: 7.938 kB / 0.6871 GB, free: 6.453 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001065/0.185, allocations: 0.6507 MB / 0.6877 GB, free: 5.789 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.1851, allocations: 4 kB / 0.6877 GB, free: 5.785 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1851, allocations: 0 / 0.6877 GB, free: 5.785 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.1851, allocations: 4 kB / 0.6877 GB, free: 5.781 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.399e-05/0.1852, allocations: 12 kB / 0.6877 GB, free: 5.77 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1852, allocations: 160 / 0.6877 GB, free: 5.77 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/0.1858, allocations: 23.91 kB / 0.6878 GB, free: 5.746 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1859, allocations: 0 / 0.6878 GB, free: 5.746 MB / 0.5295 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.001792/0.1876, allocations: 1.283 MB / 0.689 GB, free: 4.453 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007182/0.1884, allocations: 0.5941 MB / 0.6896 GB, free: 3.852 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/0.1893, allocations: 0.652 MB / 0.6902 GB, free: 3.195 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1893, allocations: 3.984 kB / 0.6902 GB, free: 3.191 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1893, allocations: 0 / 0.6902 GB, free: 3.191 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1893, allocations: 3.984 kB / 0.6902 GB, free: 3.188 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.1912, allocations: 2.031 MB / 0.6922 GB, free: 1.109 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1913, allocations: 0 / 0.6922 GB, free: 1.109 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.1913, allocations: 4 kB / 0.6922 GB, free: 1.105 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1913, allocations: 0 / 0.6922 GB, free: 1.105 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1913, allocations: 4 kB / 0.6922 GB, free: 1.102 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1913, allocations: 3.938 kB / 0.6922 GB, free: 1.098 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1913, allocations: 0 / 0.6922 GB, free: 1.098 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/0.1922, allocations: 0.7212 MB / 0.6929 GB, free: 360 kB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007301/0.1929, allocations: 0.5132 MB / 0.6934 GB, free: 15.81 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.1931, allocations: 16 kB / 0.6935 GB, free: 15.8 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.1934, allocations: 16 kB / 0.6935 GB, free: 15.78 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.1935, allocations: 15.98 kB / 0.6935 GB, free: 15.77 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1935, allocations: 3.938 kB / 0.6935 GB, free: 15.76 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005815/0.1993, allocations: 4.416 MB / 0.6978 GB, free: 11.39 MB / 0.5452 GB Notification: Performance of sort global known variables: time 2.81e-07/0.1994, allocations: 0 / 0.6978 GB, free: 11.39 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001/0.2004, allocations: 180 kB / 0.698 GB, free: 11.21 MB / 0.5452 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.002315/0.2027, allocations: 1.582 MB / 0.6995 GB, free: 9.75 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.203, allocations: 43.92 kB / 0.6996 GB, free: 9.707 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.203, allocations: 0 / 0.6996 GB, free: 9.707 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 6.651e-05/0.203, allocations: 23.92 kB / 0.6996 GB, free: 9.684 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.2044, allocations: 459.2 kB / 0.7 GB, free: 9.238 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04238/0.2468, allocations: 32.2 MB / 0.7315 GB, free: 8.934 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00242/0.2492, allocations: 2.733 MB / 0.7341 GB, free: 6.176 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.002751/0.252, allocations: 1.403 MB / 0.7355 GB, free: 4.766 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00258/0.2546, allocations: 2.385 MB / 0.7378 GB, free: 2.379 MB / 0.5764 GB Notification: Performance of SimCode: time 8.91e-07/0.2546, allocations: 0 / 0.7378 GB, free: 2.379 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6169/0.8716, allocations: 74.64 MB / 0.8107 GB, free: 83.91 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 57.32/58.19, allocations: 2.344 kB / 0.8107 GB, free: 83.91 MB / 0.6079 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches