Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2.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.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical2",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.001388/0.001393, allocations: 179.4 kB / 8.363 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.366/2.366, 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.001133/0.001133, allocations: 84.31 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.38/0.38, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.226e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4354, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2217/0.6572, allocations: 116.7 MB / 0.58 GB, free: 14.47 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.6576, allocations: 83.89 kB / 0.58 GB, free: 14.39 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.153/1.81, allocations: 224.1 MB / 0.7989 GB, free: 8.68 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.305e-06/1.81, allocations: 4 kB / 0.7989 GB, free: 8.676 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0008291/1.811, allocations: 279.9 kB / 0.7991 GB, free: 8.402 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: 4612 * Number of variables: 4612 Notification: Performance of Generate backend data structure: time 0.08564/1.897, allocations: 13.78 MB / 0.8126 GB, free: 10.52 MB / 491.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/1.897, allocations: 8.031 kB / 0.8126 GB, free: 10.51 MB / 491.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8282/2.725, allocations: 10.92 MB / 0.8233 GB, free: 44.11 MB / 491.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06494/2.79, allocations: 15.51 MB / 0.8384 GB, free: 43.59 MB / 491.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001126/2.791, allocations: 480.5 kB / 0.8389 GB, free: 43.59 MB / 491.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00763/2.799, allocations: 0.858 MB / 0.8397 GB, free: 43.57 MB / 491.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05341/2.852, allocations: 18.11 MB / 0.8574 GB, free: 43.5 MB / 491.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07652/2.929, allocations: 26.82 MB / 0.8836 GB, free: 37.11 MB / 491.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001068/2.93, allocations: 150.5 kB / 0.8837 GB, free: 37.09 MB / 491.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006363/2.936, allocations: 72.69 kB / 0.8838 GB, free: 37.09 MB / 491.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005372/2.942, allocations: 2.338 MB / 0.8861 GB, free: 37.07 MB / 491.2 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2117/3.154, allocations: 125.1 MB / 1.008 GB, free: 10.11 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01656/3.17, allocations: 7.262 MB / 1.015 GB, free: 3.289 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7888/3.959, allocations: 6.204 MB / 1.021 GB, free: 105.7 MB / 0.5423 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006875/3.966, allocations: 4.849 MB / 1.026 GB, free: 101.7 MB / 0.5423 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/3.966, allocations: 78.11 kB / 1.026 GB, free: 101.7 MB / 0.5423 GB Notification: Performance of pre-optimization done (n=435): time 1.063e-05/3.966, allocations: 2.594 kB / 1.026 GB, free: 101.7 MB / 0.5423 GB Notification: Performance of matching and sorting (n=569): time 0.4287/4.395, allocations: 98.71 MB / 1.123 GB, free: 92.98 MB / 0.5423 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/4.395, allocations: 338.4 kB / 1.123 GB, free: 92.63 MB / 0.5423 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01962/4.415, allocations: 7.522 MB / 1.13 GB, free: 89.89 MB / 0.5423 GB Notification: Performance of collectPreVariables (initialization): time 0.001774/4.417, allocations: 25.7 kB / 1.13 GB, free: 89.86 MB / 0.5423 GB Notification: Performance of collectInitialEqns (initialization): time 0.007356/4.424, allocations: 8.719 MB / 1.139 GB, free: 82.79 MB / 0.5423 GB Notification: Performance of collectInitialBindings (initialization): time 0.004264/4.428, allocations: 2.126 MB / 1.141 GB, free: 80.88 MB / 0.5423 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003109/4.431, allocations: 4 kB / 1.141 GB, free: 80.88 MB / 0.5423 GB Notification: Performance of setup shared object (initialization): time 0.001798/4.433, allocations: 1.013 MB / 1.142 GB, free: 80.05 MB / 0.5423 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02003/4.453, allocations: 8.973 MB / 1.151 GB, free: 71.99 MB / 0.5423 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02604/4.479, allocations: 18.37 MB / 1.169 GB, free: 50.55 MB / 0.5423 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02594/4.505, allocations: 12.5 MB / 1.181 GB, free: 40.16 MB / 0.5423 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003989/4.506, allocations: 96 kB / 1.181 GB, free: 40.06 MB / 0.5423 GB Notification: Performance of matching and sorting (n=2148) (initialization): time 0.1215/4.627, allocations: 34.17 MB / 1.214 GB, free: 12.27 MB / 0.5423 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002513/4.628, allocations: 148 kB / 1.214 GB, free: 12.12 MB / 0.5423 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.5297/5.157, allocations: 22.95 MB / 1.237 GB, free: 83.52 MB / 0.5423 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06806/5.226, allocations: 10.86 MB / 1.247 GB, free: 83.41 MB / 0.5423 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02488/5.251, allocations: 3.94 MB / 1.251 GB, free: 83.41 MB / 0.5423 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09163/5.342, allocations: 47.21 MB / 1.297 GB, free: 70.96 MB / 0.5423 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02863/5.371, allocations: 1.499 MB / 1.299 GB, free: 70.96 MB / 0.5423 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00517/5.376, allocations: 0.9986 MB / 1.3 GB, free: 70.96 MB / 0.5423 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1523 * Number of states: 0 () * Number of discrete variables: 78 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1972): * Single equations (assignments): 1943 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007579/5.384, allocations: 0.9348 MB / 1.301 GB, free: 70.68 MB / 0.5423 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1211/5.505, allocations: 27.63 MB / 1.328 GB, free: 64.25 MB / 0.5423 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003899/5.509, allocations: 0.8422 MB / 1.329 GB, free: 64.25 MB / 0.5423 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1236/5.633, allocations: 28.38 MB / 1.356 GB, free: 54.22 MB / 0.5423 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1172/5.75, allocations: 26.75 MB / 1.382 GB, free: 29.66 MB / 0.5423 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001072/5.75, allocations: 24 kB / 1.382 GB, free: 29.63 MB / 0.5423 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002124/5.75, allocations: 34.39 kB / 1.382 GB, free: 29.6 MB / 0.5423 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6689/6.419, allocations: 60.28 MB / 1.441 GB, free: 107.7 MB / 0.5735 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.147e-05/6.419, allocations: 4.031 kB / 1.441 GB, free: 107.7 MB / 0.5735 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009988/6.429, allocations: 1.015 MB / 1.442 GB, free: 107.7 MB / 0.5735 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09787/6.527, allocations: 15.6 MB / 1.458 GB, free: 107.6 MB / 0.5735 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001967/6.529, allocations: 95 kB / 1.458 GB, free: 107.6 MB / 0.5735 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1335/6.663, allocations: 61.49 MB / 1.518 GB, free: 94.24 MB / 0.5735 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05047/6.713, allocations: 23.45 MB / 1.541 GB, free: 81.12 MB / 0.5735 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.143/6.856, allocations: 40.5 MB / 1.58 GB, free: 65.68 MB / 0.5735 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003539/6.86, allocations: 0.8898 MB / 1.581 GB, free: 65.25 MB / 0.5735 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004276/6.864, allocations: 41.38 kB / 1.581 GB, free: 65.22 MB / 0.5735 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01616/6.88, allocations: 0.8179 MB / 1.582 GB, free: 64.8 MB / 0.5735 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00351/6.884, allocations: 456.1 kB / 1.582 GB, free: 64.56 MB / 0.5735 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001644/6.886, allocations: 185.1 kB / 1.582 GB, free: 64.43 MB / 0.5735 GB Notification: Performance of sorting global known variables: time 0.01453/6.9, allocations: 5.004 MB / 1.587 GB, free: 60.11 MB / 0.5735 GB Notification: Performance of sort global known variables: time 8.71e-07/6.9, allocations: 0 / 1.587 GB, free: 60.11 MB / 0.5735 GB Notification: Performance of remove unused functions: time 0.02865/6.929, allocations: 4.276 MB / 1.592 GB, free: 55.84 MB / 0.5735 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET140306036408717.x[2],$STATESET140306036408717.x[1],$STATESET140306036408716.x[5],$STATESET140306036408716.x[4],$STATESET140306036408716.x[3],$STATESET140306036408716.x[2],$STATESET140306036408716.x[1],$STATESET140306036408715.x[6],$STATESET140306036408715.x[5],$STATESET140306036408715.x[4],$STATESET140306036408715.x[3],$STATESET140306036408715.x[2],$STATESET140306036408715.x[1],$STATESET140306036408714.x[3],$STATESET140306036408714.x[2],$STATESET140306036408714.x[1],$STATESET140306036408713.x[2],$STATESET140306036408713.x[1],$STATESET140306036408712.x[5],$STATESET140306036408712.x[4],$STATESET140306036408712.x[3],$STATESET140306036408712.x[2],$STATESET140306036408712.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (412): * Single equations (assignments): 397 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.1416/7.071, allocations: 41.79 MB / 1.632 GB, free: 14.28 MB / 0.5735 GB Notification: Performance of simCode: created initialization part: time 0.4833/7.554, allocations: 22.81 MB / 1.655 GB, free: 116.5 MB / 0.5735 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/7.554, allocations: 1.625 kB / 1.655 GB, free: 116.5 MB / 0.5735 GB Notification: Performance of simCode: created simulation system equations: time 0.03474/7.589, allocations: 11.37 MB / 1.666 GB, free: 115.1 MB / 0.5735 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01211/7.601, allocations: 1.115 MB / 1.667 GB, free: 115.1 MB / 0.5735 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1355/7.736, allocations: 37.15 MB / 1.703 GB, free: 109.3 MB / 0.5735 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02726/7.764, allocations: 9.435 MB / 1.712 GB, free: 108.3 MB / 0.5735 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01827/7.782, allocations: 6.52 MB / 1.719 GB, free: 103.9 MB / 0.5735 GB Notification: Performance of SimCode: time 1.352e-06/7.782, allocations: 0 / 1.719 GB, free: 103.9 MB / 0.5735 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.28/19.06, allocations: 0.9279 GB / 2.647 GB, free: 89.89 MB / 0.6204 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat does not exist to compare? outputFormat=mat