Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.0008095/0.0008095, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008295/0.0008295, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9113/0.9113, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6582/0.6582, allocations: 88.06 MB / 348.7 MB, free: 14.38 MB / 330.7 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.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.523 GB, free: 4.086 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.051e-05, allocations: 2.281 kB / 0.523 GB, free: 4.082 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002144/0.002165, allocations: 1.564 MB / 0.5245 GB, free: 2.504 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.00328, allocations: 0.9897 MB / 0.5255 GB, free: 1.508 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.041e-05/0.003351, allocations: 4 kB / 0.5255 GB, free: 1.504 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.003641, allocations: 59.67 kB / 0.5255 GB, free: 1.445 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.004057, allocations: 163.3 kB / 0.5257 GB, free: 1.285 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.004193, allocations: 67.67 kB / 0.5257 GB, free: 1.219 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.004363, allocations: 143.6 kB / 0.5259 GB, free: 1.078 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.004404, allocations: 4 kB / 0.5259 GB, free: 1.074 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.004596, allocations: 91.61 kB / 0.526 GB, free: 0.9844 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.004708, allocations: 55.88 kB / 0.526 GB, free: 0.9297 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.004727, allocations: 8 kB / 0.526 GB, free: 0.9219 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.241e-05/0.004799, allocations: 27.98 kB / 0.5261 GB, free: 0.8945 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.0049, allocations: 83.73 kB / 0.5261 GB, free: 0.8125 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.004943, allocations: 35.8 kB / 0.5262 GB, free: 0.7773 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.005139, allocations: 151.3 kB / 0.5263 GB, free: 0.6289 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005142, allocations: 0 / 0.5263 GB, free: 0.6289 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.005144, allocations: 0 / 0.5263 GB, free: 0.6289 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.00515, allocations: 7.984 kB / 0.5263 GB, free: 0.6211 MB / 442.8 MB 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.0004781/0.005628, allocations: 424.9 kB / 0.5267 GB, free: 180 kB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.005667, allocations: 12.03 kB / 0.5267 GB, free: 168 kB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.744e-05/0.005695, allocations: 30.75 kB / 0.5268 GB, free: 128 kB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.005734, allocations: 24.8 kB / 0.5268 GB, free: 104 kB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.00609, allocations: 276.3 kB / 0.5271 GB, free: 15.8 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.006102, allocations: 384 / 0.5271 GB, free: 15.8 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.006113, allocations: 4.375 kB / 0.5271 GB, free: 15.8 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.006235, allocations: 57.92 kB / 0.5271 GB, free: 15.73 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.006243, allocations: 3.984 kB / 0.5271 GB, free: 15.73 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.00625, allocations: 4 kB / 0.5271 GB, free: 15.73 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.006255, allocations: 4 kB / 0.5271 GB, free: 15.72 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/0.006304, allocations: 15.98 kB / 0.5271 GB, free: 15.71 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.006471, allocations: 180.7 kB / 0.5273 GB, free: 15.49 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.006589, allocations: 50.61 kB / 0.5274 GB, free: 15.43 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.006622, allocations: 16.86 kB / 0.5274 GB, free: 15.41 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.006636, allocations: 0 / 0.5274 GB, free: 15.41 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.006764, allocations: 79.25 kB / 0.5275 GB, free: 15.32 MB / 458.8 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.006765, allocations: 0 / 0.5275 GB, free: 15.32 MB / 458.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002191/0.006984, allocations: 109.5 kB / 0.5276 GB, free: 15.21 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.007017, allocations: 55.41 kB / 0.5276 GB, free: 15.14 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.007215, allocations: 288.2 kB / 0.5279 GB, free: 14.86 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.007227, allocations: 33.7 kB / 0.5279 GB, free: 14.82 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.007288, allocations: 136.1 kB / 0.5281 GB, free: 14.68 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.007323, allocations: 15.84 kB / 0.5281 GB, free: 14.66 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.007354, allocations: 17.72 kB / 0.5281 GB, free: 14.64 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.00745, allocations: 338.8 kB / 0.5284 GB, free: 14.3 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.13e-05/0.007491, allocations: 15.98 kB / 0.5284 GB, free: 14.29 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.007528, allocations: 29.72 kB / 0.5284 GB, free: 14.25 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.376e-05/0.007591, allocations: 49.7 kB / 0.5285 GB, free: 14.2 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007594, allocations: 0 / 0.5285 GB, free: 14.2 MB / 458.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001056/0.007699, allocations: 101.4 kB / 0.5286 GB, free: 14.09 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.007712, allocations: 4 kB / 0.5286 GB, free: 14.09 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.007717, allocations: 0 / 0.5286 GB, free: 14.09 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.007729, allocations: 4 kB / 0.5286 GB, free: 14.08 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.00779, allocations: 8.312 kB / 0.5286 GB, free: 14.07 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.007796, allocations: 3.984 kB / 0.5286 GB, free: 14.07 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.007836, allocations: 19.97 kB / 0.5286 GB, free: 14.05 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.007843, allocations: 0 / 0.5286 GB, free: 14.05 MB / 458.8 MB 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.0001037/0.007946, allocations: 149.8 kB / 0.5288 GB, free: 13.89 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.007968, allocations: 23.8 kB / 0.5288 GB, free: 13.87 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.008123, allocations: 111.2 kB / 0.5289 GB, free: 13.76 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008125, allocations: 0 / 0.5289 GB, free: 13.76 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.008129, allocations: 0 / 0.5289 GB, free: 13.76 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.008132, allocations: 0 / 0.5289 GB, free: 13.76 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.008251, allocations: 192.6 kB / 0.5291 GB, free: 13.53 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.008252, allocations: 0 / 0.5291 GB, free: 13.53 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.00827, allocations: 4 kB / 0.5291 GB, free: 13.52 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.008273, allocations: 11.88 kB / 0.5291 GB, free: 13.51 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.008279, allocations: 0 / 0.5291 GB, free: 13.51 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.008281, allocations: 3.984 kB / 0.5291 GB, free: 13.51 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008282, allocations: 4 kB / 0.5291 GB, free: 13.5 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.008396, allocations: 124.9 kB / 0.5292 GB, free: 13.36 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.008436, allocations: 23.8 kB / 0.5293 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.008454, allocations: 8 kB / 0.5293 GB, free: 13.33 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.008476, allocations: 3.984 kB / 0.5293 GB, free: 13.33 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.008505, allocations: 4 kB / 0.5293 GB, free: 13.32 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.008518, allocations: 0 / 0.5293 GB, free: 13.32 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0001334/0.008651, allocations: 223 kB / 0.5295 GB, free: 13.11 MB / 458.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008651, allocations: 0 / 0.5295 GB, free: 13.11 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001573/0.008809, allocations: 23.94 kB / 0.5295 GB, free: 13.08 MB / 458.8 MB 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 (6): * Single equations (assignments): 4 * 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.0009891/0.009798, allocations: 0.9998 MB / 0.5305 GB, free: 12.24 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.009924, allocations: 43.97 kB / 0.5305 GB, free: 12.2 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.009926, allocations: 0 / 0.5305 GB, free: 12.2 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.009965, allocations: 23.92 kB / 0.5305 GB, free: 12.18 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.01019, allocations: 41.02 kB / 0.5306 GB, free: 12.13 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.01173, allocations: 2.037 MB / 0.5326 GB, free: 10.01 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.883e-05/0.01182, allocations: 131.8 kB / 0.5327 GB, free: 9.855 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 8.03e-05/0.0119, allocations: 37.61 kB / 0.5327 GB, free: 9.82 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.01199, allocations: 68.47 kB / 0.5328 GB, free: 9.754 MB / 458.8 MB Notification: Performance of SimCode: time 1.123e-06/0.01199, allocations: 0 / 0.5328 GB, free: 9.754 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.03273, allocations: 5.256 MB / 0.5379 GB, free: 4.551 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.36, allocations: 18.95 kB / 0.5379 GB, free: 4.539 MB / 458.8 MB " [Timeout remaining time 293] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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: 10.195400781929493]