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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 214.9 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.133/1.133, allocations: 120.6 MB / 434.5 MB, free: 0.832 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 65.94 kB / 0.6068 GB, free: 10.96 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1962, allocations: 85.87 MB / 0.6906 GB, free: 4.875 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.003786/0.2, allocations: 1.603 MB / 0.6922 GB, free: 3.262 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.2021, allocations: 1.076 MB / 0.6932 GB, free: 2.18 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.2022, allocations: 3.938 kB / 0.6932 GB, free: 2.176 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.2033, allocations: 0.8965 MB / 0.6941 GB, free: 1.277 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0009354/0.2042, allocations: 0.569 MB / 0.6947 GB, free: 0.707 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.2045, allocations: 75.66 kB / 0.6947 GB, free: 0.6328 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.001209/0.2057, allocations: 1.174 MB / 0.6959 GB, free: 15.46 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/0.2058, allocations: 11.88 kB / 0.6959 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.2068, allocations: 0.5927 MB / 0.6965 GB, free: 14.85 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.2084, allocations: 1.178 MB / 0.6976 GB, free: 13.67 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002803/0.2087, allocations: 68 kB / 0.6977 GB, free: 13.61 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.209, allocations: 92 kB / 0.6978 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.003433/0.2124, allocations: 2.607 MB / 0.7003 GB, free: 10.9 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.002245/0.2147, allocations: 1.435 MB / 0.7017 GB, free: 9.453 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.004052/0.2187, allocations: 3.201 MB / 0.7048 GB, free: 6.23 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.2188, allocations: 4 kB / 0.7049 GB, free: 6.227 MB / 0.5295 GB Notification: Performance of FrontEnd: time 2.856e-06/0.2188, allocations: 0 / 0.7049 GB, free: 6.227 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0001445/0.2189, allocations: 0 / 0.7049 GB, free: 6.227 MB / 0.5295 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.008667/0.2276, allocations: 5.334 MB / 0.7101 GB, free: 0.8203 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.2276, allocations: 8.031 kB / 0.7101 GB, free: 0.8125 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.085e-05/0.2277, allocations: 34.75 kB / 0.7101 GB, free: 0.7695 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.2287, allocations: 0.5906 MB / 0.7107 GB, free: 180 kB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01391/0.2426, allocations: 6.35 MB / 0.7169 GB, free: 9.719 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.2426, allocations: 384 / 0.7169 GB, free: 9.719 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.2426, allocations: 7.938 kB / 0.7169 GB, free: 9.711 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.2429, allocations: 49.67 kB / 0.7169 GB, free: 9.656 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.2429, allocations: 0 / 0.7169 GB, free: 9.656 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2429, allocations: 0 / 0.7169 GB, free: 9.656 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2429, allocations: 0 / 0.7169 GB, free: 9.656 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.243, allocations: 23.86 kB / 0.717 GB, free: 9.633 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/0.2463, allocations: 1.839 MB / 0.7188 GB, free: 7.754 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.2465, allocations: 54.56 kB / 0.7188 GB, free: 7.691 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.2466, allocations: 16.84 kB / 0.7188 GB, free: 7.672 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.2466, allocations: 4 kB / 0.7188 GB, free: 7.668 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.2468, allocations: 67.33 kB / 0.7189 GB, free: 7.59 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=5): time 2.525e-06/0.2468, allocations: 0 / 0.7189 GB, free: 7.59 MB / 0.5452 GB Notification: Performance of matching and sorting (n=5): time 0.001421/0.2483, allocations: 0.6851 MB / 0.7196 GB, free: 6.895 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.2483, allocations: 55.41 kB / 0.7196 GB, free: 6.828 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/0.2586, allocations: 6.451 MB / 0.7259 GB, free: 432 kB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.2587, allocations: 25.7 kB / 0.7259 GB, free: 400 kB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.003089/0.2618, allocations: 2.661 MB / 0.7285 GB, free: 13.73 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 8.79e-05/0.2619, allocations: 19.83 kB / 0.7286 GB, free: 13.71 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.2619, allocations: 21.66 kB / 0.7286 GB, free: 13.68 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2621, allocations: 310 kB / 0.7289 GB, free: 13.37 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.2622, allocations: 15.98 kB / 0.7289 GB, free: 13.36 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.659e-05/0.2623, allocations: 41.62 kB / 0.7289 GB, free: 13.31 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.2624, allocations: 37.72 kB / 0.729 GB, free: 13.27 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.2624, allocations: 3.938 kB / 0.729 GB, free: 13.26 MB / 0.5608 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001366/0.2638, allocations: 0.6772 MB / 0.7296 GB, free: 12.57 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.2638, allocations: 8 kB / 0.7296 GB, free: 12.57 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2638, allocations: 32 / 0.7296 GB, free: 12.57 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.2638, allocations: 4 kB / 0.7296 GB, free: 12.56 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.071e-05/0.2639, allocations: 8 kB / 0.7296 GB, free: 12.55 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2639, allocations: 0 / 0.7296 GB, free: 12.55 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.2645, allocations: 20 kB / 0.7297 GB, free: 12.54 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2645, allocations: 0 / 0.7297 GB, free: 12.54 MB / 0.5608 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.002025/0.2665, allocations: 1.282 MB / 0.7309 GB, free: 11.24 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007765/0.2673, allocations: 0.6287 MB / 0.7315 GB, free: 10.61 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.2685, allocations: 0.7206 MB / 0.7322 GB, free: 9.883 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.2685, allocations: 11.98 kB / 0.7322 GB, free: 9.871 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2685, allocations: 0 / 0.7322 GB, free: 9.871 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2685, allocations: 3.984 kB / 0.7322 GB, free: 9.867 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.2709, allocations: 2.006 MB / 0.7342 GB, free: 7.82 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2709, allocations: 0 / 0.7342 GB, free: 7.82 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.271, allocations: 4 kB / 0.7342 GB, free: 7.816 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.271, allocations: 0 / 0.7342 GB, free: 7.816 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.271, allocations: 4 kB / 0.7342 GB, free: 7.812 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.271, allocations: 0 / 0.7342 GB, free: 7.812 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.271, allocations: 0 / 0.7342 GB, free: 7.812 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.272, allocations: 0.7559 MB / 0.735 GB, free: 7.035 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008457/0.2728, allocations: 483.9 kB / 0.7354 GB, free: 6.559 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.2731, allocations: 19.94 kB / 0.7354 GB, free: 6.539 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.2734, allocations: 20 kB / 0.7355 GB, free: 6.52 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.2734, allocations: 7.984 kB / 0.7355 GB, free: 6.512 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.2735, allocations: 0 / 0.7355 GB, free: 6.512 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.006881/0.2803, allocations: 4.424 MB / 0.7398 GB, free: 2.129 MB / 0.5608 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2803, allocations: 0 / 0.7398 GB, free: 2.129 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.000931/0.2813, allocations: 175.9 kB / 0.7399 GB, free: 1.957 MB / 0.5608 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * 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.002862/0.2841, allocations: 1.627 MB / 0.7415 GB, free: 472 kB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.2843, allocations: 39.98 kB / 0.7416 GB, free: 432 kB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2843, allocations: 4.062 kB / 0.7416 GB, free: 428 kB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 6.643e-05/0.2844, allocations: 19.98 kB / 0.7416 GB, free: 408 kB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.2858, allocations: 455.3 kB / 0.742 GB, free: 15.95 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7543/1.04, allocations: 32.38 MB / 0.7736 GB, free: 55.84 MB / 0.5767 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002583/1.043, allocations: 2.737 MB / 0.7763 GB, free: 54.94 MB / 0.5767 GB Notification: Performance of simCode: alias equations: time 0.002381/1.045, allocations: 1.402 MB / 0.7777 GB, free: 54.43 MB / 0.5767 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001971/1.047, allocations: 2.38 MB / 0.78 GB, free: 52.42 MB / 0.5767 GB Notification: Performance of SimCode: time 2.545e-06/1.047, allocations: 0 / 0.78 GB, free: 52.42 MB / 0.5767 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/1.185, allocations: 75.13 MB / 0.8534 GB, free: 13.23 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 75.87/77.05, allocations: 10.58 kB / 0.8534 GB, free: 13.23 MB / 0.6079 GB " [Timeout remaining time 223] (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) [Timeout 315.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 81.59747569699539]