Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.0015/0.0015, allocations: 113 kB / 18.49 MB, free: 4.539 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.001589/0.001589, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.419/1.419, allocations: 230.6 MB / 254.8 MB, free: 15.09 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 0.7233/0.7233, allocations: 120.6 MB / 431.4 MB, free: 172 kB / 350.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.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="cs",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.001907/0.001907, allocations: 63.91 kB / 0.6022 GB, free: 11.54 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5545/0.5564, allocations: 85.82 MB / 0.686 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.00209/0.5585, allocations: 1.413 MB / 0.6874 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0009023/0.5594, allocations: 0.6031 MB / 0.688 GB, free: 9.578 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.5595, allocations: 4.875 kB / 0.688 GB, free: 9.574 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.5596, allocations: 15.3 kB / 0.688 GB, free: 9.566 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.5599, allocations: 67.81 kB / 0.6881 GB, free: 9.523 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.5601, allocations: 72.39 kB / 0.6881 GB, free: 9.48 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.5602, allocations: 87.5 kB / 0.6882 GB, free: 9.434 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.5603, allocations: 6.688 kB / 0.6882 GB, free: 9.43 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.5605, allocations: 60.62 kB / 0.6883 GB, free: 9.395 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.5606, allocations: 46.95 kB / 0.6883 GB, free: 9.371 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.5606, allocations: 4.625 kB / 0.6883 GB, free: 9.371 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.5607, allocations: 85.67 kB / 0.6884 GB, free: 9.324 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.5608, allocations: 61.34 kB / 0.6885 GB, free: 9.293 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.5609, allocations: 45.83 kB / 0.6885 GB, free: 9.258 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.5611, allocations: 149.7 kB / 0.6887 GB, free: 9.164 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5611, allocations: 0.9062 kB / 0.6887 GB, free: 9.164 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5611, allocations: 0 / 0.6887 GB, free: 9.164 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.5611, allocations: 0 / 0.6887 GB, free: 9.164 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.000527/0.5616, allocations: 485.9 kB / 0.6891 GB, free: 8.68 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5617, allocations: 10.44 kB / 0.6891 GB, free: 8.68 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.239e-05/0.5617, allocations: 4.188 kB / 0.6891 GB, free: 8.676 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.747e-05/0.5617, allocations: 36.05 kB / 0.6892 GB, free: 8.633 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.5617, allocations: 21.7 kB / 0.6892 GB, free: 8.621 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.5621, allocations: 316.1 kB / 0.6895 GB, free: 8.332 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.5621, allocations: 5.688 kB / 0.6895 GB, free: 8.328 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.5621, allocations: 1.844 kB / 0.6895 GB, free: 8.328 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.5622, allocations: 51.72 kB / 0.6896 GB, free: 8.285 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.5622, allocations: 0 / 0.6896 GB, free: 8.285 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.5623, allocations: 1.438 kB / 0.6896 GB, free: 8.285 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5623, allocations: 5.438 kB / 0.6896 GB, free: 8.281 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.196e-05/0.5623, allocations: 24.17 kB / 0.6896 GB, free: 8.27 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.5624, allocations: 196.3 kB / 0.6898 GB, free: 8.051 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.796e-05/0.5625, allocations: 31.33 kB / 0.6898 GB, free: 8.02 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.5626, allocations: 23.2 kB / 0.6898 GB, free: 8.004 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.5626, allocations: 7.922 kB / 0.6898 GB, free: 7.996 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.5627, allocations: 107.2 kB / 0.6899 GB, free: 7.891 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.5627, allocations: 0 / 0.6899 GB, free: 7.891 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002752/0.563, allocations: 167.3 kB / 0.6901 GB, free: 7.785 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.563, allocations: 79.33 kB / 0.6902 GB, free: 7.691 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.5631, allocations: 232.2 kB / 0.6904 GB, free: 7.527 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.5632, allocations: 30.95 kB / 0.6904 GB, free: 7.492 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.5632, allocations: 117 kB / 0.6905 GB, free: 7.383 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.5632, allocations: 23.58 kB / 0.6906 GB, free: 7.363 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.5633, allocations: 30.55 kB / 0.6906 GB, free: 7.336 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.5633, allocations: 325.1 kB / 0.6909 GB, free: 7.016 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.5633, allocations: 20.83 kB / 0.6909 GB, free: 7.004 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.5634, allocations: 17.59 kB / 0.6909 GB, free: 6.996 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.622e-05/0.5635, allocations: 110.7 kB / 0.691 GB, free: 6.898 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5635, allocations: 0 / 0.691 GB, free: 6.898 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001578/0.5636, allocations: 148.5 kB / 0.6912 GB, free: 6.797 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.5637, allocations: 43.72 kB / 0.6912 GB, free: 6.758 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5637, allocations: 0 / 0.6912 GB, free: 6.758 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5637, allocations: 8.875 kB / 0.6912 GB, free: 6.75 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.721e-05/0.5637, allocations: 4.219 kB / 0.6912 GB, free: 6.75 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.5637, allocations: 7.875 kB / 0.6912 GB, free: 6.742 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.5638, allocations: 7.641 kB / 0.6912 GB, free: 6.738 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.5638, allocations: 10.7 kB / 0.6913 GB, free: 6.734 MB / 0.5139 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 9.56e-05/0.5639, allocations: 168 kB / 0.6914 GB, free: 6.578 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.5639, allocations: 26.62 kB / 0.6914 GB, free: 6.562 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.564, allocations: 17.28 kB / 0.6915 GB, free: 6.551 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.564, allocations: 0 / 0.6915 GB, free: 6.551 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.564, allocations: 9.359 kB / 0.6915 GB, free: 6.543 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.564, allocations: 0 / 0.6915 GB, free: 6.543 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.5641, allocations: 213.8 kB / 0.6917 GB, free: 6.312 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5641, allocations: 1.438 kB / 0.6917 GB, free: 6.312 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.5641, allocations: 2.5 kB / 0.6917 GB, free: 6.312 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5641, allocations: 0 / 0.6917 GB, free: 6.312 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.5641, allocations: 3.906 kB / 0.6917 GB, free: 6.312 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5641, allocations: 1.531 kB / 0.6917 GB, free: 6.312 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5641, allocations: 0 / 0.6917 GB, free: 6.312 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.5643, allocations: 209.7 kB / 0.6919 GB, free: 6.156 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.5644, allocations: 104.5 kB / 0.692 GB, free: 6.043 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.5644, allocations: 3.812 kB / 0.692 GB, free: 6.043 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.038e-05/0.5644, allocations: 6.578 kB / 0.692 GB, free: 6.039 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.5645, allocations: 6.469 kB / 0.692 GB, free: 6.035 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.5645, allocations: 10.34 kB / 0.692 GB, free: 6.031 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001078/0.5646, allocations: 175.9 kB / 0.6922 GB, free: 5.914 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9e-08/0.5646, allocations: 0 / 0.6922 GB, free: 5.914 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002264/0.5648, allocations: 30.28 kB / 0.6922 GB, free: 5.914 MB / 0.5139 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.0004159/0.5652, allocations: 0.7569 MB / 0.6929 GB, free: 5.23 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001704/0.5654, allocations: 117.6 kB / 0.6931 GB, free: 5.137 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.5654, allocations: 3.938 kB / 0.6931 GB, free: 5.133 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 6.113e-05/0.5655, allocations: 81.08 kB / 0.6931 GB, free: 5.059 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.5657, allocations: 17.48 kB / 0.6932 GB, free: 5.047 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.5673, allocations: 1.933 MB / 0.695 GB, free: 3.562 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.5674, allocations: 0.7223 MB / 0.6957 GB, free: 2.848 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 6.371e-05/0.5674, allocations: 31.56 kB / 0.6958 GB, free: 2.832 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.5675, allocations: 42.16 kB / 0.6958 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of SimCode: time 3.9e-07/0.5675, allocations: 4 kB / 0.6958 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.6033, allocations: 3.529 MB / 0.6993 GB, free: 1.016 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/9.016, allocations: 10.95 kB / 0.6993 GB, free: 1.008 MB / 0.5139 GB " [Timeout remaining time 291] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 315.0] [Calling os._exit(0), Time elapsed: 12.646999729040544] Failed to read output from testmodel.py, exit status != 0: 9.133957393991295 9.147201243 8.583367824 Calling exit ...