Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRR",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.001407/0.001411, allocations: 177.8 kB / 8.36 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.018/2.018, 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.001085/0.001085, allocations: 94.22 kB / 262.1 MB, free: 13.88 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.2924/0.2924, allocations: 43.48 MB / 353.5 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.838e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3913, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.5916, allocations: 109.4 MB / 0.5728 GB, free: 5.742 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.592, allocations: 83.45 kB / 0.5729 GB, free: 5.664 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6214/1.213, allocations: 72.56 MB / 0.6438 GB, free: 109.1 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.054e-06/1.213, allocations: 0 / 0.6438 GB, free: 109.1 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002785/1.214, allocations: 80.42 kB / 0.6439 GB, free: 109.1 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01869/1.232, allocations: 4.107 MB / 0.6479 GB, free: 107.6 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.233, allocations: 9.688 kB / 0.6479 GB, free: 107.6 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007789/1.24, allocations: 0.7454 MB / 0.6486 GB, free: 107.4 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/1.251, allocations: 2.588 MB / 0.6511 GB, free: 106.9 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/1.252, allocations: 136.8 kB / 0.6513 GB, free: 106.9 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002321/1.254, allocations: 242.5 kB / 0.6515 GB, free: 106.9 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01754/1.272, allocations: 6.146 MB / 0.6575 GB, free: 106.9 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02513/1.297, allocations: 7.818 MB / 0.6651 GB, free: 105.8 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001716/1.297, allocations: 19.78 kB / 0.6651 GB, free: 105.8 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001656/1.299, allocations: 9.094 kB / 0.6652 GB, free: 105.8 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002566/1.301, allocations: 0.8625 MB / 0.666 GB, free: 105.8 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06169/1.363, allocations: 30.33 MB / 0.6956 GB, free: 88.49 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/1.367, allocations: 1.942 MB / 0.6975 GB, free: 87.56 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/1.37, allocations: 1.446 MB / 0.6989 GB, free: 86.86 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01754/1.387, allocations: 8.591 MB / 0.7073 GB, free: 81.55 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/1.387, allocations: 54.08 kB / 0.7074 GB, free: 81.5 MB / 475.1 MB Notification: Performance of pre-optimization done (n=82): time 4.849e-06/1.387, allocations: 0 / 0.7074 GB, free: 81.5 MB / 475.1 MB Notification: Performance of matching and sorting (n=97): time 0.02881/1.416, allocations: 8.056 MB / 0.7152 GB, free: 78.16 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/1.416, allocations: 110.8 kB / 0.7153 GB, free: 78.04 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004682/1.421, allocations: 2.184 MB / 0.7175 GB, free: 77.09 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002791/1.421, allocations: 25.7 kB / 0.7175 GB, free: 77.06 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001827/1.423, allocations: 2.61 MB / 0.7201 GB, free: 75 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005838/1.424, allocations: 399.4 kB / 0.7204 GB, free: 74.71 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004473/1.424, allocations: 0 / 0.7204 GB, free: 74.71 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002721/1.425, allocations: 489.6 kB / 0.7209 GB, free: 74.32 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003067/1.428, allocations: 1.3 MB / 0.7222 GB, free: 73.79 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004662/1.432, allocations: 3.735 MB / 0.7258 GB, free: 69.83 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006861/1.439, allocations: 2.259 MB / 0.728 GB, free: 68.94 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.259e-05/1.439, allocations: 24.41 kB / 0.728 GB, free: 68.94 MB / 475.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.01424/1.454, allocations: 4.64 MB / 0.7326 GB, free: 64.99 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.168e-05/1.454, allocations: 44 kB / 0.7326 GB, free: 64.95 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/1.454, allocations: 84 kB / 0.7327 GB, free: 64.87 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/1.454, allocations: 132 kB / 0.7328 GB, free: 64.74 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009/1.463, allocations: 1.025 MB / 0.7338 GB, free: 63.85 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000196/1.463, allocations: 174.3 kB / 0.734 GB, free: 63.7 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007559/1.471, allocations: 171 kB / 0.7342 GB, free: 63.56 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/1.472, allocations: 250.2 kB / 0.7344 GB, free: 63.32 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 400 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.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 (537): * Single equations (assignments): 536 * 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.001874/1.474, allocations: 354.9 kB / 0.7347 GB, free: 62.97 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005346/1.48, allocations: 1.538 MB / 0.7362 GB, free: 61.57 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000954/1.481, allocations: 216.9 kB / 0.7364 GB, free: 61.36 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005892/1.487, allocations: 1.714 MB / 0.7381 GB, free: 59.87 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/1.487, allocations: 8 kB / 0.7381 GB, free: 59.86 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/1.487, allocations: 7.938 kB / 0.7381 GB, free: 59.86 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.939e-05/1.487, allocations: 7.797 kB / 0.7381 GB, free: 59.86 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/1.509, allocations: 5.604 MB / 0.7436 GB, free: 54.82 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.865e-05/1.509, allocations: 16.94 kB / 0.7436 GB, free: 54.8 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002907/1.512, allocations: 266.2 kB / 0.7439 GB, free: 54.58 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-05/1.512, allocations: 27.8 kB / 0.7439 GB, free: 54.55 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003055/1.512, allocations: 27.94 kB / 0.7439 GB, free: 54.53 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-05/1.512, allocations: 31.31 kB / 0.744 GB, free: 54.5 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-05/1.512, allocations: 31.67 kB / 0.744 GB, free: 54.47 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007111/1.519, allocations: 3.52 MB / 0.7474 GB, free: 50.38 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/1.521, allocations: 320.5 kB / 0.7477 GB, free: 50.05 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/1.522, allocations: 31.52 kB / 0.7478 GB, free: 50.03 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003513/1.526, allocations: 50 kB / 0.7478 GB, free: 50 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005343/1.526, allocations: 130.2 kB / 0.7479 GB, free: 49.9 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002144/1.526, allocations: 60 kB / 0.748 GB, free: 49.84 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.005022/1.532, allocations: 1.44 MB / 0.7494 GB, free: 48.55 MB / 475.1 MB Notification: Performance of sort global known variables: time 3.577e-06/1.532, allocations: 0 / 0.7494 GB, free: 48.55 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.008728/1.54, allocations: 0.6628 MB / 0.7501 GB, free: 47.89 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 (142): * Single equations (assignments): 142 * 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.008037/1.548, allocations: 8.586 MB / 0.7584 GB, free: 38.95 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.009729/1.558, allocations: 2.867 MB / 0.7612 GB, free: 36.31 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 2.448e-05/1.558, allocations: 4 kB / 0.7612 GB, free: 36.31 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/1.561, allocations: 0.7619 MB / 0.762 GB, free: 35.6 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/1.564, allocations: 225.7 kB / 0.7622 GB, free: 35.4 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03615/1.6, allocations: 7.693 MB / 0.7697 GB, free: 28.43 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008908/1.609, allocations: 3.029 MB / 0.7727 GB, free: 26.09 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005644/1.615, allocations: 1.612 MB / 0.7742 GB, free: 24.61 MB / 475.1 MB Notification: Performance of SimCode: time 2.174e-06/1.615, allocations: 4 kB / 0.7742 GB, free: 24.6 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.07/5.685, allocations: 62.26 MB / 0.8351 GB, free: 115.3 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat