Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",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.002358/0.002357, 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.132/2.132, 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: 84.97 kB / 262.1 MB, free: 13.87 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.2966/0.2966, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.337e-05/2.333e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4049, allocations: 58.86 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.5854, allocations: 97.64 MB / 0.5613 GB, free: 1.523 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.5858, allocations: 71.97 kB / 0.5614 GB, free: 1.453 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.09065/0.6765, allocations: 20.17 MB / 0.5811 GB, free: 13.14 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6765, allocations: 0 / 0.5811 GB, free: 13.14 MB / 427.1 MB Notification: Performance of Transformations before backend: time 8.267e-05/0.6766, allocations: 24 kB / 0.5811 GB, free: 13.12 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004833/0.6815, allocations: 1.385 MB / 0.5825 GB, free: 11.68 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.6816, allocations: 8.031 kB / 0.5825 GB, free: 11.68 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.6834, allocations: 202.3 kB / 0.5827 GB, free: 11.48 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.6861, allocations: 0.7226 MB / 0.5834 GB, free: 10.71 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.6862, allocations: 40 kB / 0.5834 GB, free: 10.67 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003791/0.6866, allocations: 56 kB / 0.5835 GB, free: 10.62 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004457/0.6911, allocations: 1.691 MB / 0.5851 GB, free: 8.922 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00497/0.6961, allocations: 1.956 MB / 0.587 GB, free: 6.812 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-05/0.6962, allocations: 7.938 kB / 0.5871 GB, free: 6.805 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.6964, allocations: 4 kB / 0.5871 GB, free: 6.801 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004919/0.6969, allocations: 209.8 kB / 0.5873 GB, free: 6.594 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.7101, allocations: 7.562 MB / 0.5946 GB, free: 14.82 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.7111, allocations: 410.5 kB / 0.595 GB, free: 14.4 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.7117, allocations: 232.8 kB / 0.5953 GB, free: 14.17 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002334/0.7141, allocations: 1.746 MB / 0.597 GB, free: 12.15 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.7141, allocations: 42.52 kB / 0.597 GB, free: 12.1 MB / 443.1 MB Notification: Performance of pre-optimization done (n=44): time 3.577e-06/0.7142, allocations: 0 / 0.597 GB, free: 12.1 MB / 443.1 MB Notification: Performance of matching and sorting (n=58): time 0.01188/0.726, allocations: 1.998 MB / 0.599 GB, free: 10.09 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.7262, allocations: 67.86 kB / 0.599 GB, free: 10.01 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.7275, allocations: 0.6673 MB / 0.5997 GB, free: 9.34 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 9.501e-05/0.7276, allocations: 25.7 kB / 0.5997 GB, free: 9.309 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006275/0.7283, allocations: 0.7171 MB / 0.6004 GB, free: 8.582 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.7286, allocations: 201.1 kB / 0.6006 GB, free: 8.383 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.7286, allocations: 3.938 kB / 0.6006 GB, free: 8.379 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.7288, allocations: 362.8 kB / 0.6009 GB, free: 8.016 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008492/0.7297, allocations: 338.5 kB / 0.6013 GB, free: 7.684 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.7311, allocations: 0.9653 MB / 0.6022 GB, free: 6.398 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.7324, allocations: 0.5562 MB / 0.6027 GB, free: 5.848 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.7324, allocations: 7.938 kB / 0.6028 GB, free: 5.84 MB / 443.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.00294/0.7354, allocations: 1.191 MB / 0.6039 GB, free: 4.641 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.7354, allocations: 16 kB / 0.6039 GB, free: 4.625 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/0.7355, allocations: 24 kB / 0.604 GB, free: 4.602 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.634e-05/0.7356, allocations: 32 kB / 0.604 GB, free: 4.57 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/0.738, allocations: 331.4 kB / 0.6043 GB, free: 4.246 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.7394, allocations: 1.321 MB / 0.6056 GB, free: 2.816 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.7407, allocations: 36.02 kB / 0.6056 GB, free: 2.781 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.7408, allocations: 67.98 kB / 0.6057 GB, free: 2.715 MB / 443.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (160): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003305/0.7412, allocations: 179.4 kB / 0.6059 GB, free: 2.531 MB / 443.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001455/0.7427, allocations: 0.5645 MB / 0.6064 GB, free: 1.957 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.7428, allocations: 82.97 kB / 0.6065 GB, free: 1.875 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.7432, allocations: 96.05 kB / 0.6066 GB, free: 1.773 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.7432, allocations: 8 kB / 0.6066 GB, free: 1.766 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.7432, allocations: 11.95 kB / 0.6066 GB, free: 1.754 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.7432, allocations: 3.984 kB / 0.6066 GB, free: 1.75 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005469/0.7487, allocations: 1.832 MB / 0.6084 GB, free: 15.79 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.7488, allocations: 4 kB / 0.6084 GB, free: 15.79 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.75, allocations: 124.5 kB / 0.6085 GB, free: 15.67 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.077e-05/0.75, allocations: 15.98 kB / 0.6085 GB, free: 15.65 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.7501, allocations: 12 kB / 0.6085 GB, free: 15.64 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.7513, allocations: 1.278 MB / 0.6098 GB, free: 14.25 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.927e-05/0.7514, allocations: 11.94 kB / 0.6098 GB, free: 14.24 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.7531, allocations: 1.08 MB / 0.6109 GB, free: 12.89 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.7536, allocations: 188.1 kB / 0.611 GB, free: 12.69 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.7537, allocations: 11.98 kB / 0.6111 GB, free: 12.68 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.7543, allocations: 12 kB / 0.6111 GB, free: 12.67 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.7544, allocations: 55.8 kB / 0.6111 GB, free: 12.61 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/0.7545, allocations: 20 kB / 0.6111 GB, free: 12.59 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0009807/0.7555, allocations: 475.1 kB / 0.6116 GB, free: 12.14 MB / 459.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.7555, allocations: 0 / 0.6116 GB, free: 12.14 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.001666/0.7572, allocations: 184 kB / 0.6118 GB, free: 11.96 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002818/0.76, allocations: 3.429 MB / 0.6151 GB, free: 8.328 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.002347/0.7624, allocations: 0.7871 MB / 0.6159 GB, free: 7.543 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.7625, allocations: 0 / 0.6159 GB, free: 7.543 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008172/0.7633, allocations: 266.6 kB / 0.6161 GB, free: 7.285 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009089/0.7643, allocations: 90.05 kB / 0.6162 GB, free: 7.199 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006199/0.7705, allocations: 1.984 MB / 0.6182 GB, free: 5.086 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/0.772, allocations: 1.248 MB / 0.6194 GB, free: 3.809 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009571/0.773, allocations: 407.3 kB / 0.6198 GB, free: 3.41 MB / 459.1 MB Notification: Performance of SimCode: time 1.814e-06/0.773, allocations: 0 / 0.6198 GB, free: 3.41 MB / 459.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.363/4.136, allocations: 20.86 MB / 0.6401 GB, free: 136.2 MB / 475.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat