Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_0_0_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.0008613/0.0008608, allocations: 97.06 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008662/0.0008664, allocations: 178.8 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.2 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1827/0.1827, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8.75 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1072, allocations: 61.93 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2711/0.3783, allocations: 46.14 MB / 0.5057 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02349/0.4018, allocations: 9.616 MB / 0.515 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01133/0.4132, allocations: 211.1 kB / 0.5152 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008283/0.4215, allocations: 2.235 MB / 0.5174 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01855/0.4401, allocations: 6.179 MB / 0.5235 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.4434, allocations: 0.5348 MB / 0.524 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004248/0.4477, allocations: 2.91 MB / 0.5268 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.4587, allocations: 6.333 MB / 0.533 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.4609, allocations: 0.9185 MB / 0.5339 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003048/0.464, allocations: 1.447 MB / 0.5353 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008333/0.4649, allocations: 134.3 kB / 0.5354 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.4669, allocations: 0.6032 MB / 0.536 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00192/0.4689, allocations: 1.325 MB / 0.5373 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.4702, allocations: 0.6985 MB / 0.538 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005259/0.4755, allocations: 5.555 MB / 0.5434 GB, free: 48 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4756, allocations: 0 / 0.5434 GB, free: 48 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4756, allocations: 0 / 0.5434 GB, free: 48 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002241/0.4758, allocations: 0 / 0.5434 GB, free: 48 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.009042/0.4848, allocations: 3.472 MB / 0.5468 GB, free: 13.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4849, allocations: 9.844 kB / 0.5468 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001531/0.4864, allocations: 0.5794 MB / 0.5474 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.4887, allocations: 0.6201 MB / 0.548 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.4924, allocations: 2.076 MB / 0.55 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.4925, allocations: 239.3 kB / 0.5503 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005107/0.4931, allocations: 320.5 kB / 0.5506 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01548/0.5086, allocations: 8.183 MB / 0.5586 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.651e-05/0.5087, allocations: 15.88 kB / 0.5586 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003582/0.5091, allocations: 140 kB / 0.5587 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/0.5105, allocations: 1.101 MB / 0.5598 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.5254, allocations: 6.678 MB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03746/0.5629, allocations: 24.31 MB / 0.5901 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005819/0.5688, allocations: 1.982 MB / 0.592 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.5701, allocations: 0.8958 MB / 0.5929 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007921/0.578, allocations: 6.281 MB / 0.599 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.5781, allocations: 39.22 kB / 0.599 GB, free: 11.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 2.775e-06/0.5781, allocations: 0 / 0.599 GB, free: 11.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.01494/0.5931, allocations: 5.716 MB / 0.6046 GB, free: 6.094 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.5932, allocations: 119.8 kB / 0.6047 GB, free: 5.953 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/0.5966, allocations: 2.418 MB / 0.6071 GB, free: 3.512 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.472e-05/0.5967, allocations: 44.2 kB / 0.6071 GB, free: 3.465 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.5983, allocations: 2.179 MB / 0.6093 GB, free: 1.301 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.5986, allocations: 395.6 kB / 0.6096 GB, free: 0.918 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.5988, allocations: 72 kB / 0.6097 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.599, allocations: 449.5 kB / 0.6101 GB, free: 412 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.6004, allocations: 0.9477 MB / 0.6111 GB, free: 15.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00261/0.603, allocations: 3.037 MB / 0.614 GB, free: 11.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.6051, allocations: 1.638 MB / 0.6156 GB, free: 9.746 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.436e-05/0.6052, allocations: 25.42 kB / 0.6157 GB, free: 9.723 MB / 462.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.005691/0.6109, allocations: 3.907 MB / 0.6195 GB, free: 5.809 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.6109, allocations: 36 kB / 0.6195 GB, free: 5.773 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.115e-05/0.611, allocations: 76 kB / 0.6196 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.876e-05/0.6111, allocations: 108 kB / 0.6197 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.6133, allocations: 0.7993 MB / 0.6205 GB, free: 4.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001065/0.6134, allocations: 143.4 kB / 0.6206 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.6151, allocations: 175.8 kB / 0.6208 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/0.6154, allocations: 204 kB / 0.621 GB, free: 4.281 MB / 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 (449): * Single equations (assignments): 448 * 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.002451/0.6178, allocations: 1.579 MB / 0.6225 GB, free: 2.691 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/0.6182, allocations: 217.6 kB / 0.6227 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.62, allocations: 1.196 MB / 0.6239 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.62, allocations: 19.97 kB / 0.6239 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6201, allocations: 1.203 kB / 0.6239 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.6201, allocations: 3.984 kB / 0.6239 GB, free: 1.246 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00775/0.6278, allocations: 5.69 MB / 0.6295 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/0.6279, allocations: 16 kB / 0.6295 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006921/0.6286, allocations: 219.7 kB / 0.6297 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.853e-05/0.6286, allocations: 35.95 kB / 0.6297 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/0.6287, allocations: 40 kB / 0.6298 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-05/0.6287, allocations: 31.86 kB / 0.6298 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.125e-05/0.6287, allocations: 27.88 kB / 0.6298 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.6309, allocations: 1.907 MB / 0.6317 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/0.6314, allocations: 319.6 kB / 0.632 GB, free: 8.445 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.6316, allocations: 51.94 kB / 0.632 GB, free: 8.395 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/0.6323, allocations: 36 kB / 0.6321 GB, free: 8.359 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.6325, allocations: 128 kB / 0.6322 GB, free: 8.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.83e-05/0.6326, allocations: 48 kB / 0.6322 GB, free: 8.184 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002247/0.6348, allocations: 1.591 MB / 0.6338 GB, free: 6.582 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6348, allocations: 4 kB / 0.6338 GB, free: 6.578 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003335/0.6382, allocations: 0.6055 MB / 0.6344 GB, free: 5.973 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * 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.002934/0.6411, allocations: 2.535 MB / 0.6369 GB, free: 3.191 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004174/0.6453, allocations: 2.231 MB / 0.639 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/0.6454, allocations: 7.938 kB / 0.639 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007577/0.6461, allocations: 0.549 MB / 0.6396 GB, free: 436 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.6481, allocations: 365.8 kB / 0.6399 GB, free: 72 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03677/0.6849, allocations: 19.9 MB / 0.6594 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002761/0.6877, allocations: 2.671 MB / 0.662 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002313/0.69, allocations: 0.9107 MB / 0.6629 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/0.6916, allocations: 1.362 MB / 0.6642 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.6916, allocations: 4 kB / 0.6642 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3443/1.036, allocations: 47.41 MB / 0.7105 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/1.036, allocations: 179.2 kB / 0.7107 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.696/4.732, allocations: 0 / 0.7107 GB, free: 184.4 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat