Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 119.9 kB / 17.79 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 185.2 kB / 20.73 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 249.1 MB, free: 3.582 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7441/0.7441, allocations: 120.6 MB / 424.6 MB, free: 5.508 MB / 350.1 MB " [Timeout remaining time 179] 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.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.89 kB / 0.5932 GB, free: 3.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.6227, allocations: 84.64 MB / 0.6759 GB, free: 16.36 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002775/0.6255, allocations: 1.429 MB / 0.6773 GB, free: 15.36 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.6265, allocations: 0.5753 MB / 0.6778 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.6265, allocations: 5.156 kB / 0.6778 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007166/0.6272, allocations: 0.8618 MB / 0.6787 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0008418/0.6281, allocations: 0.9069 MB / 0.6796 GB, free: 14.02 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.6284, allocations: 84.38 kB / 0.6796 GB, free: 13.97 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.6304, allocations: 2.186 MB / 0.6818 GB, free: 12.91 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.6304, allocations: 2.531 kB / 0.6818 GB, free: 12.91 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.632, allocations: 1.086 MB / 0.6828 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/0.6346, allocations: 2.295 MB / 0.6851 GB, free: 11.41 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003727/0.635, allocations: 127.4 kB / 0.6852 GB, free: 11.41 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.6354, allocations: 201.9 kB / 0.6854 GB, free: 11.37 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.005185/0.6406, allocations: 5.119 MB / 0.6904 GB, free: 8.832 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.003012/0.6436, allocations: 2.826 MB / 0.6932 GB, free: 6.41 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.006044/0.6496, allocations: 6.312 MB / 0.6993 GB, free: 2.469 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.6496, allocations: 0 / 0.6993 GB, free: 2.469 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6496, allocations: 4 kB / 0.6993 GB, free: 2.465 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0003181/0.6499, allocations: 1.25 kB / 0.6993 GB, free: 2.465 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0182/0.6681, allocations: 10.39 MB / 0.7095 GB, free: 8.688 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.6682, allocations: 15.89 kB / 0.7095 GB, free: 8.672 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.537e-05/0.6683, allocations: 34.75 kB / 0.7095 GB, free: 8.629 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.6702, allocations: 1.169 MB / 0.7107 GB, free: 7.453 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0297/0.6999, allocations: 13.13 MB / 0.7235 GB, free: 10.21 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.6999, allocations: 4.375 kB / 0.7235 GB, free: 10.21 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.543e-05/0.7, allocations: 40.38 kB / 0.7235 GB, free: 10.17 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006496/0.7006, allocations: 425.4 kB / 0.7239 GB, free: 9.75 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.7006, allocations: 3.938 kB / 0.7239 GB, free: 9.746 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.7007, allocations: 32 kB / 0.724 GB, free: 9.715 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.7007, allocations: 0 / 0.724 GB, free: 9.715 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.7011, allocations: 243.9 kB / 0.7242 GB, free: 9.477 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008133/0.7092, allocations: 3.572 MB / 0.7277 GB, free: 5.859 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.7096, allocations: 162.5 kB / 0.7278 GB, free: 5.691 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.7099, allocations: 148.9 kB / 0.728 GB, free: 5.543 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.7099, allocations: 4 kB / 0.728 GB, free: 5.539 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006069/0.7105, allocations: 408.6 kB / 0.7284 GB, free: 5.121 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 3.216e-06/0.7106, allocations: 0 / 0.7284 GB, free: 5.121 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.003775/0.7143, allocations: 2.249 MB / 0.7306 GB, free: 2.855 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.7144, allocations: 85.09 kB / 0.7307 GB, free: 2.754 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02385/0.7383, allocations: 12.46 MB / 0.7428 GB, free: 6.387 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.0002005/0.7385, allocations: 57.7 kB / 0.7429 GB, free: 6.324 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.007131/0.7456, allocations: 5.204 MB / 0.748 GB, free: 1.117 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/0.746, allocations: 59.78 kB / 0.748 GB, free: 1.059 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/0.7463, allocations: 237.7 kB / 0.7482 GB, free: 0.8203 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7464, allocations: 310 kB / 0.7485 GB, free: 0.5117 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.7467, allocations: 144 kB / 0.7487 GB, free: 380 kB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.7469, allocations: 139.9 kB / 0.7488 GB, free: 240 kB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.7475, allocations: 352.3 kB / 0.7491 GB, free: 15.87 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7475, allocations: 4 kB / 0.7492 GB, free: 15.87 MB / 0.5764 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003144/0.7506, allocations: 2.12 MB / 0.7512 GB, free: 13.73 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.7507, allocations: 29.7 kB / 0.7512 GB, free: 13.7 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.7507, allocations: 0 / 0.7512 GB, free: 13.7 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.7507, allocations: 4 kB / 0.7513 GB, free: 13.69 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.7508, allocations: 8 kB / 0.7513 GB, free: 13.68 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.7508, allocations: 4.078 kB / 0.7513 GB, free: 13.68 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.752, allocations: 35.94 kB / 0.7513 GB, free: 13.64 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004137/0.7524, allocations: 440 kB / 0.7517 GB, free: 13.21 MB / 0.5764 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.006285/0.7587, allocations: 2.529 MB / 0.7542 GB, free: 10.67 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001867/0.7605, allocations: 1.199 MB / 0.7554 GB, free: 9.461 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/0.7639, allocations: 1.284 MB / 0.7566 GB, free: 8.172 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.7639, allocations: 0 / 0.7566 GB, free: 8.172 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7639, allocations: 0 / 0.7566 GB, free: 8.172 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.7639, allocations: 0 / 0.7566 GB, free: 8.172 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007924/0.7718, allocations: 3.9 MB / 0.7604 GB, free: 4.227 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.7718, allocations: 3.938 kB / 0.7604 GB, free: 4.223 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.7719, allocations: 4 kB / 0.7604 GB, free: 4.219 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.7719, allocations: 0 / 0.7604 GB, free: 4.219 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004051/0.7723, allocations: 104 kB / 0.7605 GB, free: 4.117 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.7723, allocations: 0 / 0.7605 GB, free: 4.117 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7723, allocations: 0 / 0.7605 GB, free: 4.117 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/0.7756, allocations: 2.228 MB / 0.7627 GB, free: 1.859 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002709/0.7783, allocations: 1.098 MB / 0.7638 GB, free: 0.7344 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006615/0.779, allocations: 36 kB / 0.7638 GB, free: 0.6992 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006689/0.7797, allocations: 39.98 kB / 0.7638 GB, free: 0.6602 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.7797, allocations: 0 / 0.7638 GB, free: 0.6602 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004003/0.7801, allocations: 448 kB / 0.7643 GB, free: 228 kB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01742/0.7975, allocations: 8.567 MB / 0.7726 GB, free: 7.734 MB / 0.592 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7975, allocations: 0 / 0.7726 GB, free: 7.734 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001615/0.7991, allocations: 343.9 kB / 0.773 GB, free: 7.398 MB / 0.592 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.003422/0.8026, allocations: 2.879 MB / 0.7758 GB, free: 4.48 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.000694/0.8032, allocations: 399.4 kB / 0.7762 GB, free: 4.078 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8033, allocations: 0 / 0.7762 GB, free: 4.078 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.8036, allocations: 235.4 kB / 0.7764 GB, free: 3.836 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.8063, allocations: 0.8517 MB / 0.7772 GB, free: 2.984 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1207/0.9271, allocations: 65.07 MB / 0.8408 GB, free: 1.785 MB / 0.6545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006973/0.934, allocations: 4.793 MB / 0.8454 GB, free: 12.96 MB / 0.6702 GB Notification: Performance of simCode: alias equations: time 0.006176/0.9402, allocations: 2.375 MB / 0.8478 GB, free: 10.57 MB / 0.6702 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006265/0.9465, allocations: 4.401 MB / 0.8521 GB, free: 6.172 MB / 0.6702 GB Notification: Performance of SimCode: time 1.813e-06/0.9465, allocations: 0 / 0.8521 GB, free: 6.172 MB / 0.6702 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8657/1.812, allocations: 157.7 MB / 1.006 GB, free: 118.9 MB / 0.7173 GB Notification: Performance of buildModelFMU: Generate platform static: time 162.5/164.3, allocations: 17.58 kB / 1.006 GB, free: 118.9 MB / 0.7173 GB " [Timeout remaining time 135] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 298] Reference file matches [Calling sys.exit(0), Time elapsed: 171.27770023001358]