Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002218/0.002226, allocations: 178 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 92.17 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3386/0.3386, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.749e-05/2.753e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.3993, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.5956, allocations: 107.5 MB / 0.5709 GB, free: 7.699 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.5959, allocations: 79.95 kB / 0.571 GB, free: 7.621 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8584/1.454, allocations: 74.7 MB / 0.644 GB, free: 111.6 MB / 475.1 MB Notification: Performance of FrontEnd: time 3.577e-06/1.454, allocations: 0 / 0.644 GB, free: 111.6 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002894/1.455, allocations: 69.89 kB / 0.644 GB, free: 111.6 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.02388/1.479, allocations: 3.812 MB / 0.6477 GB, free: 110.2 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.839e-05/1.479, allocations: 9.688 kB / 0.6478 GB, free: 110.2 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009724/1.489, allocations: 0.6742 MB / 0.6484 GB, free: 110 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/1.502, allocations: 2.228 MB / 0.6506 GB, free: 109.5 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004074/1.503, allocations: 124.9 kB / 0.6507 GB, free: 109.5 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002454/1.505, allocations: 221.4 kB / 0.6509 GB, free: 109.5 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01542/1.521, allocations: 5.467 MB / 0.6563 GB, free: 109.5 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0221/1.543, allocations: 7.131 MB / 0.6632 GB, free: 108.4 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001734/1.543, allocations: 20.28 kB / 0.6632 GB, free: 108.4 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001203/1.544, allocations: 11.19 kB / 0.6633 GB, free: 108.4 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002745/1.547, allocations: 0.8421 MB / 0.6641 GB, free: 108.4 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05503/1.602, allocations: 27.77 MB / 0.6912 GB, free: 92.73 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/1.605, allocations: 1.356 MB / 0.6925 GB, free: 92.09 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/1.607, allocations: 1.011 MB / 0.6935 GB, free: 91.62 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.015/1.622, allocations: 7.338 MB / 0.7007 GB, free: 86.7 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/1.622, allocations: 50.34 kB / 0.7007 GB, free: 86.66 MB / 475.1 MB Notification: Performance of pre-optimization done (n=74): time 3.717e-06/1.622, allocations: 0 / 0.7007 GB, free: 86.66 MB / 475.1 MB Notification: Performance of matching and sorting (n=87): time 0.02192/1.644, allocations: 6.165 MB / 0.7067 GB, free: 83.76 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/1.644, allocations: 146.4 kB / 0.7069 GB, free: 83.6 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/1.648, allocations: 1.993 MB / 0.7088 GB, free: 82.73 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002029/1.648, allocations: 25.7 kB / 0.7089 GB, free: 82.7 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/1.65, allocations: 2.512 MB / 0.7113 GB, free: 80.71 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004713/1.65, allocations: 362 kB / 0.7116 GB, free: 80.46 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/1.65, allocations: 1.875 kB / 0.7117 GB, free: 80.46 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.000236/1.651, allocations: 477.5 kB / 0.7121 GB, free: 80.08 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/1.653, allocations: 0.9771 MB / 0.7131 GB, free: 79.7 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003332/1.656, allocations: 3.462 MB / 0.7164 GB, free: 75.84 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005879/1.662, allocations: 1.922 MB / 0.7183 GB, free: 75.12 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.308e-05/1.662, allocations: 28.69 kB / 0.7183 GB, free: 75.12 MB / 475.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.01182/1.674, allocations: 3.964 MB / 0.7222 GB, free: 73.74 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.039e-05/1.674, allocations: 46.16 kB / 0.7223 GB, free: 73.74 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/1.674, allocations: 91.5 kB / 0.7223 GB, free: 73.74 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/1.674, allocations: 132.4 kB / 0.7225 GB, free: 73.74 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005498/1.68, allocations: 0.9769 MB / 0.7234 GB, free: 73.62 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001564/1.68, allocations: 176.5 kB / 0.7236 GB, free: 73.58 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00398/1.684, allocations: 133.4 kB / 0.7237 GB, free: 73.56 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007843/1.685, allocations: 245.9 kB / 0.724 GB, free: 73.53 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 409 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (516): * Single equations (assignments): 516 * 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.0006791/1.686, allocations: 336.6 kB / 0.7243 GB, free: 73.25 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002315/1.688, allocations: 1.063 MB / 0.7253 GB, free: 72.46 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003915/1.688, allocations: 205.3 kB / 0.7255 GB, free: 72.26 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/1.691, allocations: 1.124 MB / 0.7266 GB, free: 71.28 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/1.691, allocations: 15.95 kB / 0.7266 GB, free: 71.27 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.691, allocations: 0 / 0.7266 GB, free: 71.27 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/1.691, allocations: 3.844 kB / 0.7266 GB, free: 71.27 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/1.702, allocations: 4.618 MB / 0.7311 GB, free: 67.06 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/1.702, allocations: 20.06 kB / 0.7312 GB, free: 67.04 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/1.703, allocations: 222.8 kB / 0.7314 GB, free: 66.85 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.323e-05/1.703, allocations: 27.95 kB / 0.7314 GB, free: 66.82 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.17e-05/1.703, allocations: 27.19 kB / 0.7314 GB, free: 66.8 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.422e-05/1.703, allocations: 31.44 kB / 0.7315 GB, free: 66.77 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.056e-05/1.703, allocations: 27.88 kB / 0.7315 GB, free: 66.74 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/1.706, allocations: 2.985 MB / 0.7344 GB, free: 63.1 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007637/1.707, allocations: 285.1 kB / 0.7347 GB, free: 62.81 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/1.707, allocations: 23.61 kB / 0.7347 GB, free: 62.79 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/1.709, allocations: 31.55 kB / 0.7347 GB, free: 62.77 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/1.709, allocations: 132 kB / 0.7348 GB, free: 62.66 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.752e-05/1.709, allocations: 48 kB / 0.7349 GB, free: 62.62 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.002682/1.712, allocations: 1.3 MB / 0.7362 GB, free: 61.46 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.092e-06/1.712, allocations: 0 / 0.7362 GB, free: 61.46 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.004818/1.717, allocations: 0.5858 MB / 0.7367 GB, free: 60.87 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.00406/1.721, allocations: 8.077 MB / 0.7446 GB, free: 52.39 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.00475/1.726, allocations: 2.242 MB / 0.7468 GB, free: 50.32 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/1.726, allocations: 1.062 kB / 0.7468 GB, free: 50.32 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.727, allocations: 0.5013 MB / 0.7473 GB, free: 49.86 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/1.729, allocations: 219.6 kB / 0.7475 GB, free: 49.67 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/1.748, allocations: 6.748 MB / 0.7541 GB, free: 43.55 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005249/1.754, allocations: 2.817 MB / 0.7569 GB, free: 41.38 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003169/1.757, allocations: 1.496 MB / 0.7583 GB, free: 40 MB / 475.1 MB Notification: Performance of SimCode: time 1.032e-06/1.757, allocations: 0 / 0.7583 GB, free: 40 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.464/5.221, allocations: 55.85 MB / 0.8129 GB, free: 3.348 MB / 491.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat