Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001012/0.001012, allocations: 102.9 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1968/0.1968, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002422, allocations: 12 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1162, allocations: 63.47 MB / 481.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.2552/0.3714, allocations: 43.6 MB / 0.5128 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02214/0.3936, allocations: 10.29 MB / 0.5229 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01008/0.4037, allocations: 207.5 kB / 0.5231 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008323/0.4121, allocations: 2.15 MB / 0.5252 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02048/0.4326, allocations: 5.95 MB / 0.531 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.436, allocations: 0.6395 MB / 0.5316 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.4389, allocations: 1.246 MB / 0.5328 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01239/0.4513, allocations: 6.301 MB / 0.539 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.4535, allocations: 0.7287 MB / 0.5397 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/0.4561, allocations: 1.012 MB / 0.5407 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.4572, allocations: 138 kB / 0.5408 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.4603, allocations: 0.7101 MB / 0.5415 GB, free: 5.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002092/0.4624, allocations: 1.27 MB / 0.5427 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.4641, allocations: 0.6899 MB / 0.5434 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007083/0.4712, allocations: 5.78 MB / 0.5491 GB, free: 15.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4712, allocations: 0 / 0.5491 GB, free: 15.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4713, allocations: 0 / 0.5491 GB, free: 15.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000247/0.4715, allocations: 0 / 0.5491 GB, free: 15.98 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.01432/0.4858, allocations: 3.819 MB / 0.5528 GB, free: 13.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.4859, allocations: 8.031 kB / 0.5528 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002422/0.4883, allocations: 0.5853 MB / 0.5534 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005323/0.4937, allocations: 0.7209 MB / 0.5541 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006434/0.5001, allocations: 2.186 MB / 0.5562 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.5004, allocations: 233.1 kB / 0.5564 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/0.5017, allocations: 317.2 kB / 0.5567 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02398/0.5257, allocations: 9.686 MB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-05/0.5258, allocations: 11.88 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000403/0.5262, allocations: 149.1 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002032/0.5283, allocations: 1.181 MB / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02198/0.5503, allocations: 8.927 MB / 0.5762 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03992/0.5902, allocations: 27.32 MB / 0.6029 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009594/0.5999, allocations: 3.138 MB / 0.606 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01387/0.6138, allocations: 9.137 MB / 0.6149 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.6139, allocations: 43.56 kB / 0.6149 GB, free: 12.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 3.607e-06/0.6139, allocations: 0 / 0.6149 GB, free: 12.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.02426/0.6381, allocations: 7.751 MB / 0.6225 GB, free: 4.652 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.6382, allocations: 60.41 kB / 0.6225 GB, free: 4.578 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004066/0.6423, allocations: 2.599 MB / 0.6251 GB, free: 1.953 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.6425, allocations: 49.7 kB / 0.6251 GB, free: 1.898 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.6442, allocations: 2.14 MB / 0.6272 GB, free: 15.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005741/0.6448, allocations: 434.5 kB / 0.6276 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.6449, allocations: 76 kB / 0.6277 GB, free: 15.26 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.6452, allocations: 458 kB / 0.6281 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/0.6473, allocations: 1.421 MB / 0.6295 GB, free: 13.38 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003549/0.6509, allocations: 3.481 MB / 0.6329 GB, free: 8.883 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/0.654, allocations: 2.133 MB / 0.635 GB, free: 6.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.044e-05/0.654, allocations: 20 kB / 0.635 GB, free: 6.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.00759/0.6616, allocations: 4.89 MB / 0.6398 GB, free: 1.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.862e-05/0.6617, allocations: 44.05 kB / 0.6399 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.757e-05/0.6618, allocations: 76 kB / 0.6399 GB, free: 1.719 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001121/0.6619, allocations: 108 kB / 0.64 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/0.6649, allocations: 0.8851 MB / 0.6409 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001291/0.6651, allocations: 147.4 kB / 0.641 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/0.6676, allocations: 211.5 kB / 0.6412 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/0.6679, allocations: 212 kB / 0.6414 GB, free: 172 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[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 (476): * Single equations (assignments): 475 * 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.002768/0.6707, allocations: 1.593 MB / 0.643 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/0.6711, allocations: 221.1 kB / 0.6432 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003521/0.6747, allocations: 2.098 MB / 0.6453 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.6747, allocations: 12 kB / 0.6453 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.6747, allocations: 0 / 0.6453 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.6747, allocations: 3.984 kB / 0.6453 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.6849, allocations: 6.082 MB / 0.6512 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/0.685, allocations: 12 kB / 0.6512 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009884/0.686, allocations: 255.5 kB / 0.6515 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.381e-05/0.686, allocations: 27.98 kB / 0.6515 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.967e-05/0.6861, allocations: 36 kB / 0.6515 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.437e-05/0.6861, allocations: 24.53 kB / 0.6515 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.18e-05/0.6862, allocations: 31.81 kB / 0.6516 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.6899, allocations: 3.41 MB / 0.6549 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007542/0.6906, allocations: 322 kB / 0.6552 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/0.6909, allocations: 44 kB / 0.6553 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008679/0.6918, allocations: 63.94 kB / 0.6553 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.692, allocations: 124.2 kB / 0.6554 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-05/0.6921, allocations: 51.98 kB / 0.6555 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002544/0.6946, allocations: 1.645 MB / 0.6571 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6946, allocations: 0 / 0.6571 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003135/0.6978, allocations: 0.6797 MB / 0.6578 GB, free: 14.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (136): * Single equations (assignments): 136 * 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.005238/0.703, allocations: 7.541 MB / 0.6651 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004913/0.7079, allocations: 3.031 MB / 0.6681 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.708, allocations: 0 / 0.6681 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.7091, allocations: 0.8065 MB / 0.6689 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.7107, allocations: 324.4 kB / 0.6692 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2568/0.9675, allocations: 61.35 MB / 0.7291 GB, free: 189.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003783/0.9713, allocations: 2.726 MB / 0.7317 GB, free: 188.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003058/0.9744, allocations: 0.9485 MB / 0.7327 GB, free: 188.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/0.9763, allocations: 1.37 MB / 0.734 GB, free: 188.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.773e-06/0.9764, allocations: 3.906 kB / 0.734 GB, free: 188.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08935/1.066, allocations: 50.9 MB / 0.7837 GB, free: 153.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001242/1.066, allocations: 169.1 kB / 0.7839 GB, free: 153.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.519/4.585, allocations: 0 / 0.7839 GB, free: 153.6 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat