Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001627/0.001627, allocations: 117.2 kB / 17.78 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002181/0.002181, allocations: 204.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2531/0.2531, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB 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.002311/0.002311, allocations: 75.88 kB / 480.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3886, allocations: 62.45 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01525/0.4039, allocations: 12.47 MB / 0.5428 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009627/0.4136, allocations: 3.696 MB / 0.5464 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.4165, allocations: 69 kB / 0.5465 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007707/0.4242, allocations: 3.898 MB / 0.5503 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.4272, allocations: 0.8629 MB / 0.5511 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.4292, allocations: 0.709 MB / 0.5518 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00342/0.4327, allocations: 2.198 MB / 0.554 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006226/0.4389, allocations: 4.919 MB / 0.5588 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.4416, allocations: 1.453 MB / 0.5602 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002812/0.4444, allocations: 1.893 MB / 0.562 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007855/0.4452, allocations: 448 kB / 0.5625 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.4472, allocations: 1.03 MB / 0.5635 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00221/0.4494, allocations: 1.746 MB / 0.5652 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002666/0.4521, allocations: 2.025 MB / 0.5671 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008504/0.4606, allocations: 6.909 MB / 0.5739 GB, free: 5.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4606, allocations: 0 / 0.5739 GB, free: 5.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4606, allocations: 4 kB / 0.5739 GB, free: 5.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000172/0.4608, allocations: 0 / 0.5739 GB, free: 5.254 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.00925/0.4701, allocations: 4.235 MB / 0.578 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4701, allocations: 11.97 kB / 0.578 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007807/0.4709, allocations: 0.5859 MB / 0.5786 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.4733, allocations: 0.6422 MB / 0.5792 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003785/0.4771, allocations: 2.15 MB / 0.5813 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.4773, allocations: 242.3 kB / 0.5816 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000537/0.4778, allocations: 323.9 kB / 0.5819 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/0.4959, allocations: 8.202 MB / 0.5899 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-05/0.496, allocations: 19.81 kB / 0.5899 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000361/0.4964, allocations: 143.9 kB / 0.59 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001979/0.4984, allocations: 1.084 MB / 0.5911 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.5136, allocations: 6.715 MB / 0.5977 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04023/0.5539, allocations: 24.23 MB / 0.6213 GB, free: 3.676 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006346/0.5603, allocations: 1.993 MB / 0.6233 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.5618, allocations: 0.8919 MB / 0.6241 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009452/0.5713, allocations: 6.376 MB / 0.6304 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.901e-05/0.5714, allocations: 47.22 kB / 0.6304 GB, free: 9.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=80): time 4.449e-06/0.5714, allocations: 4 kB / 0.6304 GB, free: 9.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=99): time 0.0173/0.5887, allocations: 5.889 MB / 0.6362 GB, free: 3.852 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/0.5888, allocations: 115.8 kB / 0.6363 GB, free: 3.715 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/0.5932, allocations: 2.446 MB / 0.6387 GB, free: 1.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.241e-05/0.5933, allocations: 45.7 kB / 0.6387 GB, free: 1.191 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001891/0.5952, allocations: 2.243 MB / 0.6409 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004379/0.5956, allocations: 412.9 kB / 0.6413 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001158/0.5968, allocations: 0.7265 MB / 0.642 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5969, allocations: 305.1 kB / 0.6423 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.5986, allocations: 0.9672 MB / 0.6432 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/0.6021, allocations: 3.044 MB / 0.6462 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005623/0.6077, allocations: 4.35 MB / 0.6505 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.717e-05/0.6078, allocations: 24 kB / 0.6505 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.006879/0.6147, allocations: 3.949 MB / 0.6543 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/0.6148, allocations: 40 kB / 0.6544 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/0.6149, allocations: 76.16 kB / 0.6545 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.6151, allocations: 99.98 kB / 0.6545 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00239/0.6175, allocations: 0.7993 MB / 0.6553 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001621/0.6176, allocations: 147.4 kB / 0.6555 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.6196, allocations: 179.7 kB / 0.6556 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/0.6199, allocations: 204 kB / 0.6558 GB, free: 13.55 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 56 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 448 * Array equations: 1 * 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.002463/0.6224, allocations: 1.591 MB / 0.6574 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004225/0.6228, allocations: 230.5 kB / 0.6576 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000518/0.6233, allocations: 246.2 kB / 0.6578 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.6234, allocations: 8 kB / 0.6579 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.6234, allocations: 4 kB / 0.6579 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.6234, allocations: 7.969 kB / 0.6579 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008884/0.6323, allocations: 5.867 MB / 0.6636 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.613e-05/0.6324, allocations: 20 kB / 0.6636 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000717/0.6331, allocations: 231.6 kB / 0.6638 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.091e-05/0.6331, allocations: 24 kB / 0.6639 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.908e-05/0.6332, allocations: 44 kB / 0.6639 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.305e-05/0.6333, allocations: 36.42 kB / 0.6639 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.133e-05/0.6333, allocations: 35.81 kB / 0.664 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.636, allocations: 1.97 MB / 0.6659 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005815/0.6366, allocations: 323.5 kB / 0.6662 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.6368, allocations: 55.97 kB / 0.6663 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000742/0.6376, allocations: 40 kB / 0.6663 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.6377, allocations: 143.3 kB / 0.6664 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.061e-05/0.6378, allocations: 56 kB / 0.6665 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002361/0.6402, allocations: 1.598 MB / 0.668 GB, free: 384 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6402, allocations: 0 / 0.668 GB, free: 384 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002788/0.643, allocations: 0.6015 MB / 0.6686 GB, free: 15.77 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 88 * Number of states: 0 () * 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 (123): * Single equations (assignments): 123 * 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 Backend phase and start with SimCode phase: time 0.003124/0.6461, allocations: 2.626 MB / 0.6712 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004115/0.6503, allocations: 2.269 MB / 0.6734 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/0.6503, allocations: 5.812 kB / 0.6734 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.6511, allocations: 0.5439 MB / 0.6739 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.6531, allocations: 386.9 kB / 0.6743 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04709/0.7002, allocations: 26.4 MB / 0.7001 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00526/0.7056, allocations: 2.678 MB / 0.7027 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002585/0.7082, allocations: 0.8951 MB / 0.7036 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002255/0.7105, allocations: 1.362 MB / 0.7049 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of SimCode: time 1.623e-06/0.7105, allocations: 0 / 0.7049 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.412/1.122, allocations: 46.97 MB / 0.7508 GB, free: 171 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.66, allocations: 9.953 kB / 0.7508 GB, free: 171 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)