Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.436/1.436, allocations: 230.5 MB / 254.7 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.89 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1113, allocations: 53.32 MB / 426.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2274/0.3387, allocations: 9.037 MB / 435.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005045/0.3437, allocations: 2.726 MB / 438.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.3449, allocations: 50.09 kB / 438.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003696/0.3486, allocations: 1.867 MB / 440.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003714/0.3523, allocations: 1.343 MB / 441.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.353, allocations: 220.5 kB / 442.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003714/0.3567, allocations: 2.336 MB / 444.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002369/0.359, allocations: 1.781 MB / 446.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.3611, allocations: 0.998 MB / 447.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004539/0.3656, allocations: 2.565 MB / 449.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008194/0.3664, allocations: 192.2 kB / 450 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.368, allocations: 0.5197 MB / 450.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001496/0.3695, allocations: 1.341 MB / 451.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.371, allocations: 1.575 MB / 453.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005929/0.3769, allocations: 4.845 MB / 458.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3769, allocations: 0 / 458.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3769, allocations: 1.094 kB / 458.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001378/0.3771, allocations: 0 / 458.3 MB, free: 12.33 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.008443/0.3855, allocations: 3.723 MB / 462 MB, free: 9.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3855, allocations: 9.844 kB / 462 MB, free: 9.582 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001006/0.3865, allocations: 0.5343 MB / 462.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006104/0.3926, allocations: 1.726 MB / 464.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00383/0.3965, allocations: 1.595 MB / 465.9 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.3966, allocations: 150.8 kB / 466 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004184/0.397, allocations: 197.1 kB / 466.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.4084, allocations: 6.981 MB / 473.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.415e-05/0.4085, allocations: 35.64 kB / 473.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002786/0.4088, allocations: 103.9 kB / 473.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002261/0.4111, allocations: 1.559 MB / 474.9 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.422, allocations: 5.489 MB / 480.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03562/0.4576, allocations: 27.18 MB / 0.4957 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.4604, allocations: 1.581 MB / 0.4972 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/0.4611, allocations: 466 kB / 0.4977 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005005/0.4661, allocations: 2.694 MB / 0.5003 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.4662, allocations: 50.56 kB / 0.5003 GB, free: 9.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.006e-06/0.4662, allocations: 0 / 0.5003 GB, free: 9.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003968/0.4702, allocations: 1.77 MB / 0.5021 GB, free: 7.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.4703, allocations: 221.8 kB / 0.5023 GB, free: 7.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005823/0.4761, allocations: 3.67 MB / 0.5059 GB, free: 3.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.4763, allocations: 37.7 kB / 0.5059 GB, free: 3.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/0.4785, allocations: 2.788 MB / 0.5086 GB, free: 0.875 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/0.479, allocations: 409.1 kB / 0.509 GB, free: 484 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.4801, allocations: 0.9607 MB / 0.51 GB, free: 15.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4802, allocations: 305.1 kB / 0.5102 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/0.4821, allocations: 1.215 MB / 0.5114 GB, free: 13.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004413/0.4865, allocations: 4.526 MB / 0.5158 GB, free: 7.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007488/0.494, allocations: 6.286 MB / 0.522 GB, free: 15.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/0.4941, allocations: 36 kB / 0.522 GB, free: 15.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01138/0.5055, allocations: 5.458 MB / 0.5274 GB, free: 10.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.062e-05/0.5056, allocations: 56 kB / 0.5274 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/0.5057, allocations: 120 kB / 0.5275 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.5059, allocations: 154.2 kB / 0.5277 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/0.5094, allocations: 1.088 MB / 0.5287 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002227/0.5096, allocations: 227.4 kB / 0.5289 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/0.5144, allocations: 0.7058 MB / 0.5296 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007818/0.5152, allocations: 320 kB / 0.5299 GB, free: 7.641 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (589): * Single equations (assignments): 585 * Array equations: 4 * 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.003753/0.5189, allocations: 1.712 MB / 0.5316 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006977/0.5196, allocations: 313.8 kB / 0.5319 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.5208, allocations: 0.4886 MB / 0.5324 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.959e-05/0.5209, allocations: 19.98 kB / 0.5324 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.5209, allocations: 4.875 kB / 0.5324 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5209, allocations: 0 / 0.5324 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007659/0.5286, allocations: 3.15 MB / 0.5355 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.5286, allocations: 4.281 kB / 0.5355 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/0.5291, allocations: 111.8 kB / 0.5356 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.5291, allocations: 4 kB / 0.5356 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/0.5291, allocations: 23.86 kB / 0.5356 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.5291, allocations: 11.94 kB / 0.5356 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.5291, allocations: 7.938 kB / 0.5356 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002722/0.5319, allocations: 2.224 MB / 0.5378 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.5331, allocations: 450.6 kB / 0.5382 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/0.5334, allocations: 15.94 kB / 0.5383 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008795/0.5343, allocations: 31.97 kB / 0.5383 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.5344, allocations: 57.38 kB / 0.5383 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-05/0.5344, allocations: 35.94 kB / 0.5384 GB, free: 14.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003954/0.5384, allocations: 2.329 MB / 0.5407 GB, free: 12.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5384, allocations: 0 / 0.5407 GB, free: 12.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004473/0.5429, allocations: 0.8028 MB / 0.5414 GB, free: 11.71 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 54 * Array equations: 4 * 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 Backend phase and start with SimCode phase: time 0.003478/0.5463, allocations: 2.852 MB / 0.5442 GB, free: 8.805 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00498/0.5513, allocations: 2.711 MB / 0.5469 GB, free: 6.117 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.5513, allocations: 0.5625 kB / 0.5469 GB, free: 6.117 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006149/0.5519, allocations: 402.6 kB / 0.5473 GB, free: 5.727 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/0.5549, allocations: 390.6 kB / 0.5476 GB, free: 5.355 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05919/0.614, allocations: 33.25 MB / 0.5801 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004867/0.6189, allocations: 2.684 MB / 0.5827 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003469/0.6224, allocations: 1.494 MB / 0.5842 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002192/0.6246, allocations: 1.464 MB / 0.5856 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/0.6246, allocations: 0 / 0.5856 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2944/0.919, allocations: 47.76 MB / 0.6323 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.5/17.42, allocations: 2.344 kB / 0.6323 GB, free: 179.3 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.76869105314836] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 17.522141044959426 17.535112549 17.15549413 Calling exit ...