Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 195.1 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009165/0.0009165, allocations: 94.31 kB / 292.1 MB, free: 5.992 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1833/0.1833, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.14e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09531, allocations: 63.24 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.4542, allocations: 112.8 MB / 0.6216 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.4545, allocations: 73.97 kB / 0.6217 GB, free: 13.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1514/0.6059, allocations: 66.88 MB / 0.687 GB, free: 2.656 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.6059, allocations: 0 / 0.687 GB, free: 2.656 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001562/0.6061, allocations: 76 kB / 0.6871 GB, free: 2.582 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: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.009849/0.616, allocations: 3.783 MB / 0.6908 GB, free: 14.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.616, allocations: 15.97 kB / 0.6908 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001732/0.6178, allocations: 0.6055 MB / 0.6914 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/0.6213, allocations: 0.6468 MB / 0.692 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005514/0.6268, allocations: 2.411 MB / 0.6944 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.6271, allocations: 275.3 kB / 0.6946 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/0.6283, allocations: 367.9 kB / 0.695 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02059/0.6489, allocations: 8.93 MB / 0.7037 GB, free: 1.086 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.795e-05/0.649, allocations: 19.8 kB / 0.7037 GB, free: 1.066 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004309/0.6494, allocations: 163.9 kB / 0.7039 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000856/0.6503, allocations: 0.6702 MB / 0.7045 GB, free: 240 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.6672, allocations: 7.947 MB / 0.7123 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.037/0.7043, allocations: 28.24 MB / 0.7399 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007882/0.7122, allocations: 2.997 MB / 0.7428 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/0.714, allocations: 1.538 MB / 0.7443 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2402/0.9542, allocations: 8.628 MB / 0.7527 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.9543, allocations: 43 kB / 0.7528 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=93): time 2.515e-06/0.9543, allocations: 0 / 0.7528 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=110): time 0.01886/0.9731, allocations: 6.35 MB / 0.759 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.9732, allocations: 63.09 kB / 0.759 GB, free: 143 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003432/0.9767, allocations: 2.273 MB / 0.7613 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.9768, allocations: 43.67 kB / 0.7613 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.978, allocations: 2.144 MB / 0.7634 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003645/0.9784, allocations: 434.9 kB / 0.7638 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.9786, allocations: 71.72 kB / 0.7639 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.9788, allocations: 462.9 kB / 0.7643 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.9806, allocations: 1.354 MB / 0.7656 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/0.9834, allocations: 3.414 MB / 0.769 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/0.9865, allocations: 2.089 MB / 0.771 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.262e-05/0.9866, allocations: 21.06 kB / 0.771 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.006492/0.9931, allocations: 4.764 MB / 0.7757 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.07e-05/0.9932, allocations: 39.88 kB / 0.7757 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-05/0.9932, allocations: 77.61 kB / 0.7758 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-05/0.9933, allocations: 108 kB / 0.7759 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/0.9958, allocations: 0.8909 MB / 0.7768 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.033e-05/0.9959, allocations: 143.2 kB / 0.7769 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/0.9982, allocations: 231.8 kB / 0.7771 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002358/0.9985, allocations: 213.9 kB / 0.7773 GB, free: 138.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 (476): * Single equations (assignments): 475 * 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.0004415/0.9989, allocations: 410.1 kB / 0.7777 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.9992, allocations: 226.4 kB / 0.7779 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/1.002, allocations: 2.073 MB / 0.78 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/1.002, allocations: 11.12 kB / 0.78 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.002, allocations: 0 / 0.78 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/1.002, allocations: 7.453 kB / 0.78 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007417/1.009, allocations: 6.428 MB / 0.7863 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/1.009, allocations: 18.41 kB / 0.7863 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009528/1.01, allocations: 290.8 kB / 0.7866 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.468e-05/1.01, allocations: 28.34 kB / 0.7866 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.167e-05/1.01, allocations: 45.94 kB / 0.7866 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.015e-05/1.01, allocations: 39.33 kB / 0.7867 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/1.01, allocations: 28.31 kB / 0.7867 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/1.013, allocations: 4.008 MB / 0.7906 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004995/1.013, allocations: 332.1 kB / 0.7909 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/1.014, allocations: 53.34 kB / 0.791 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008699/1.015, allocations: 77.7 kB / 0.791 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.015, allocations: 146.9 kB / 0.7912 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/1.015, allocations: 61.42 kB / 0.7912 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001713/1.017, allocations: 1.603 MB / 0.7928 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/1.017, allocations: 0 / 0.7928 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002745/1.019, allocations: 0.7026 MB / 0.7935 GB, free: 131 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 157 * 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.003116/1.022, allocations: 9.19 MB / 0.8025 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003701/1.026, allocations: 3.028 MB / 0.8054 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.026, allocations: 3.875 kB / 0.8054 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008629/1.027, allocations: 0.8876 MB / 0.8063 GB, free: 121 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/1.028, allocations: 334.5 kB / 0.8066 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009615/1.038, allocations: 6.776 MB / 0.8132 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002018/1.04, allocations: 2.75 MB / 0.8159 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002247/1.042, allocations: 0.9604 MB / 0.8169 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/1.044, allocations: 1.373 MB / 0.8182 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.924e-06/1.044, allocations: 0 / 0.8182 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06288/1.106, allocations: 52.83 MB / 0.8698 GB, free: 80.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001222/1.107, allocations: 146.6 kB / 0.8699 GB, free: 80.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/4.083, allocations: 0 / 0.8699 GB, free: 80.24 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat