Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001558, 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.508/1.508, allocations: 227.2 MB / 245 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009728/0.0009725, allocations: 106.1 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4459/0.4459, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 8.219 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3697, allocations: 63.25 MB / 0.5193 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.5118, allocations: 110.9 MB / 0.6275 GB, free: 8.527 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.5121, allocations: 83.92 kB / 0.6276 GB, free: 8.449 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4441/0.9563, allocations: 69.02 MB / 0.695 GB, free: 104.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.576e-06/0.9563, allocations: 0 / 0.695 GB, free: 104.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001902/0.9565, allocations: 62.78 kB / 0.6951 GB, free: 104.8 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: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.01722/0.9738, allocations: 3.669 MB / 0.6987 GB, free: 103.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.9739, allocations: 7.656 kB / 0.6987 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003147/0.977, allocations: 0.5611 MB / 0.6992 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/0.9824, allocations: 0.5731 MB / 0.6998 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.9927, allocations: 2.058 MB / 0.7018 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004876/0.9932, allocations: 251.2 kB / 0.702 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002447/0.9957, allocations: 333.5 kB / 0.7023 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03358/1.029, allocations: 7.977 MB / 0.7101 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/1.029, allocations: 17.94 kB / 0.7102 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006855/1.03, allocations: 144.6 kB / 0.7103 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00144/1.032, allocations: 0.6554 MB / 0.7109 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02581/1.057, allocations: 6.835 MB / 0.7176 GB, free: 99.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04748/1.105, allocations: 25.72 MB / 0.7427 GB, free: 82.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.011/1.116, allocations: 2.232 MB / 0.7449 GB, free: 82.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01377/1.13, allocations: 7.082 MB / 0.7518 GB, free: 77.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/1.13, allocations: 43.06 kB / 0.7519 GB, free: 77.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=80): time 4.118e-06/1.13, allocations: 0 / 0.7519 GB, free: 77.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.02639/1.156, allocations: 5.335 MB / 0.7571 GB, free: 75.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/1.156, allocations: 63.69 kB / 0.7571 GB, free: 75.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00455/1.161, allocations: 2.136 MB / 0.7592 GB, free: 74.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002349/1.161, allocations: 40.86 kB / 0.7593 GB, free: 74.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/1.163, allocations: 2.061 MB / 0.7613 GB, free: 73.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/1.163, allocations: 390.4 kB / 0.7616 GB, free: 72.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/1.164, allocations: 72 kB / 0.7617 GB, free: 72.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002373/1.164, allocations: 459.2 kB / 0.7621 GB, free: 72.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/1.166, allocations: 1.009 MB / 0.7631 GB, free: 72.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003452/1.17, allocations: 3.162 MB / 0.7662 GB, free: 68.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003361/1.173, allocations: 1.72 MB / 0.7679 GB, free: 68.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.124e-05/1.173, allocations: 19.59 kB / 0.7679 GB, free: 68.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=453) (initialization): time 0.01059/1.184, allocations: 4.073 MB / 0.7719 GB, free: 64.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/1.184, allocations: 40.25 kB / 0.7719 GB, free: 64.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/1.184, allocations: 76 kB / 0.772 GB, free: 64.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/1.184, allocations: 116 kB / 0.7721 GB, free: 64.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/1.189, allocations: 0.8366 MB / 0.7729 GB, free: 63.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001944/1.189, allocations: 152.7 kB / 0.7731 GB, free: 63.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/1.193, allocations: 180.9 kB / 0.7732 GB, free: 63.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008827/1.194, allocations: 219.4 kB / 0.7735 GB, free: 62.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 53 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 (453): * Single equations (assignments): 453 * 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.004366/1.199, allocations: 1.424 MB / 0.7748 GB, free: 61.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006359/1.199, allocations: 209.3 kB / 0.775 GB, free: 61.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/1.203, allocations: 1.41 MB / 0.7764 GB, free: 60.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.203, allocations: 8 kB / 0.7764 GB, free: 60.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.203, allocations: 0 / 0.7764 GB, free: 60.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/1.203, allocations: 3.75 kB / 0.7764 GB, free: 60.26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/1.216, allocations: 5.409 MB / 0.7817 GB, free: 55.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.378e-05/1.217, allocations: 16 kB / 0.7817 GB, free: 55.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/1.218, allocations: 240.2 kB / 0.782 GB, free: 55.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.12e-05/1.218, allocations: 30.75 kB / 0.782 GB, free: 55.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/1.218, allocations: 44 kB / 0.782 GB, free: 55.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.987e-05/1.218, allocations: 31.72 kB / 0.7821 GB, free: 55.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.54e-05/1.218, allocations: 23.94 kB / 0.7821 GB, free: 55.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/1.222, allocations: 3.288 MB / 0.7853 GB, free: 51.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009934/1.223, allocations: 308.3 kB / 0.7856 GB, free: 51.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006043/1.223, allocations: 42.95 kB / 0.7856 GB, free: 50.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.225, allocations: 47.88 kB / 0.7857 GB, free: 50.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/1.225, allocations: 136.9 kB / 0.7858 GB, free: 50.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.225, allocations: 52 kB / 0.7859 GB, free: 50.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003644/1.229, allocations: 1.512 MB / 0.7873 GB, free: 49.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.3e-07/1.229, allocations: 0 / 0.7873 GB, free: 49.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005924/1.235, allocations: 0.628 MB / 0.7879 GB, free: 48.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * 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 (129): * Single equations (assignments): 129 * 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.00533/1.24, allocations: 8.133 MB / 0.7959 GB, free: 40.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005632/1.246, allocations: 2.38 MB / 0.7982 GB, free: 38.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-05/1.246, allocations: 8.062 kB / 0.7982 GB, free: 38.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/1.247, allocations: 0.6084 MB / 0.7988 GB, free: 37.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/1.25, allocations: 334.7 kB / 0.7991 GB, free: 37.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04413/1.294, allocations: 63.56 MB / 0.8612 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005238/1.299, allocations: 2.512 MB / 0.8637 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004921/1.304, allocations: 0.9743 MB / 0.8646 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003527/1.308, allocations: 1.252 MB / 0.8658 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/1.308, allocations: 0 / 0.8658 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3564/1.664, allocations: 45.41 MB / 0.9102 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/1.665, allocations: 162.9 kB / 0.9103 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.636/5.301, allocations: 3.938 kB / 0.9103 GB, free: 138.5 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat