Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_trunk_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.000988/0.0009881, allocations: 94.92 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000953/0.0009531, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1933/0.1933, allocations: 45.92 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.0002659, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.13, allocations: 63.46 MB / 481.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.3046/0.4347, allocations: 43.66 MB / 0.5129 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02318/0.4579, allocations: 10.1 MB / 0.5227 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01022/0.4682, allocations: 213.6 kB / 0.5229 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009119/0.4773, allocations: 2.153 MB / 0.525 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02466/0.502, allocations: 5.959 MB / 0.5309 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003874/0.5059, allocations: 0.5055 MB / 0.5313 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00339/0.5093, allocations: 1.214 MB / 0.5325 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008529/0.5179, allocations: 6.275 MB / 0.5387 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.5195, allocations: 0.7323 MB / 0.5394 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.521, allocations: 0.9659 MB / 0.5403 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003259/0.5213, allocations: 129.9 kB / 0.5404 GB, free: 5.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.5226, allocations: 0.5783 MB / 0.541 GB, free: 5.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.5238, allocations: 1.25 MB / 0.5422 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007167/0.5245, allocations: 0.6938 MB / 0.5429 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005278/0.5298, allocations: 5.563 MB / 0.5483 GB, free: 480 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5298, allocations: 0 / 0.5483 GB, free: 480 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5299, allocations: 0 / 0.5483 GB, free: 480 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002265/0.5301, allocations: 0 / 0.5483 GB, free: 480 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.009996/0.5401, allocations: 3.573 MB / 0.5518 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.5402, allocations: 13.34 kB / 0.5518 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002102/0.5423, allocations: 0.5842 MB / 0.5524 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/0.5453, allocations: 0.6858 MB / 0.5531 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00632/0.5517, allocations: 2.067 MB / 0.5551 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.5519, allocations: 236.5 kB / 0.5553 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008327/0.5527, allocations: 324.8 kB / 0.5556 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/0.5727, allocations: 8.344 MB / 0.5638 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-05/0.5728, allocations: 19.81 kB / 0.5638 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004503/0.5733, allocations: 146.5 kB / 0.5639 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001951/0.5753, allocations: 1.091 MB / 0.565 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/0.5931, allocations: 6.882 MB / 0.5717 GB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0399/0.6331, allocations: 24.35 MB / 0.5955 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006379/0.6395, allocations: 2.011 MB / 0.5975 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009401/0.6489, allocations: 6.425 MB / 0.6037 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.649, allocations: 39.22 kB / 0.6038 GB, free: 7.715 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 2.825e-06/0.649, allocations: 0 / 0.6038 GB, free: 7.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=98): time 0.01637/0.6654, allocations: 5.765 MB / 0.6094 GB, free: 1.914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.6655, allocations: 115.8 kB / 0.6095 GB, free: 1.777 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/0.6686, allocations: 2.418 MB / 0.6119 GB, free: 15.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.802e-05/0.6687, allocations: 45.69 kB / 0.6119 GB, free: 15.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.6701, allocations: 2.165 MB / 0.614 GB, free: 13.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/0.6704, allocations: 391.8 kB / 0.6144 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.6705, allocations: 68 kB / 0.6145 GB, free: 12.67 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.6708, allocations: 457.4 kB / 0.6149 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.6722, allocations: 0.9555 MB / 0.6159 GB, free: 11.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002842/0.675, allocations: 3.013 MB / 0.6188 GB, free: 7.215 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/0.6774, allocations: 1.654 MB / 0.6204 GB, free: 5.562 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.188e-05/0.6775, allocations: 20 kB / 0.6204 GB, free: 5.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00605/0.6835, allocations: 3.903 MB / 0.6242 GB, free: 1.629 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.875e-05/0.6836, allocations: 42.22 kB / 0.6243 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.034e-05/0.6837, allocations: 76 kB / 0.6244 GB, free: 1.516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001104/0.6838, allocations: 112 kB / 0.6245 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/0.6862, allocations: 0.8109 MB / 0.6253 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001184/0.6863, allocations: 147.4 kB / 0.6254 GB, free: 460 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.6884, allocations: 179.6 kB / 0.6256 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/0.6887, allocations: 204 kB / 0.6258 GB, free: 76 kB / 462.1 MB 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 (448): * Single equations (assignments): 447 * 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.0025/0.6912, allocations: 1.579 MB / 0.6273 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/0.6915, allocations: 209.7 kB / 0.6275 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.692, allocations: 250.3 kB / 0.6277 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.692, allocations: 12 kB / 0.6277 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.6921, allocations: 3.953 kB / 0.6278 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.6921, allocations: 15.89 kB / 0.6278 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009918/0.702, allocations: 5.822 MB / 0.6335 GB, free: 7.859 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/0.7021, allocations: 20 kB / 0.6335 GB, free: 7.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/0.7028, allocations: 224.4 kB / 0.6337 GB, free: 7.621 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.079e-05/0.7028, allocations: 28 kB / 0.6337 GB, free: 7.594 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.007e-05/0.7029, allocations: 48 kB / 0.6338 GB, free: 7.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.092e-05/0.703, allocations: 35.86 kB / 0.6338 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.56e-05/0.703, allocations: 35.81 kB / 0.6338 GB, free: 7.477 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/0.7066, allocations: 3.714 MB / 0.6375 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007888/0.7074, allocations: 314.1 kB / 0.6378 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/0.7077, allocations: 51.98 kB / 0.6378 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008047/0.7085, allocations: 43.98 kB / 0.6378 GB, free: 2.629 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.7087, allocations: 139.5 kB / 0.638 GB, free: 2.492 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.383e-05/0.7087, allocations: 56 kB / 0.638 GB, free: 2.438 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002701/0.7115, allocations: 1.583 MB / 0.6396 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7115, allocations: 0 / 0.6396 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003479/0.715, allocations: 0.6016 MB / 0.6402 GB, free: 248 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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.006049/0.721, allocations: 9.492 MB / 0.6494 GB, free: 6.141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004235/0.7253, allocations: 2.212 MB / 0.6516 GB, free: 3.945 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/0.7253, allocations: 4 kB / 0.6516 GB, free: 3.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008436/0.7262, allocations: 0.5321 MB / 0.6521 GB, free: 3.414 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.7281, allocations: 344.5 kB / 0.6524 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0439/0.772, allocations: 61.85 MB / 0.7128 GB, free: 3.301 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003687/0.7758, allocations: 2.741 MB / 0.7155 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2404/1.016, allocations: 0.8938 MB / 0.7164 GB, free: 202 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002421/1.019, allocations: 1.379 MB / 0.7177 GB, free: 202 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/1.019, allocations: 0 / 0.7177 GB, free: 202 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0774/1.096, allocations: 46.35 MB / 0.763 GB, free: 175.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/1.096, allocations: 173.7 kB / 0.7632 GB, free: 174.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.298/4.395, allocations: 4 kB / 0.7632 GB, free: 174.8 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat