Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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.0009184/0.0009184, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008519/0.0008519, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8962/0.8962, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.6371/0.6371, allocations: 88.06 MB / 348.7 MB, free: 14.35 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.ScaledExperiments.TimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.523 GB, free: 4.066 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.891e-05, allocations: 2.281 kB / 0.523 GB, free: 4.062 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001816/0.001835, allocations: 1.436 MB / 0.5244 GB, free: 2.617 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008393/0.002674, allocations: 0.5453 MB / 0.5249 GB, free: 2.066 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.002739, allocations: 0 / 0.5249 GB, free: 2.066 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.004666, allocations: 3.43 MB / 0.5283 GB, free: 14.63 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.006457, allocations: 3.473 MB / 0.5317 GB, free: 11.15 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.006787, allocations: 91.33 kB / 0.5317 GB, free: 11.06 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.004801/0.01159, allocations: 8.551 MB / 0.5401 GB, free: 2.5 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.01163, allocations: 4 kB / 0.5401 GB, free: 2.496 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004995/0.01662, allocations: 4.754 MB / 0.5447 GB, free: 13.73 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005451/0.02207, allocations: 9.051 MB / 0.5536 GB, free: 4.668 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005667/0.02264, allocations: 0.496 MB / 0.5541 GB, free: 4.172 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008335/0.02347, allocations: 0.5585 MB / 0.5546 GB, free: 3.613 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0142/0.03767, allocations: 20.95 MB / 0.5751 GB, free: 14.61 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.005772/0.04345, allocations: 4.772 MB / 0.5797 GB, free: 9.812 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.05635, allocations: 22.08 MB / 0.6013 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.05635, allocations: 0 / 0.6013 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.244e-06/0.05635, allocations: 0 / 0.6013 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006948/0.05705, allocations: 0 / 0.6013 GB, free: 3.617 MB / 0.5105 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.4947/0.5517, allocations: 39.89 MB / 0.6402 GB, free: 79.25 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 8.194e-05/0.5518, allocations: 11.84 kB / 0.6403 GB, free: 79.25 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.5519, allocations: 32 kB / 0.6403 GB, free: 79.21 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/0.5566, allocations: 4.645 MB / 0.6448 GB, free: 76.5 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07085/0.6275, allocations: 52.37 MB / 0.696 GB, free: 32.02 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.6275, allocations: 384 / 0.696 GB, free: 32.02 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.6276, allocations: 131.8 kB / 0.6961 GB, free: 31.89 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000923/0.6286, allocations: 1.546 MB / 0.6976 GB, free: 30.34 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.6286, allocations: 192 / 0.6976 GB, free: 30.34 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.6287, allocations: 131.6 kB / 0.6977 GB, free: 30.21 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6287, allocations: 1.203 kB / 0.6977 GB, free: 30.21 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.6294, allocations: 0.911 MB / 0.6986 GB, free: 29.3 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/0.6426, allocations: 13.81 MB / 0.7121 GB, free: 15.44 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/0.6433, allocations: 0.5549 MB / 0.7126 GB, free: 14.87 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/0.6437, allocations: 0.5405 MB / 0.7132 GB, free: 14.32 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.6437, allocations: 4 kB / 0.7132 GB, free: 14.32 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006757/0.6444, allocations: 1.349 MB / 0.7145 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.6444, allocations: 0 / 0.7145 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.006296/0.6507, allocations: 8.634 MB / 0.7229 GB, free: 4.262 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.6507, allocations: 84.98 kB / 0.723 GB, free: 4.164 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04912/0.6998, allocations: 49.58 MB / 0.7714 GB, free: 3 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 0.0006395/0.7005, allocations: 157.7 kB / 0.7716 GB, free: 2.84 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.01446/0.7149, allocations: 22.54 MB / 0.7936 GB, free: 12.28 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005918/0.7155, allocations: 139.9 kB / 0.7937 GB, free: 12.14 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006176/0.7161, allocations: 0.8806 MB / 0.7946 GB, free: 11.25 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 0.0003339/0.7165, allocations: 306 kB / 0.7949 GB, free: 10.95 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.717, allocations: 0.5368 MB / 0.7954 GB, free: 10.41 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.7174, allocations: 0.5393 MB / 0.7959 GB, free: 9.863 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000997/0.7184, allocations: 1.082 MB / 0.797 GB, free: 8.77 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7184, allocations: 7.938 kB / 0.797 GB, free: 8.762 MB / 0.62 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00742/0.7258, allocations: 8.1 MB / 0.8049 GB, free: 0.6211 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.7259, allocations: 37.69 kB / 0.8049 GB, free: 0.5781 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.7259, allocations: 0 / 0.8049 GB, free: 0.5781 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.7259, allocations: 0 / 0.8049 GB, free: 0.5781 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.726, allocations: 4 kB / 0.8049 GB, free: 0.5742 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.726, allocations: 0 / 0.8049 GB, free: 0.5742 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.7286, allocations: 135.9 kB / 0.8051 GB, free: 452 kB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000868/0.7295, allocations: 1.715 MB / 0.8067 GB, free: 14.72 MB / 0.6356 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.01135/0.7408, allocations: 9.675 MB / 0.8162 GB, free: 5.031 MB / 0.6356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004241/0.7451, allocations: 4.766 MB / 0.8208 GB, free: 240 kB / 0.6356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007113/0.7522, allocations: 5.118 MB / 0.8258 GB, free: 11.11 MB / 0.6513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.7522, allocations: 0 / 0.8258 GB, free: 11.11 MB / 0.6513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.7522, allocations: 3.984 kB / 0.8258 GB, free: 11.11 MB / 0.6513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.7522, allocations: 0 / 0.8258 GB, free: 11.11 MB / 0.6513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.7681, allocations: 15.04 MB / 0.8405 GB, free: 12.01 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7681, allocations: 0 / 0.8405 GB, free: 12.01 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.7681, allocations: 0 / 0.8405 GB, free: 12.01 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.7681, allocations: 4 kB / 0.8405 GB, free: 12.01 MB / 0.6669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006951/0.7688, allocations: 384.5 kB / 0.8409 GB, free: 11.63 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.7688, allocations: 0 / 0.8409 GB, free: 11.63 MB / 0.6669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7688, allocations: 2 kB / 0.8409 GB, free: 11.63 MB / 0.6669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007226/0.776, allocations: 8.436 MB / 0.8491 GB, free: 3.137 MB / 0.6669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004381/0.7804, allocations: 4.039 MB / 0.8531 GB, free: 15.06 MB / 0.6825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/0.7816, allocations: 132 kB / 0.8532 GB, free: 14.93 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.7829, allocations: 131.4 kB / 0.8533 GB, free: 14.81 MB / 0.6825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.783, allocations: 3.984 kB / 0.8533 GB, free: 14.8 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008047/0.7838, allocations: 1.717 MB / 0.855 GB, free: 13.09 MB / 0.6825 GB Notification: Performance of sorting global known variables: time 0.03906/0.8228, allocations: 34.49 MB / 0.8887 GB, free: 10.9 MB / 0.7138 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8228, allocations: 0 / 0.8887 GB, free: 10.9 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.003949/0.8268, allocations: 1.254 MB / 0.8899 GB, free: 9.648 MB / 0.7138 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.007445/0.8342, allocations: 9.448 MB / 0.8992 GB, free: 132 kB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.8355, allocations: 1.272 MB / 0.9004 GB, free: 14.83 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8355, allocations: 4 kB / 0.9004 GB, free: 14.83 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006824/0.8362, allocations: 0.7237 MB / 0.9011 GB, free: 14.09 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006564/0.8427, allocations: 3.383 MB / 0.9044 GB, free: 10.7 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8658/1.708, allocations: 262.8 MB / 1.161 GB, free: 42.18 MB / 0.7296 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0159/1.724, allocations: 17.24 MB / 1.178 GB, free: 24.88 MB / 0.7296 GB Notification: Performance of simCode: alias equations: time 0.0132/1.738, allocations: 9.431 MB / 1.187 GB, free: 15.46 MB / 0.7296 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.264/2.002, allocations: 19.51 MB / 1.206 GB, free: 224.4 MB / 0.7296 GB Notification: Performance of SimCode: time 1.583e-06/2.002, allocations: 0.6875 kB / 1.206 GB, free: 224.4 MB / 0.7296 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.193/3.194, allocations: 0.6238 GB / 1.83 GB, free: 179.3 MB / 0.8078 GB Notification: Performance of buildModelFMU: Generate platform static: time 130.7/133.9, allocations: 10.88 kB / 1.83 GB, free: 179.3 MB / 0.8078 GB " [Timeout remaining time 166] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000_fmu --startTime=0 --stopTime=1 --stepSize=0.000117675 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 285] Reference file matches [Calling sys.exit(0), Time elapsed: 161.68642213381827]