Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001618/0.001617, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 222.5 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 98.86 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2904/0.2904, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000695/0.0006951, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1613, allocations: 58.86 MB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.4018/0.5631, allocations: 45.07 MB / 0.5228 GB, free: 9.902 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02933/0.5925, allocations: 10.25 MB / 0.5329 GB, free: 9.586 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0121/0.6047, allocations: 216.6 kB / 0.5331 GB, free: 9.555 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009808/0.6146, allocations: 2.191 MB / 0.5352 GB, free: 9.137 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02727/0.6419, allocations: 6.062 MB / 0.5411 GB, free: 8.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004398/0.6463, allocations: 0.4978 MB / 0.5416 GB, free: 8.102 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004393/0.6508, allocations: 1.419 MB / 0.543 GB, free: 7.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01413/0.665, allocations: 6.414 MB / 0.5493 GB, free: 6.004 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.6674, allocations: 0.8211 MB / 0.5501 GB, free: 5.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.6697, allocations: 1.05 MB / 0.5511 GB, free: 5.328 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004782/0.6702, allocations: 147 kB / 0.5512 GB, free: 5.324 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.6718, allocations: 0.5574 MB / 0.5518 GB, free: 5.211 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001663/0.6735, allocations: 1.387 MB / 0.5531 GB, free: 4.785 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009748/0.6745, allocations: 0.782 MB / 0.5539 GB, free: 4.605 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008065/0.6826, allocations: 5.973 MB / 0.5597 GB, free: 1.102 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6826, allocations: 0 / 0.5597 GB, free: 1.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.6827, allocations: 0 / 0.5597 GB, free: 1.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002611/0.6829, allocations: 0 / 0.5597 GB, free: 1.102 MB / 362.7 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.01673/0.6997, allocations: 3.91 MB / 0.5635 GB, free: 14.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.6998, allocations: 7.406 kB / 0.5635 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003637/0.7034, allocations: 0.679 MB / 0.5642 GB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008028/0.7115, allocations: 0.6291 MB / 0.5648 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.7221, allocations: 2.149 MB / 0.5669 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005426/0.7227, allocations: 271.9 kB / 0.5672 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002217/0.7249, allocations: 351.9 kB / 0.5675 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03982/0.7648, allocations: 9.388 MB / 0.5767 GB, free: 1.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/0.765, allocations: 19.81 kB / 0.5767 GB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007306/0.7657, allocations: 157.2 kB / 0.5769 GB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00484/0.7706, allocations: 1.547 MB / 0.5784 GB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02836/0.799, allocations: 7.376 MB / 0.5856 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06106/0.8601, allocations: 27.97 MB / 0.6129 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01179/0.8719, allocations: 2.196 MB / 0.615 GB, free: 9.758 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01434/0.8863, allocations: 6.777 MB / 0.6216 GB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.8864, allocations: 51.06 kB / 0.6217 GB, free: 2.426 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 3.948e-06/0.8864, allocations: 0 / 0.6217 GB, free: 2.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.03218/0.9186, allocations: 7.442 MB / 0.629 GB, free: 10.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.9188, allocations: 175.3 kB / 0.6291 GB, free: 10.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006785/0.9256, allocations: 2.702 MB / 0.6318 GB, free: 7.996 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002737/0.9259, allocations: 41.7 kB / 0.6318 GB, free: 7.949 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0028/0.9287, allocations: 2.503 MB / 0.6343 GB, free: 5.445 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007816/0.9296, allocations: 407.7 kB / 0.6346 GB, free: 5.051 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004471/0.9301, allocations: 80 kB / 0.6347 GB, free: 4.973 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004014/0.9305, allocations: 475.3 kB / 0.6352 GB, free: 4.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/0.9342, allocations: 1.105 MB / 0.6363 GB, free: 3.395 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006105/0.9404, allocations: 3.439 MB / 0.6396 GB, free: 14.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005483/0.9459, allocations: 1.876 MB / 0.6414 GB, free: 12.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.14e-05/0.9461, allocations: 24 kB / 0.6415 GB, free: 12.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=506) (initialization): time 0.01383/0.9599, allocations: 4.388 MB / 0.6458 GB, free: 8.504 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.847e-05/0.9601, allocations: 47.39 kB / 0.6458 GB, free: 8.461 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001581/0.9602, allocations: 84 kB / 0.6459 GB, free: 8.379 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.9604, allocations: 124 kB / 0.646 GB, free: 8.258 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006199/0.9666, allocations: 0.9479 MB / 0.6469 GB, free: 7.309 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002394/0.9669, allocations: 171.4 kB / 0.6471 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/0.9713, allocations: 199.6 kB / 0.6473 GB, free: 6.945 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009829/0.9724, allocations: 240 kB / 0.6475 GB, free: 6.711 MB / 458.7 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 (504): * Single equations (assignments): 503 * 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.00546/0.9778, allocations: 1.754 MB / 0.6492 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007436/0.9786, allocations: 232.9 kB / 0.6494 GB, free: 4.715 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.9823, allocations: 1.194 MB / 0.6506 GB, free: 3.504 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/0.9824, allocations: 15.94 kB / 0.6506 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.9824, allocations: 0 / 0.6506 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/0.9824, allocations: 7.984 kB / 0.6506 GB, free: 3.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/1.002, allocations: 6.356 MB / 0.6568 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.866e-05/1.002, allocations: 16 kB / 0.6568 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/1.004, allocations: 244.3 kB / 0.6571 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.745e-05/1.004, allocations: 28 kB / 0.6571 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001842/1.004, allocations: 40 kB / 0.6571 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.041e-05/1.004, allocations: 35.86 kB / 0.6572 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.929e-05/1.005, allocations: 23.94 kB / 0.6572 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006239/1.011, allocations: 3.745 MB / 0.6609 GB, free: 8.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.012, allocations: 329.9 kB / 0.6612 GB, free: 7.887 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008879/1.013, allocations: 43.98 kB / 0.6612 GB, free: 7.844 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/1.015, allocations: 59.95 kB / 0.6613 GB, free: 7.785 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/1.016, allocations: 127.5 kB / 0.6614 GB, free: 7.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/1.016, allocations: 55.98 kB / 0.6614 GB, free: 7.605 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005163/1.021, allocations: 1.782 MB / 0.6632 GB, free: 5.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.021, allocations: 0 / 0.6632 GB, free: 5.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005442/1.027, allocations: 0.7057 MB / 0.6639 GB, free: 5.117 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * 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 (122): * Single equations (assignments): 122 * 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.008734/1.035, allocations: 8.677 MB / 0.6724 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007624/1.043, allocations: 2.561 MB / 0.6749 GB, free: 9.367 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.148e-05/1.043, allocations: 4.688 kB / 0.6749 GB, free: 9.363 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002107/1.045, allocations: 0.636 MB / 0.6755 GB, free: 8.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/1.048, allocations: 317.2 kB / 0.6758 GB, free: 8.422 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4241/1.472, allocations: 70.6 MB / 0.7447 GB, free: 157 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007495/1.48, allocations: 3.036 MB / 0.7477 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003807/1.484, allocations: 1.657 MB / 0.7493 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.373e-06/1.484, allocations: 0 / 0.7493 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.819/5.303, allocations: 62.49 MB / 0.8103 GB, free: 109.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat