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.001522/0.001522, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001723/0.001723, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.003034/0.003034, allocations: 64.77 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2913, allocations: 53.37 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01101/0.3023, allocations: 9.07 MB / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005937/0.3082, allocations: 2.746 MB / 443.7 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.3095, allocations: 55.75 kB / 443.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003701/0.3132, allocations: 1.876 MB / 445.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003898/0.3171, allocations: 1.365 MB / 447 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007094/0.3178, allocations: 215.7 kB / 447.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003858/0.3216, allocations: 2.336 MB / 449.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/0.3243, allocations: 1.738 MB / 451.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.3262, allocations: 1.02 MB / 452.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004042/0.3303, allocations: 2.579 MB / 454.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007843/0.3311, allocations: 188 kB / 455.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.3324, allocations: 0.5189 MB / 455.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.3339, allocations: 1.343 MB / 457 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002186/0.3361, allocations: 1.572 MB / 458.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006423/0.3425, allocations: 4.854 MB / 463.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.3426, allocations: 0 / 463.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3426, allocations: 0 / 463.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001835/0.3427, allocations: 0 / 463.4 MB, free: 7.23 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.007852/0.3506, allocations: 3.646 MB / 467 MB, free: 3.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.3507, allocations: 12.03 kB / 467.1 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001107/0.3518, allocations: 0.5346 MB / 467.6 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/0.3577, allocations: 1.722 MB / 469.3 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/0.3613, allocations: 1.525 MB / 470.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.3615, allocations: 151.8 kB / 471 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005829/0.362, allocations: 195.9 kB / 471.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.3733, allocations: 6.986 MB / 478.2 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-05/0.3734, allocations: 31.7 kB / 478.2 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000316/0.3737, allocations: 107.9 kB / 478.3 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002465/0.3761, allocations: 1.547 MB / 479.8 MB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.3869, allocations: 5.493 MB / 485.3 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03369/0.4206, allocations: 27.08 MB / 0.5004 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.4233, allocations: 1.134 MB / 0.5015 GB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007551/0.4241, allocations: 468.6 kB / 0.502 GB, free: 2.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004145/0.4282, allocations: 2.226 MB / 0.5041 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.4282, allocations: 46.5 kB / 0.5042 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.357e-06/0.4283, allocations: 0 / 0.5042 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004144/0.4324, allocations: 1.776 MB / 0.5059 GB, free: 14.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.4325, allocations: 218.3 kB / 0.5061 GB, free: 14.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00549/0.438, allocations: 3.67 MB / 0.5097 GB, free: 10.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.4381, allocations: 37.7 kB / 0.5097 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002428/0.4406, allocations: 2.796 MB / 0.5125 GB, free: 8.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005934/0.4412, allocations: 405.1 kB / 0.5129 GB, free: 7.672 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/0.4424, allocations: 0.9607 MB / 0.5138 GB, free: 6.699 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4426, allocations: 309.1 kB / 0.5141 GB, free: 6.395 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.4445, allocations: 1.208 MB / 0.5153 GB, free: 5.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004722/0.4492, allocations: 4.526 MB / 0.5197 GB, free: 14.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00796/0.4571, allocations: 6.291 MB / 0.5258 GB, free: 6.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/0.4572, allocations: 36 kB / 0.5259 GB, free: 6.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.0109/0.4681, allocations: 5.46 MB / 0.5312 GB, free: 1.492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.001e-05/0.4682, allocations: 56.94 kB / 0.5313 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/0.4684, allocations: 120 kB / 0.5314 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/0.4686, allocations: 152 kB / 0.5315 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003327/0.472, allocations: 1.088 MB / 0.5326 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000228/0.4722, allocations: 235.2 kB / 0.5328 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003993/0.4762, allocations: 0.6979 MB / 0.5335 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006635/0.4768, allocations: 319.9 kB / 0.5338 GB, free: 14.83 MB / 462.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.003144/0.48, allocations: 1.715 MB / 0.5355 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007141/0.4807, allocations: 317.8 kB / 0.5358 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.4819, allocations: 494.3 kB / 0.5362 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-05/0.482, allocations: 16 kB / 0.5363 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.482, allocations: 4 kB / 0.5363 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.482, allocations: 3.984 kB / 0.5363 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/0.4885, allocations: 3.13 MB / 0.5393 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.4885, allocations: 4.047 kB / 0.5393 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/0.489, allocations: 111.8 kB / 0.5394 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/0.489, allocations: 11.94 kB / 0.5394 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.011e-05/0.4891, allocations: 15.98 kB / 0.5395 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.4891, allocations: 4 kB / 0.5395 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.4891, allocations: 7.938 kB / 0.5395 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.4919, allocations: 2.227 MB / 0.5416 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009204/0.4928, allocations: 373.6 kB / 0.542 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/0.4932, allocations: 23.88 kB / 0.542 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009049/0.4941, allocations: 32.03 kB / 0.542 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.4942, allocations: 51.8 kB / 0.5421 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.4943, allocations: 32 kB / 0.5421 GB, free: 6.137 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00421/0.4985, allocations: 2.333 MB / 0.5444 GB, free: 3.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4985, allocations: 0 / 0.5444 GB, free: 3.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004112/0.5026, allocations: 0.8028 MB / 0.5452 GB, free: 3.016 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.003461/0.506, allocations: 2.847 MB / 0.548 GB, free: 116 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2039/0.7099, allocations: 2.71 MB / 0.5506 GB, free: 116.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.71, allocations: 4.25 kB / 0.5506 GB, free: 116.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.7105, allocations: 402.4 kB / 0.551 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.7127, allocations: 378.8 kB / 0.5514 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03388/0.7466, allocations: 33.25 MB / 0.5838 GB, free: 85.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002102/0.7487, allocations: 2.681 MB / 0.5865 GB, free: 82.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002665/0.7513, allocations: 1.491 MB / 0.5879 GB, free: 81.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/0.7527, allocations: 1.468 MB / 0.5893 GB, free: 79.64 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.7527, allocations: 0 / 0.5893 GB, free: 79.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/0.8616, allocations: 51.51 MB / 0.6396 GB, free: 28.47 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.3/18.16, allocations: 0 / 0.6396 GB, free: 28.47 MB / 462.1 MB " [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: 20.548131920862943] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 18.274004749953747 18.291210243 17.94460228 Calling exit ...