Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.002026/0.002026, allocations: 126.1 kB / 17.84 MB, free: 5.223 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.001994/0.001994, allocations: 203.9 kB / 20.79 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 207.6 MB / 231.2 MB, free: 4.121 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4027/0.4027, allocations: 44.23 MB / 327.3 MB, free: 6.766 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002511/0.002511, allocations: 79.88 kB / 463 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3305, allocations: 61 MB / 0.5117 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002767/0.3333, allocations: 1.662 MB / 0.5133 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3345, allocations: 0.8004 MB / 0.5141 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.141e-05/0.3346, allocations: 5.344 kB / 0.5141 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.3349, allocations: 49.72 kB / 0.5142 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.3351, allocations: 64.38 kB / 0.5142 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.3353, allocations: 77.84 kB / 0.5143 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.3355, allocations: 95.83 kB / 0.5144 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.405e-05/0.3356, allocations: 9.766 kB / 0.5144 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-05/0.3356, allocations: 35.8 kB / 0.5144 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.3357, allocations: 38.52 kB / 0.5145 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.3358, allocations: 1.781 kB / 0.5145 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-05/0.3358, allocations: 31.97 kB / 0.5145 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.3359, allocations: 21.89 kB / 0.5145 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.3359, allocations: 40.2 kB / 0.5146 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.3361, allocations: 120.5 kB / 0.5147 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3361, allocations: 1.375 kB / 0.5147 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3361, allocations: 0 / 0.5147 GB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3361, allocations: 0 / 0.5147 GB, free: 11 MB / 382.1 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.0005035/0.3366, allocations: 432.9 kB / 0.5151 GB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3367, allocations: 13.48 kB / 0.5151 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.099e-05/0.3367, allocations: 1.562 kB / 0.5151 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.117e-05/0.3367, allocations: 34.75 kB / 0.5151 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.3368, allocations: 14.34 kB / 0.5152 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.337, allocations: 225.9 kB / 0.5154 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.337, allocations: 5.5 kB / 0.5154 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.337, allocations: 1.375 kB / 0.5154 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.3372, allocations: 51.3 kB / 0.5154 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3372, allocations: 1.375 kB / 0.5154 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3372, allocations: 0 / 0.5154 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3372, allocations: 0 / 0.5154 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.709e-05/0.3373, allocations: 20.17 kB / 0.5154 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.3374, allocations: 191.5 kB / 0.5156 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.3376, allocations: 53.73 kB / 0.5157 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.3376, allocations: 19.72 kB / 0.5157 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3377, allocations: 5.312 kB / 0.5157 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.3378, allocations: 67.77 kB / 0.5158 GB, free: 9.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.3378, allocations: 5.312 kB / 0.5158 GB, free: 9.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002704/0.3381, allocations: 96.55 kB / 0.5159 GB, free: 9.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.3381, allocations: 52.44 kB / 0.5159 GB, free: 9.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.3384, allocations: 265.5 kB / 0.5162 GB, free: 9.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.3384, allocations: 26.64 kB / 0.5162 GB, free: 9.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.3384, allocations: 111.2 kB / 0.5163 GB, free: 9.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.3385, allocations: 14.53 kB / 0.5163 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.3385, allocations: 26.42 kB / 0.5163 GB, free: 9.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.3386, allocations: 324.2 kB / 0.5166 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.3386, allocations: 11.66 kB / 0.5167 GB, free: 9.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.469e-05/0.3387, allocations: 35.02 kB / 0.5167 GB, free: 9.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.255e-05/0.3388, allocations: 51.33 kB / 0.5167 GB, free: 8.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3388, allocations: 0 / 0.5167 GB, free: 8.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001543/0.3389, allocations: 89.53 kB / 0.5168 GB, free: 8.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3389, allocations: 5.375 kB / 0.5168 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3389, allocations: 0 / 0.5168 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.339, allocations: 1.406 kB / 0.5168 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.339, allocations: 12.8 kB / 0.5168 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.339, allocations: 1 kB / 0.5168 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.3391, allocations: 6.266 kB / 0.5169 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3391, allocations: 2.188 kB / 0.5169 GB, free: 8.906 MB / 382.1 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.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.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 9.178e-05/0.3392, allocations: 140.7 kB / 0.517 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.3392, allocations: 17.88 kB / 0.517 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.3393, allocations: 19.8 kB / 0.517 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3393, allocations: 2.25 kB / 0.517 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3393, allocations: 0 / 0.517 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3393, allocations: 0 / 0.517 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3394, allocations: 197.6 kB / 0.5172 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3394, allocations: 1.25 kB / 0.5172 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.3394, allocations: 6.594 kB / 0.5172 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3394, allocations: 1 kB / 0.5172 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3394, allocations: 1.375 kB / 0.5172 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3394, allocations: 4.156 kB / 0.5172 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3394, allocations: 0 / 0.5172 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.3396, allocations: 115.4 kB / 0.5173 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.3396, allocations: 91.75 kB / 0.5174 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.3397, allocations: 5.422 kB / 0.5174 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.3397, allocations: 1.438 kB / 0.5174 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.3397, allocations: 2.75 kB / 0.5174 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3397, allocations: 6.875 kB / 0.5174 GB, free: 8.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.3399, allocations: 203.5 kB / 0.5176 GB, free: 8.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3399, allocations: 0 / 0.5176 GB, free: 8.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.3401, allocations: 16.86 kB / 0.5177 GB, free: 8.172 MB / 382.1 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,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.00164/0.3417, allocations: 0.9673 MB / 0.5186 GB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.3419, allocations: 37.92 kB / 0.5186 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3419, allocations: 0 / 0.5186 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.684e-05/0.3419, allocations: 18.98 kB / 0.5187 GB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.3422, allocations: 40.22 kB / 0.5187 GB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.3436, allocations: 1.661 MB / 0.5203 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.3438, allocations: 0.7119 MB / 0.521 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.915e-05/0.3438, allocations: 8.562 kB / 0.521 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.3439, allocations: 39.42 kB / 0.5211 GB, free: 4.906 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3439, allocations: 3.938 kB / 0.5211 GB, free: 4.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.3621, allocations: 3.475 MB / 0.5245 GB, free: 1.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/8.77, allocations: 9.797 kB / 0.5245 GB, free: 1.355 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.183752976008691] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.951182822987903 8.972042604 8.631726228 Calling exit ...