Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.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.001729/0.001729, allocations: 110 kB / 20.42 MB, free: 1.535 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.002126/0.002126, allocations: 208.8 kB / 23.71 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 230.2 MB / 257.1 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2286/0.2286, allocations: 46.88 MB / 360.3 MB, free: 4.664 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002304/0.002304, allocations: 79.88 kB / 0.4955 GB, free: 8.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3034, allocations: 65.99 MB / 0.56 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008439/0.3119, allocations: 6.826 MB / 0.5666 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004963/0.3168, allocations: 2.467 MB / 0.569 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007773/0.3176, allocations: 31.94 kB / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.3199, allocations: 1.063 MB / 0.5701 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.3221, allocations: 0.8597 MB / 0.5709 GB, free: 9.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008772/0.323, allocations: 315.2 kB / 0.5712 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002624/0.3256, allocations: 1.857 MB / 0.5731 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.3271, allocations: 0.963 MB / 0.574 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.3283, allocations: 0.7082 MB / 0.5747 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.33, allocations: 1.066 MB / 0.5757 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000427/0.3304, allocations: 131.9 kB / 0.5759 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.332, allocations: 0.7643 MB / 0.5766 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.3331, allocations: 0.9463 MB / 0.5775 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.3345, allocations: 1.121 MB / 0.5786 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005063/0.3396, allocations: 3.734 MB / 0.5823 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3396, allocations: 0 / 0.5823 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3396, allocations: 0 / 0.5823 GB, free: 14.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001071/0.3397, allocations: 0 / 0.5823 GB, free: 14.14 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.005714/0.3454, allocations: 2.727 MB / 0.5849 GB, free: 11.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.3455, allocations: 12.03 kB / 0.5849 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008208/0.3463, allocations: 454.4 kB / 0.5854 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005647/0.3519, allocations: 1.578 MB / 0.5869 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.3546, allocations: 1.081 MB / 0.588 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.3547, allocations: 115.3 kB / 0.5881 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004233/0.3551, allocations: 163.8 kB / 0.5882 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009274/0.3644, allocations: 6.186 MB / 0.5943 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.834e-05/0.3644, allocations: 31.73 kB / 0.5943 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002585/0.3647, allocations: 79.89 kB / 0.5944 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002538/0.3672, allocations: 1.437 MB / 0.5958 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009539/0.3768, allocations: 5.389 MB / 0.6011 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03002/0.4068, allocations: 24.81 MB / 0.6253 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004721/0.4115, allocations: 2.253 MB / 0.6275 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.4127, allocations: 0.8831 MB / 0.6283 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/0.4131, allocations: 330.9 kB / 0.6287 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.4132, allocations: 46.56 kB / 0.6287 GB, free: 12.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.407e-06/0.4132, allocations: 4 kB / 0.6287 GB, free: 12.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02357/0.4367, allocations: 8.56 MB / 0.6371 GB, free: 4.234 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.455e-05/0.4368, allocations: 140.6 kB / 0.6372 GB, free: 4.066 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/0.4408, allocations: 2.64 MB / 0.6398 GB, free: 1.402 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.441, allocations: 37.7 kB / 0.6398 GB, free: 1.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.4427, allocations: 2.112 MB / 0.6419 GB, free: 15.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000576/0.4433, allocations: 452.6 kB / 0.6423 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.4446, allocations: 0.8734 MB / 0.6432 GB, free: 13.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4447, allocations: 305.1 kB / 0.6435 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.4468, allocations: 1.332 MB / 0.6448 GB, free: 12.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004359/0.4512, allocations: 4.1 MB / 0.6488 GB, free: 6.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007016/0.4582, allocations: 5.946 MB / 0.6546 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-05/0.4583, allocations: 32 kB / 0.6546 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01015/0.4684, allocations: 5.492 MB / 0.66 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.4685, allocations: 48 kB / 0.66 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/0.4686, allocations: 100 kB / 0.6601 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.4697, allocations: 464.9 kB / 0.6605 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/0.4726, allocations: 0.9708 MB / 0.6615 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004787/0.4774, allocations: 3.669 MB / 0.6651 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/0.4801, allocations: 239.6 kB / 0.6653 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005177/0.4806, allocations: 272.1 kB / 0.6656 GB, free: 4.012 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (527): * Single equations (assignments): 523 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002184/0.4828, allocations: 1.368 MB / 0.6669 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004323/0.4832, allocations: 234.7 kB / 0.6671 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.4857, allocations: 1.318 MB / 0.6684 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/0.4857, allocations: 12 kB / 0.6684 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.4858, allocations: 7.938 kB / 0.6684 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.4858, allocations: 3.984 kB / 0.6684 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008537/0.4943, allocations: 4.19 MB / 0.6725 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.4943, allocations: 4 kB / 0.6725 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006895/0.495, allocations: 143.8 kB / 0.6727 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008934/0.4959, allocations: 312.6 kB / 0.673 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.676e-05/0.496, allocations: 15.98 kB / 0.673 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003877/0.4999, allocations: 3.07 MB / 0.676 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4999, allocations: 7.969 kB / 0.676 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004752/0.5046, allocations: 3.07 MB / 0.679 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006526/0.5053, allocations: 287.4 kB / 0.6793 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/0.5056, allocations: 16 kB / 0.6793 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008144/0.5064, allocations: 43.94 kB / 0.6793 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.5066, allocations: 64.36 kB / 0.6794 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.178e-05/0.5066, allocations: 24 kB / 0.6794 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002658/0.5093, allocations: 1.628 MB / 0.681 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5093, allocations: 0 / 0.681 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003376/0.5127, allocations: 0.5936 MB / 0.6816 GB, free: 3.344 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (77): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005238/0.5179, allocations: 3.699 MB / 0.6852 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005332/0.5232, allocations: 3.095 MB / 0.6882 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5232, allocations: 0 / 0.6882 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.5245, allocations: 0.8101 MB / 0.689 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.526, allocations: 216.3 kB / 0.6892 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04268/0.5687, allocations: 28.42 MB / 0.717 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002565/0.5713, allocations: 2.163 MB / 0.7191 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003096/0.5744, allocations: 1.391 MB / 0.7204 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/0.576, allocations: 1.023 MB / 0.7214 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.576, allocations: 0 / 0.7214 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2975/0.8735, allocations: 38.87 MB / 0.7594 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.82/19.7, allocations: 10.72 kB / 0.7594 GB, free: 137.8 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.446987364906818] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 19.809645930770785 19.826205624 19.483006502 Calling exit ...