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.001659/0.001659, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.002241/0.002241, allocations: 221.2 kB / 23 MB, free: 5.582 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.43/1.43, allocations: 230.5 MB / 256.5 MB, free: 8.188 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.001872/0.001872, allocations: 63.91 kB / 376.2 MB, free: 4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2842, allocations: 53.31 MB / 429.5 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01088/0.295, allocations: 9.071 MB / 438.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006077/0.3011, allocations: 2.742 MB / 441.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.3025, allocations: 47.88 kB / 441.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003755/0.3063, allocations: 1.876 MB / 443.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.31, allocations: 1.342 MB / 444.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007189/0.3108, allocations: 219.6 kB / 444.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003578/0.3143, allocations: 2.331 MB / 447.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/0.3166, allocations: 1.551 MB / 448.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.3183, allocations: 0.9963 MB / 449.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003796/0.3221, allocations: 2.579 MB / 452.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000704/0.3228, allocations: 188 kB / 452.5 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.3242, allocations: 0.515 MB / 453 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.3257, allocations: 1.34 MB / 454.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.3275, allocations: 1.572 MB / 455.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006193/0.3337, allocations: 4.854 MB / 460.7 MB, free: 8.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3337, allocations: 0 / 460.7 MB, free: 8.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3337, allocations: 0 / 460.7 MB, free: 8.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001512/0.3339, allocations: 0 / 460.7 MB, free: 8.035 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.007578/0.3415, allocations: 3.722 MB / 464.5 MB, free: 4.242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3415, allocations: 12.03 kB / 464.5 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008029/0.3423, allocations: 0.5385 MB / 465 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006083/0.3484, allocations: 1.718 MB / 466.7 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/0.3514, allocations: 1.585 MB / 468.3 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.3515, allocations: 155.8 kB / 468.5 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004601/0.352, allocations: 203.8 kB / 468.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/0.3626, allocations: 6.979 MB / 475.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.551e-05/0.3627, allocations: 35.7 kB / 475.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002836/0.363, allocations: 103.9 kB / 475.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002313/0.3653, allocations: 1.551 MB / 477.3 MB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009716/0.375, allocations: 5.497 MB / 482.8 MB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03175/0.4068, allocations: 27.18 MB / 0.4981 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003012/0.4098, allocations: 1.582 MB / 0.4996 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007379/0.4105, allocations: 465.9 kB / 0.5001 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004466/0.415, allocations: 2.694 MB / 0.5027 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.415, allocations: 58.55 kB / 0.5027 GB, free: 20 kB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 4.278e-06/0.415, allocations: 3.938 kB / 0.5027 GB, free: 16 kB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004095/0.4191, allocations: 1.76 MB / 0.5045 GB, free: 14.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.4193, allocations: 225.6 kB / 0.5047 GB, free: 13.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005506/0.4248, allocations: 3.67 MB / 0.5083 GB, free: 10.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.4249, allocations: 41.69 kB / 0.5083 GB, free: 10.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002327/0.4272, allocations: 2.792 MB / 0.511 GB, free: 7.453 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.4278, allocations: 405.1 kB / 0.5114 GB, free: 7.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/0.429, allocations: 0.9568 MB / 0.5123 GB, free: 6.086 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4291, allocations: 305.1 kB / 0.5126 GB, free: 5.785 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.431, allocations: 1.208 MB / 0.5138 GB, free: 4.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004534/0.4355, allocations: 4.53 MB / 0.5182 GB, free: 14.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007668/0.4432, allocations: 6.294 MB / 0.5244 GB, free: 6.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001135/0.4433, allocations: 36 kB / 0.5244 GB, free: 6.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01145/0.4547, allocations: 5.457 MB / 0.5298 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.694e-05/0.4548, allocations: 56.97 kB / 0.5298 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/0.455, allocations: 116 kB / 0.5299 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.4551, allocations: 160 kB / 0.5301 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003389/0.4585, allocations: 1.084 MB / 0.5311 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002105/0.4587, allocations: 234.9 kB / 0.5314 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003693/0.4624, allocations: 0.7019 MB / 0.532 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000588/0.463, allocations: 312 kB / 0.5323 GB, free: 14.23 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.002731/0.4657, allocations: 1.715 MB / 0.534 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005676/0.4663, allocations: 317.8 kB / 0.5343 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000966/0.4673, allocations: 498.2 kB / 0.5348 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.385e-05/0.4673, allocations: 23.98 kB / 0.5348 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4673, allocations: 4 kB / 0.5348 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.4673, allocations: 4 kB / 0.5348 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005731/0.4731, allocations: 3.15 MB / 0.5379 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.4731, allocations: 3.984 kB / 0.5379 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.4736, allocations: 103.8 kB / 0.538 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/0.4736, allocations: 11.94 kB / 0.538 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.4737, allocations: 19.97 kB / 0.538 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.4737, allocations: 8 kB / 0.538 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.4737, allocations: 7.938 kB / 0.538 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/0.4764, allocations: 2.227 MB / 0.5402 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008478/0.4772, allocations: 450.6 kB / 0.5406 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/0.4775, allocations: 19.94 kB / 0.5407 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008864/0.4784, allocations: 32.03 kB / 0.5407 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.4785, allocations: 51.81 kB / 0.5407 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.3e-05/0.4786, allocations: 31.98 kB / 0.5408 GB, free: 5.406 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003766/0.4824, allocations: 2.337 MB / 0.5431 GB, free: 3.086 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4824, allocations: 3.938 kB / 0.5431 GB, free: 3.082 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004101/0.4865, allocations: 0.7989 MB / 0.5438 GB, free: 2.281 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.2192/0.7056, allocations: 2.842 MB / 0.5466 GB, free: 112.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004861/0.7105, allocations: 2.71 MB / 0.5493 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.7105, allocations: 2 kB / 0.5493 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.711, allocations: 406.7 kB / 0.5497 GB, free: 112.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.7133, allocations: 385.5 kB / 0.55 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03625/0.7495, allocations: 33.26 MB / 0.5825 GB, free: 83.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/0.7516, allocations: 2.681 MB / 0.5851 GB, free: 80.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002751/0.7543, allocations: 1.486 MB / 0.5866 GB, free: 79.33 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/0.7558, allocations: 1.472 MB / 0.588 GB, free: 77.86 MB / 462.1 MB Notification: Performance of SimCode: time 1.382e-06/0.7558, allocations: 0 / 0.588 GB, free: 77.86 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08157/0.8373, allocations: 47.97 MB / 0.6349 GB, free: 30.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.11/17.94, allocations: 13.12 kB / 0.6349 GB, free: 30.22 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 --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.267728912003804] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 18.049020609993022 18.059022009 17.722597009 Calling exit ...