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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.0009782/0.0009781, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008964/0.0008965, allocations: 91.64 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1723/0.1723, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.616e-05/2.619e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09071, allocations: 63.24 MB / 0.5114 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.34/0.4307, allocations: 112.3 MB / 0.6212 GB, free: 13.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.431, allocations: 73.97 kB / 0.6212 GB, free: 13.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1392/0.5702, allocations: 65.2 MB / 0.6849 GB, free: 4.746 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5703, allocations: 0 / 0.6849 GB, free: 4.746 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001188/0.5704, allocations: 72 kB / 0.685 GB, free: 4.676 MB / 474.7 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.006425/0.5768, allocations: 3.552 MB / 0.6884 GB, free: 1.062 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.5769, allocations: 11.97 kB / 0.6885 GB, free: 1.051 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007455/0.5776, allocations: 0.6053 MB / 0.689 GB, free: 444 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/0.58, allocations: 0.6156 MB / 0.6896 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004424/0.5844, allocations: 2.423 MB / 0.692 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.5846, allocations: 283.4 kB / 0.6923 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005428/0.5851, allocations: 375.8 kB / 0.6926 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/0.5988, allocations: 8.155 MB / 0.7006 GB, free: 4.191 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.988e-05/0.5989, allocations: 19.81 kB / 0.7006 GB, free: 4.172 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000362/0.5993, allocations: 160 kB / 0.7008 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007103/0.6, allocations: 0.6228 MB / 0.7014 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/0.6122, allocations: 6.753 MB / 0.708 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02831/0.6405, allocations: 25.98 MB / 0.7334 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005615/0.6462, allocations: 1.952 MB / 0.7353 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.6473, allocations: 0.8588 MB / 0.7361 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007444/0.6548, allocations: 6.256 MB / 0.7422 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.6548, allocations: 47.28 kB / 0.7422 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=80): time 2.685e-06/0.6548, allocations: 4 kB / 0.7423 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of matching and sorting (n=98): time 0.01347/0.6683, allocations: 5.285 MB / 0.7474 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.6684, allocations: 119.6 kB / 0.7475 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002773/0.6712, allocations: 2.136 MB / 0.7496 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/0.6713, allocations: 41.7 kB / 0.7497 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.2361/0.9074, allocations: 2.164 MB / 0.7518 GB, free: 144 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004388/0.9079, allocations: 387.7 kB / 0.7521 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.9081, allocations: 73.25 kB / 0.7522 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.9083, allocations: 458.1 kB / 0.7526 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.9096, allocations: 0.9173 MB / 0.7535 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.9117, allocations: 2.986 MB / 0.7565 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.9136, allocations: 1.636 MB / 0.7581 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.953e-05/0.9137, allocations: 20.84 kB / 0.7581 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005258/0.9189, allocations: 3.856 MB / 0.7618 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/0.919, allocations: 36.16 kB / 0.7619 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-05/0.9191, allocations: 73.53 kB / 0.7619 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/0.9192, allocations: 108.6 kB / 0.762 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/0.9214, allocations: 0.7972 MB / 0.7628 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001438/0.9216, allocations: 145.1 kB / 0.763 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.9233, allocations: 177.7 kB / 0.7631 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/0.9236, allocations: 207 kB / 0.7633 GB, free: 140.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 56 (jointRRP.jointUSP.prismatic.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 () * 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.0003569/0.924, allocations: 406.2 kB / 0.7637 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.9242, allocations: 217.9 kB / 0.7639 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.926, allocations: 1.178 MB / 0.7651 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.926, allocations: 10.31 kB / 0.7651 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.926, allocations: 0.9688 kB / 0.7651 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.926, allocations: 10.69 kB / 0.7651 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008621/0.9347, allocations: 6.129 MB / 0.7711 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/0.9347, allocations: 24.52 kB / 0.7711 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008559/0.9356, allocations: 267.1 kB / 0.7714 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.641e-05/0.9356, allocations: 31.62 kB / 0.7714 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.079e-05/0.9357, allocations: 48.88 kB / 0.7714 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-05/0.9358, allocations: 46.27 kB / 0.7715 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.994e-05/0.9358, allocations: 40.2 kB / 0.7715 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.9383, allocations: 4.197 MB / 0.7756 GB, free: 135 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/0.9388, allocations: 328.8 kB / 0.7759 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.939, allocations: 58.17 kB / 0.776 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007443/0.9398, allocations: 47.25 kB / 0.776 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.9399, allocations: 161 kB / 0.7762 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.94, allocations: 62.62 kB / 0.7762 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001985/0.942, allocations: 1.564 MB / 0.7778 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.942, allocations: 3.906 kB / 0.7778 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002631/0.9446, allocations: 0.6218 MB / 0.7784 GB, free: 134.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 147 * 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.002928/0.9476, allocations: 10.58 MB / 0.7887 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002781/0.9504, allocations: 2.263 MB / 0.7909 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.9504, allocations: 0 / 0.7909 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000623/0.951, allocations: 0.6456 MB / 0.7916 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.9523, allocations: 355.7 kB / 0.7919 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009298/0.9616, allocations: 6.603 MB / 0.7983 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/0.9637, allocations: 2.762 MB / 0.801 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002068/0.9658, allocations: 0.9343 MB / 0.802 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/0.9669, allocations: 1.375 MB / 0.8033 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/0.9669, allocations: 2.625 kB / 0.8033 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05872/1.026, allocations: 48.55 MB / 0.8507 GB, free: 98.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001308/1.026, allocations: 162.1 kB / 0.8509 GB, free: 97.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/3.954, allocations: 0 / 0.8509 GB, free: 97.82 MB / 0.5261 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