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.001175/0.001175, allocations: 112.6 kB / 17.06 MB, free: 6.016 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.001122/0.001122, allocations: 191.9 kB / 18 MB, free: 5.098 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.296/1.296, 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.897/0.897, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 62.91 kB / 0.5704 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1443, 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.003209/0.1476, allocations: 1.566 MB / 0.6508 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.1493, allocations: 0.8924 MB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.1494, allocations: 4 kB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0008363/0.1503, allocations: 0.8965 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0006537/0.151, allocations: 0.5223 MB / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.1513, allocations: 103.6 kB / 0.6531 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009501/0.1522, allocations: 1.166 MB / 0.6543 GB, free: 8.383 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.1523, allocations: 15.98 kB / 0.6543 GB, free: 8.367 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007452/0.153, allocations: 0.5809 MB / 0.6549 GB, free: 7.785 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008381/0.1539, allocations: 1.045 MB / 0.6559 GB, free: 6.738 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.154, allocations: 68 kB / 0.6559 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.1542, allocations: 91.98 kB / 0.656 GB, free: 6.582 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002245/0.1565, allocations: 2.509 MB / 0.6585 GB, free: 4.066 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.1577, allocations: 1.427 MB / 0.6599 GB, free: 2.625 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002466/0.1601, allocations: 3.201 MB / 0.663 GB, free: 15.4 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1602, allocations: 0 / 0.663 GB, free: 15.4 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1602, allocations: 0 / 0.663 GB, free: 15.4 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.843e-05/0.1602, allocations: 0 / 0.663 GB, free: 15.4 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.005676/0.1659, allocations: 5.406 MB / 0.6683 GB, free: 9.902 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.166, allocations: 15.89 kB / 0.6683 GB, free: 9.887 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.166, allocations: 30.75 kB / 0.6683 GB, free: 9.848 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006026/0.1667, allocations: 0.5867 MB / 0.6689 GB, free: 9.258 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0095/0.1762, allocations: 6.655 MB / 0.6754 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.1762, allocations: 384 / 0.6754 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1763, allocations: 7.938 kB / 0.6754 GB, free: 2.523 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1764, allocations: 45.67 kB / 0.6754 GB, free: 2.473 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1765, allocations: 4 kB / 0.6754 GB, free: 2.469 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1765, allocations: 3.984 kB / 0.6754 GB, free: 2.465 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1765, allocations: 0 / 0.6754 GB, free: 2.465 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.371e-05/0.1766, allocations: 15.94 kB / 0.6755 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.1786, allocations: 1.863 MB / 0.6773 GB, free: 0.5391 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1788, allocations: 54.55 kB / 0.6773 GB, free: 488 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.1789, allocations: 20.84 kB / 0.6774 GB, free: 464 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.1789, allocations: 0 / 0.6774 GB, free: 464 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.1791, allocations: 71.33 kB / 0.6774 GB, free: 380 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.1791, allocations: 3.938 kB / 0.6774 GB, free: 376 kB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.000997/0.1801, allocations: 0.6851 MB / 0.6781 GB, free: 15.67 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.1802, allocations: 51.41 kB / 0.6781 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007359/0.1875, allocations: 6.446 MB / 0.6844 GB, free: 9.207 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1876, allocations: 29.7 kB / 0.6845 GB, free: 9.172 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002237/0.1898, allocations: 2.661 MB / 0.6871 GB, free: 6.508 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.1899, allocations: 15.89 kB / 0.6871 GB, free: 6.492 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.19, allocations: 21.72 kB / 0.6871 GB, free: 6.465 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1901, allocations: 314 kB / 0.6874 GB, free: 6.152 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.1902, allocations: 12 kB / 0.6874 GB, free: 6.141 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.1902, allocations: 29.64 kB / 0.6874 GB, free: 6.105 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1904, allocations: 41.7 kB / 0.6875 GB, free: 6.059 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.1904, allocations: 7.938 kB / 0.6875 GB, free: 6.051 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001074/0.1915, allocations: 0.6772 MB / 0.6882 GB, free: 5.363 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1915, allocations: 4 kB / 0.6882 GB, free: 5.359 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1915, allocations: 4 kB / 0.6882 GB, free: 5.355 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1915, allocations: 0 / 0.6882 GB, free: 5.355 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.1916, allocations: 8 kB / 0.6882 GB, free: 5.348 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1916, allocations: 3.984 kB / 0.6882 GB, free: 5.344 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/0.1923, allocations: 23.95 kB / 0.6882 GB, free: 5.32 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.1923, allocations: 0 / 0.6882 GB, free: 5.32 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.001686/0.194, allocations: 1.284 MB / 0.6894 GB, free: 4.027 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006948/0.1947, allocations: 0.6171 MB / 0.69 GB, free: 3.406 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008738/0.1956, allocations: 0.6559 MB / 0.6907 GB, free: 2.746 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1956, allocations: 0 / 0.6907 GB, free: 2.746 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1956, allocations: 0 / 0.6907 GB, free: 2.746 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1956, allocations: 0 / 0.6907 GB, free: 2.746 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.1977, allocations: 2.034 MB / 0.6927 GB, free: 0.6641 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.1977, allocations: 0 / 0.6927 GB, free: 0.6641 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.1978, allocations: 4 kB / 0.6927 GB, free: 0.6602 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1978, allocations: 0 / 0.6927 GB, free: 0.6602 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1978, allocations: 3.984 kB / 0.6927 GB, free: 0.6562 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1978, allocations: 4 kB / 0.6927 GB, free: 0.6523 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1978, allocations: 4 kB / 0.6927 GB, free: 0.6484 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1989, allocations: 0.748 MB / 0.6934 GB, free: 15.88 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008652/0.1997, allocations: 0.54 MB / 0.6939 GB, free: 15.32 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/0.2001, allocations: 16 kB / 0.694 GB, free: 15.3 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.2004, allocations: 23.98 kB / 0.694 GB, free: 15.28 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.2005, allocations: 7.938 kB / 0.694 GB, free: 15.27 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.2005, allocations: 8 kB / 0.694 GB, free: 15.26 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005991/0.2065, allocations: 4.416 MB / 0.6983 GB, free: 10.89 MB / 0.5452 GB Notification: Performance of sort global known variables: time 8.41e-07/0.2065, allocations: 0 / 0.6983 GB, free: 10.89 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0008368/0.2074, allocations: 179.9 kB / 0.6985 GB, free: 10.71 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.002017/0.2094, allocations: 1.622 MB / 0.7001 GB, free: 9.215 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.2096, allocations: 47.92 kB / 0.7001 GB, free: 9.168 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2097, allocations: 0 / 0.7001 GB, free: 9.168 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 6.18e-05/0.2097, allocations: 19.98 kB / 0.7001 GB, free: 9.148 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.2111, allocations: 465.3 kB / 0.7006 GB, free: 8.691 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04122/0.2524, allocations: 32.34 MB / 0.7322 GB, free: 8.234 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002383/0.2548, allocations: 2.737 MB / 0.7348 GB, free: 5.473 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.00268/0.2575, allocations: 1.399 MB / 0.7362 GB, free: 4.066 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002394/0.2599, allocations: 2.377 MB / 0.7385 GB, free: 1.688 MB / 0.5764 GB Notification: Performance of SimCode: time 1.283e-06/0.2599, allocations: 0 / 0.7385 GB, free: 1.688 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6226/0.8825, allocations: 74.65 MB / 0.8114 GB, free: 81.67 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 72.31/73.2, allocations: 0.625 kB / 0.8114 GB, free: 81.67 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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