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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 221.4 MB / 236 MB, free: 2.887 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008728/0.0008726, allocations: 95.73 kB / 287 MB, free: 192 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2051/0.2051, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.62e-05/4.624e-05, allocations: 4 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1357, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4417/0.5775, allocations: 111.3 MB / 0.6105 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.5777, allocations: 79.95 kB / 0.6105 GB, free: 9.852 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1977/0.7754, allocations: 65.14 MB / 0.6742 GB, free: 8.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.7755, allocations: 0 / 0.6742 GB, free: 8.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002955/0.7758, allocations: 72 kB / 0.6742 GB, free: 8.41 MB / 490.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.01281/0.7886, allocations: 3.544 MB / 0.6777 GB, free: 4.805 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.03e-05/0.7887, allocations: 12.03 kB / 0.6777 GB, free: 4.793 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002274/0.791, allocations: 0.6014 MB / 0.6783 GB, free: 4.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003657/0.7947, allocations: 0.6273 MB / 0.6789 GB, free: 3.547 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005881/0.8006, allocations: 2.419 MB / 0.6813 GB, free: 1.082 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003035/0.8009, allocations: 283.4 kB / 0.6815 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/0.8025, allocations: 367.8 kB / 0.6819 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02164/0.8241, allocations: 8.144 MB / 0.6898 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/0.8243, allocations: 19.81 kB / 0.6899 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007536/0.8251, allocations: 163.9 kB / 0.69 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008391/0.8259, allocations: 0.6305 MB / 0.6906 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.8437, allocations: 6.74 MB / 0.6972 GB, free: 396 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.375/1.219, allocations: 25.98 MB / 0.7226 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006869/1.226, allocations: 1.939 MB / 0.7245 GB, free: 122 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/1.227, allocations: 0.86 MB / 0.7253 GB, free: 122 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009733/1.237, allocations: 6.255 MB / 0.7314 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.237, allocations: 46.94 kB / 0.7315 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=80): time 3.146e-06/1.237, allocations: 0 / 0.7315 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98): time 0.01768/1.255, allocations: 5.286 MB / 0.7366 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/1.255, allocations: 113.7 kB / 0.7367 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004135/1.259, allocations: 2.136 MB / 0.7388 GB, free: 117 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/1.259, allocations: 47.14 kB / 0.7389 GB, free: 117 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001973/1.261, allocations: 2.168 MB / 0.741 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004294/1.262, allocations: 398.6 kB / 0.7414 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/1.262, allocations: 68.47 kB / 0.7414 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002505/1.262, allocations: 455.7 kB / 0.7419 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/1.264, allocations: 0.9198 MB / 0.7428 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002914/1.267, allocations: 2.984 MB / 0.7457 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/1.269, allocations: 1.643 MB / 0.7473 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.187e-05/1.269, allocations: 21.25 kB / 0.7473 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00626/1.276, allocations: 3.846 MB / 0.7511 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/1.276, allocations: 42.53 kB / 0.7511 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.52e-05/1.276, allocations: 73.25 kB / 0.7512 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/1.276, allocations: 110.4 kB / 0.7513 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/1.278, allocations: 0.8011 MB / 0.7521 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.621e-05/1.278, allocations: 148.4 kB / 0.7522 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/1.281, allocations: 179.1 kB / 0.7524 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/1.281, allocations: 207.9 kB / 0.7526 GB, free: 112.3 MB / 0.5105 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.0003922/1.281, allocations: 406.2 kB / 0.753 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/1.281, allocations: 211.3 kB / 0.7532 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/1.283, allocations: 1.176 MB / 0.7543 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.283, allocations: 10.88 kB / 0.7543 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.283, allocations: 0 / 0.7543 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.283, allocations: 10.77 kB / 0.7543 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00882/1.292, allocations: 6.129 MB / 0.7603 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/1.292, allocations: 26.53 kB / 0.7603 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/1.293, allocations: 274.5 kB / 0.7606 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-05/1.293, allocations: 34.88 kB / 0.7606 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/1.293, allocations: 47.39 kB / 0.7607 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-05/1.293, allocations: 40.75 kB / 0.7607 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.768e-05/1.293, allocations: 38.27 kB / 0.7607 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/1.296, allocations: 4.207 MB / 0.7649 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006459/1.297, allocations: 321.5 kB / 0.7652 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/1.297, allocations: 55.17 kB / 0.7652 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007979/1.298, allocations: 52.16 kB / 0.7653 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/1.298, allocations: 156.4 kB / 0.7654 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/1.298, allocations: 63.47 kB / 0.7655 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002292/1.3, allocations: 1.561 MB / 0.767 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.3, allocations: 0 / 0.767 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003709/1.304, allocations: 0.6258 MB / 0.7676 GB, free: 105 MB / 0.5105 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.003942/1.308, allocations: 10.59 MB / 0.778 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003528/1.312, allocations: 2.267 MB / 0.7802 GB, free: 93.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/1.312, allocations: 2 kB / 0.7802 GB, free: 93.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007615/1.312, allocations: 0.6404 MB / 0.7808 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/1.314, allocations: 356.7 kB / 0.7811 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/1.332, allocations: 6.606 MB / 0.7876 GB, free: 90.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003866/1.336, allocations: 2.75 MB / 0.7903 GB, free: 89.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002938/1.339, allocations: 0.9333 MB / 0.7912 GB, free: 88.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002146/1.341, allocations: 1.373 MB / 0.7925 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/1.341, allocations: 3.562 kB / 0.7925 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08354/1.425, allocations: 48.58 MB / 0.84 GB, free: 57.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/1.425, allocations: 156 kB / 0.8401 GB, free: 57.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.874/5.299, allocations: 3.938 kB / 0.8401 GB, free: 57.57 MB / 0.5105 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