Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.2 MB / 245 MB, free: 7.664 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 95.22 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3672/0.3672, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003007, allocations: 8 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4325, allocations: 63.24 MB / 0.5193 GB, free: 43.79 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.58, allocations: 110.2 MB / 0.6268 GB, free: 11.42 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.5803, allocations: 84.77 kB / 0.6269 GB, free: 11.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1848/0.7652, allocations: 67.68 MB / 0.693 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.131e-06/0.7652, allocations: 0 / 0.693 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001948/0.7654, allocations: 75.92 kB / 0.6931 GB, free: 7.293 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.0139/0.7794, allocations: 3.425 MB / 0.6964 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.826e-05/0.7795, allocations: 12.02 kB / 0.6964 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002636/0.7821, allocations: 0.5601 MB / 0.697 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004122/0.7862, allocations: 0.5653 MB / 0.6975 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007981/0.7943, allocations: 2.036 MB / 0.6995 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/0.7947, allocations: 254.7 kB / 0.6998 GB, free: 328 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4013/1.196, allocations: 329 kB / 0.7001 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/1.218, allocations: 7.611 MB / 0.7075 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-05/1.218, allocations: 15.62 kB / 0.7075 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004567/1.218, allocations: 148.4 kB / 0.7077 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008562/1.219, allocations: 0.6085 MB / 0.7083 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/1.234, allocations: 6.317 MB / 0.7144 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03676/1.271, allocations: 24.13 MB / 0.738 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007298/1.278, allocations: 1.862 MB / 0.7398 GB, free: 89.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/1.288, allocations: 5.816 MB / 0.7455 GB, free: 86.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/1.288, allocations: 39.48 kB / 0.7455 GB, free: 86.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=75): time 6.562e-06/1.288, allocations: 7.406 kB / 0.7455 GB, free: 86.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93): time 0.01804/1.306, allocations: 4.48 MB / 0.7499 GB, free: 84.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/1.306, allocations: 61 kB / 0.75 GB, free: 84.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004949/1.311, allocations: 2.02 MB / 0.7519 GB, free: 83.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/1.312, allocations: 41.89 kB / 0.752 GB, free: 83.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001731/1.313, allocations: 2.035 MB / 0.754 GB, free: 82.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004695/1.314, allocations: 376.5 kB / 0.7543 GB, free: 82.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/1.314, allocations: 66.48 kB / 0.7544 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002841/1.314, allocations: 451.4 kB / 0.7548 GB, free: 81.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/1.316, allocations: 0.8794 MB / 0.7557 GB, free: 81.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002956/1.319, allocations: 2.939 MB / 0.7586 GB, free: 78.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003161/1.322, allocations: 1.554 MB / 0.7601 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/1.323, allocations: 20.28 kB / 0.7601 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006783/1.329, allocations: 3.729 MB / 0.7637 GB, free: 76.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/1.329, allocations: 43.92 kB / 0.7638 GB, free: 76.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/1.33, allocations: 73.16 kB / 0.7638 GB, free: 76.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/1.33, allocations: 108.2 kB / 0.764 GB, free: 76.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/1.332, allocations: 0.795 MB / 0.7647 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001199/1.332, allocations: 145.9 kB / 0.7649 GB, free: 76.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/1.335, allocations: 151.2 kB / 0.765 GB, free: 76.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003289/1.335, allocations: 206 kB / 0.7652 GB, free: 75.99 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * Number of states: 0 () * Number of discrete variables: 50 (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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],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 (436): * Single equations (assignments): 436 * 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 prepare postOptimizeDAE: time 0.002817/1.338, allocations: 1.423 MB / 0.7666 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00059/1.339, allocations: 194.5 kB / 0.7668 GB, free: 75.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/1.341, allocations: 1.139 MB / 0.7679 GB, free: 74.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/1.341, allocations: 15.44 kB / 0.7679 GB, free: 74.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.341, allocations: 3.625 kB / 0.7679 GB, free: 74.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/1.341, allocations: 3.516 kB / 0.7679 GB, free: 74.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/1.353, allocations: 5.396 MB / 0.7732 GB, free: 72.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.352e-05/1.353, allocations: 15.66 kB / 0.7732 GB, free: 72.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00088/1.354, allocations: 243.1 kB / 0.7734 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.45e-05/1.354, allocations: 27.34 kB / 0.7735 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.769e-05/1.354, allocations: 46.88 kB / 0.7735 GB, free: 71.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.581e-05/1.354, allocations: 34.31 kB / 0.7735 GB, free: 71.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.449e-05/1.354, allocations: 37.98 kB / 0.7736 GB, free: 71.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/1.357, allocations: 3.481 MB / 0.777 GB, free: 68.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.358, allocations: 314.1 kB / 0.7773 GB, free: 68.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004864/1.359, allocations: 50.39 kB / 0.7773 GB, free: 68.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008713/1.36, allocations: 40.02 kB / 0.7774 GB, free: 68.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.36, allocations: 145.8 kB / 0.7775 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-05/1.36, allocations: 55.59 kB / 0.7775 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002252/1.362, allocations: 1.457 MB / 0.779 GB, free: 67.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.362, allocations: 3.906 kB / 0.779 GB, free: 67.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003739/1.366, allocations: 0.5809 MB / 0.7795 GB, free: 67.48 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * 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 (131): * Single equations (assignments): 131 * 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.003815/1.37, allocations: 9.158 MB / 0.7885 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003762/1.373, allocations: 2.15 MB / 0.7906 GB, free: 57.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/1.373, allocations: 3.875 kB / 0.7906 GB, free: 57.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007549/1.374, allocations: 0.5738 MB / 0.7911 GB, free: 57.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/1.376, allocations: 323 kB / 0.7915 GB, free: 57.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03387/1.41, allocations: 61.32 MB / 0.8513 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002602/1.413, allocations: 2.526 MB / 0.8538 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002602/1.415, allocations: 0.9292 MB / 0.8547 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/1.417, allocations: 1.243 MB / 0.8559 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of SimCode: time 1.573e-06/1.417, allocations: 0 / 0.8559 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3615/1.778, allocations: 43.46 MB / 0.8984 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/1.778, allocations: 164 kB / 0.8985 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.36/5.139, allocations: 0 / 0.8985 GB, free: 117.8 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat