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.0009859/0.0009859, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009918/0.0009914, allocations: 93.14 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 45.15 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.894e-05/1.895e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.5888, allocations: 111.7 MB / 0.6135 GB, free: 7.082 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.5891, allocations: 77.02 kB / 0.6136 GB, free: 7.043 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1509/0.74, allocations: 63.56 MB / 0.6757 GB, free: 15.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.74, allocations: 0 / 0.6757 GB, free: 15.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001502/0.7402, allocations: 68 kB / 0.6757 GB, free: 15.81 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.009767/0.75, allocations: 3.549 MB / 0.6792 GB, free: 12.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.75, allocations: 8.031 kB / 0.6792 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/0.7535, allocations: 0.6273 MB / 0.6798 GB, free: 11.56 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005659/0.7592, allocations: 2.419 MB / 0.6822 GB, free: 9.094 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.7594, allocations: 120 kB / 0.6823 GB, free: 8.977 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/0.7604, allocations: 219.9 kB / 0.6825 GB, free: 8.762 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008548/0.769, allocations: 5.12 MB / 0.6875 GB, free: 3.637 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.7815, allocations: 6.593 MB / 0.6939 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.598e-05/0.7816, allocations: 19.88 kB / 0.694 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003325/0.7819, allocations: 8 kB / 0.694 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008307/0.7828, allocations: 0.631 MB / 0.6946 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/0.8144, allocations: 24.63 MB / 0.7186 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.8163, allocations: 1.132 MB / 0.7197 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009784/0.8173, allocations: 0.7819 MB / 0.7205 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007613/0.8249, allocations: 5.838 MB / 0.7262 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.825, allocations: 43.06 kB / 0.7262 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=70): time 3.015e-06/0.825, allocations: 3.938 kB / 0.7262 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=79): time 0.009134/0.8342, allocations: 4.089 MB / 0.7302 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.8343, allocations: 115.5 kB / 0.7303 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/0.8373, allocations: 1.883 MB / 0.7322 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.8374, allocations: 25.7 kB / 0.7322 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.8388, allocations: 2.221 MB / 0.7344 GB, free: 2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.8391, allocations: 320 kB / 0.7347 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/0.8392, allocations: 4 kB / 0.7347 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002774/0.8395, allocations: 453.1 kB / 0.7351 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.8406, allocations: 0.7955 MB / 0.7359 GB, free: 444 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/0.8431, allocations: 2.882 MB / 0.7387 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/0.8451, allocations: 1.499 MB / 0.7402 GB, free: 11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.887e-05/0.8451, allocations: 20 kB / 0.7402 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=438) (initialization): time 0.004985/0.8501, allocations: 3.255 MB / 0.7434 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.431e-05/0.8502, allocations: 36 kB / 0.7434 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.958e-05/0.8503, allocations: 80.12 kB / 0.7435 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.8504, allocations: 108 kB / 0.7436 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/0.8527, allocations: 0.7876 MB / 0.7444 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001051/0.8528, allocations: 147.4 kB / 0.7445 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.8547, allocations: 107.6 kB / 0.7446 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/0.855, allocations: 204 kB / 0.7448 GB, free: 6.266 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (436): * Single equations (assignments): 435 * 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.0004358/0.8554, allocations: 320.4 kB / 0.7451 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001346/0.8568, allocations: 0.8922 MB / 0.746 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.857, allocations: 193.5 kB / 0.7462 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.8586, allocations: 0.9669 MB / 0.7471 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.8586, allocations: 8 kB / 0.7471 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.8586, allocations: 0 / 0.7471 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.8586, allocations: 7.984 kB / 0.7471 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3101/1.169, allocations: 4.24 MB / 0.7513 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/1.169, allocations: 19.66 kB / 0.7513 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007672/1.17, allocations: 233 kB / 0.7515 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.501e-05/1.17, allocations: 30.78 kB / 0.7515 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/1.17, allocations: 24.08 kB / 0.7515 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.2e-05/1.17, allocations: 35.59 kB / 0.7516 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.961e-05/1.17, allocations: 28.12 kB / 0.7516 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/1.172, allocations: 3.295 MB / 0.7548 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004327/1.172, allocations: 292.2 kB / 0.7551 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/1.173, allocations: 26.09 kB / 0.7551 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007154/1.173, allocations: 22.08 kB / 0.7551 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.173, allocations: 134.8 kB / 0.7553 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.077e-05/1.174, allocations: 56.02 kB / 0.7553 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002001/1.176, allocations: 1.245 MB / 0.7565 GB, free: 141 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.61e-07/1.176, allocations: 0 / 0.7565 GB, free: 141 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003088/1.179, allocations: 0.5213 MB / 0.7571 GB, free: 141 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.003433/1.182, allocations: 8.985 MB / 0.7658 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003425/1.186, allocations: 1.925 MB / 0.7677 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.186, allocations: 3.375 kB / 0.7677 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008389/1.186, allocations: 0.5034 MB / 0.7682 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/1.188, allocations: 270.1 kB / 0.7685 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/1.202, allocations: 6.156 MB / 0.7745 GB, free: 131 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003253/1.206, allocations: 2.732 MB / 0.7771 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002982/1.209, allocations: 0.8821 MB / 0.778 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.21, allocations: 1.357 MB / 0.7793 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/1.21, allocations: 3.375 kB / 0.7793 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07241/1.282, allocations: 42.73 MB / 0.8211 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/1.283, allocations: 137.7 kB / 0.8212 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/4.244, allocations: 0 / 0.8212 GB, free: 126.3 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