Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008884/0.0008884, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3308/0.3308, allocations: 43.55 MB / 314.6 MB, free: 8.75 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005625/0.0005626, allocations: 19.94 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1187, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2572/0.3759, allocations: 47.71 MB / 490.6 MB, free: 21.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02034/0.3963, allocations: 9.803 MB / 0.4887 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01007/0.4064, allocations: 214.3 kB / 0.4889 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008044/0.4145, allocations: 2.265 MB / 0.4911 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01925/0.4338, allocations: 6.315 MB / 0.4972 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.4372, allocations: 0.539 MB / 0.4978 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005555/0.4428, allocations: 3.313 MB / 0.501 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01124/0.454, allocations: 6.458 MB / 0.5073 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003043/0.4571, allocations: 1.022 MB / 0.5083 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003792/0.4609, allocations: 1.593 MB / 0.5099 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001258/0.4622, allocations: 142.8 kB / 0.51 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.4647, allocations: 0.5884 MB / 0.5106 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002688/0.4674, allocations: 1.482 MB / 0.512 GB, free: 5.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.4692, allocations: 0.7867 MB / 0.5128 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006479/0.4757, allocations: 5.974 MB / 0.5186 GB, free: 308 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.397e-05/0.4757, allocations: 0 / 0.5186 GB, free: 308 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4757, allocations: 0 / 0.5186 GB, free: 308 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002993/0.476, allocations: 0 / 0.5186 GB, free: 308 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.01103/0.4871, allocations: 3.786 MB / 0.5223 GB, free: 13.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4871, allocations: 7.375 kB / 0.5223 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002695/0.4898, allocations: 0.6756 MB / 0.523 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/0.4934, allocations: 0.6213 MB / 0.5236 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005529/0.499, allocations: 2.15 MB / 0.5257 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.4993, allocations: 274.9 kB / 0.526 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/0.5006, allocations: 343.9 kB / 0.5263 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/0.5233, allocations: 9.235 MB / 0.5353 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.5235, allocations: 19.81 kB / 0.5353 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/0.5246, allocations: 155.9 kB / 0.5355 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002637/0.5272, allocations: 1.55 MB / 0.537 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/0.5436, allocations: 7.2 MB / 0.544 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04411/0.5878, allocations: 27.92 MB / 0.5713 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006564/0.5944, allocations: 2.172 MB / 0.5734 GB, free: 9.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.596, allocations: 0.9744 MB / 0.5744 GB, free: 8.281 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008947/0.605, allocations: 6.721 MB / 0.5809 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/0.6051, allocations: 47.12 kB / 0.581 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 2.585e-06/0.6051, allocations: 0 / 0.581 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.01777/0.6229, allocations: 7.434 MB / 0.5882 GB, free: 9.469 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.6231, allocations: 175.2 kB / 0.5884 GB, free: 9.262 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003602/0.6267, allocations: 2.706 MB / 0.591 GB, free: 6.543 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.6268, allocations: 45.7 kB / 0.5911 GB, free: 6.492 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.6286, allocations: 2.532 MB / 0.5936 GB, free: 3.926 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004095/0.629, allocations: 399.1 kB / 0.5939 GB, free: 3.531 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.6292, allocations: 80 kB / 0.594 GB, free: 3.453 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002703/0.6294, allocations: 470.5 kB / 0.5945 GB, free: 2.988 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.6312, allocations: 1.109 MB / 0.5955 GB, free: 1.879 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003825/0.6351, allocations: 3.458 MB / 0.5989 GB, free: 13.26 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.638, allocations: 1.868 MB / 0.6007 GB, free: 11.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.501e-05/0.6381, allocations: 24 kB / 0.6008 GB, free: 11.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.008105/0.6462, allocations: 4.476 MB / 0.6051 GB, free: 6.887 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.856e-05/0.6463, allocations: 47.95 kB / 0.6052 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.096e-05/0.6464, allocations: 83.94 kB / 0.6053 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001349/0.6465, allocations: 124 kB / 0.6054 GB, free: 6.637 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/0.6493, allocations: 0.9442 MB / 0.6063 GB, free: 5.691 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001293/0.6495, allocations: 163.4 kB / 0.6065 GB, free: 5.531 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/0.6522, allocations: 211.6 kB / 0.6067 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002953/0.6525, allocations: 240 kB / 0.6069 GB, free: 5.09 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 379 * Number of states: 0 () * Number of discrete variables: 46 (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 (505): * Single equations (assignments): 504 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003704/0.6562, allocations: 1.75 MB / 0.6086 GB, free: 3.328 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005716/0.6568, allocations: 236.9 kB / 0.6088 GB, free: 3.094 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.6589, allocations: 1.194 MB / 0.61 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.6589, allocations: 12.14 kB / 0.61 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.6589, allocations: 11.98 kB / 0.61 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.6589, allocations: 3.984 kB / 0.61 GB, free: 1.855 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009544/0.6685, allocations: 6.385 MB / 0.6163 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/0.6685, allocations: 16 kB / 0.6163 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008455/0.6694, allocations: 244.5 kB / 0.6165 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.833e-05/0.6694, allocations: 27.94 kB / 0.6165 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.788e-05/0.6695, allocations: 51.94 kB / 0.6166 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-05/0.6696, allocations: 35.86 kB / 0.6166 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.767e-05/0.6696, allocations: 27.88 kB / 0.6166 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.6721, allocations: 2.09 MB / 0.6187 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006211/0.6727, allocations: 341.8 kB / 0.619 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.673, allocations: 47.98 kB / 0.6191 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000864/0.6739, allocations: 59.95 kB / 0.6191 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.674, allocations: 135.5 kB / 0.6192 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.574e-05/0.6741, allocations: 56 kB / 0.6193 GB, free: 7.785 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002567/0.6767, allocations: 1.774 MB / 0.621 GB, free: 6.008 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6767, allocations: 0 / 0.621 GB, free: 6.008 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003477/0.6802, allocations: 0.7031 MB / 0.6217 GB, free: 5.305 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002994/0.6832, allocations: 2.714 MB / 0.6244 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2137/0.8969, allocations: 2.566 MB / 0.6269 GB, free: 145.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-05/0.8969, allocations: 2.938 kB / 0.6269 GB, free: 145.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.8981, allocations: 0.6343 MB / 0.6275 GB, free: 145.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.9003, allocations: 334.8 kB / 0.6278 GB, free: 145.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03579/0.9361, allocations: 22.88 MB / 0.6501 GB, free: 133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/0.9388, allocations: 2.962 MB / 0.653 GB, free: 131.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002568/0.9414, allocations: 1.023 MB / 0.654 GB, free: 131.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/0.9429, allocations: 1.603 MB / 0.6556 GB, free: 130.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.243e-06/0.9429, allocations: 0 / 0.6556 GB, free: 130.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09249/1.035, allocations: 52.92 MB / 0.7073 GB, free: 98.51 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001365/1.036, allocations: 174.3 kB / 0.7074 GB, free: 98.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.375/4.411, allocations: 0 / 0.7074 GB, free: 98.27 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat