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.002163/0.002163, allocations: 182.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.369/2.369, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001108, allocations: 94.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2929/0.2929, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.127e-05/4.158e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 58.86 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.536/0.6584, allocations: 117.3 MB / 0.5875 GB, free: 2.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.6588, allocations: 76.34 kB / 0.5876 GB, free: 2.559 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.228/1.887, allocations: 230.5 MB / 0.8127 GB, free: 82.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.565e-06/1.887, allocations: 0 / 0.8127 GB, free: 82.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008058/1.887, allocations: 275.9 kB / 0.8129 GB, free: 82.66 MB / 0.4948 GB 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.08608/1.974, allocations: 13.8 MB / 0.8264 GB, free: 68.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.127e-05/1.974, allocations: 11.97 kB / 0.8264 GB, free: 68.75 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01689/1.991, allocations: 2.814 MB / 0.8292 GB, free: 65.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08125/2.072, allocations: 10.92 MB / 0.8398 GB, free: 54.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05646/2.128, allocations: 15.54 MB / 0.855 GB, free: 39.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001367/2.13, allocations: 1.091 MB / 0.8561 GB, free: 38.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007706/2.138, allocations: 1.457 MB / 0.8575 GB, free: 36.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1286/2.266, allocations: 32.03 MB / 0.8888 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001125/2.267, allocations: 154.3 kB / 0.8889 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007082/2.274, allocations: 0.6638 MB / 0.8896 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005782/2.28, allocations: 2.331 MB / 0.8919 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.903/3.183, allocations: 25.55 MB / 0.9168 GB, free: 79.27 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.2181/3.402, allocations: 130.7 MB / 1.044 GB, free: 13.97 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06315/3.465, allocations: 12.37 MB / 1.057 GB, free: 10.89 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01282/3.478, allocations: 5.755 MB / 1.062 GB, free: 8.324 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007346/3.485, allocations: 4.846 MB / 1.067 GB, free: 4.152 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/3.485, allocations: 88.39 kB / 1.067 GB, free: 4.082 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=435): time 9.578e-06/3.485, allocations: 0 / 1.067 GB, free: 4.082 MB / 0.5262 GB Notification: Performance of matching and sorting (n=569): time 1.401/4.886, allocations: 111.2 MB / 1.176 GB, free: 127.5 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05347/4.94, allocations: 24.77 MB / 1.2 GB, free: 116.7 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02335/4.963, allocations: 8.355 MB / 1.208 GB, free: 113.6 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 0.002016/4.966, allocations: 112.4 kB / 1.208 GB, free: 113.5 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.007735/4.973, allocations: 8.578 MB / 1.216 GB, free: 106.8 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.00453/4.978, allocations: 2.188 MB / 1.219 GB, free: 105.2 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003621/4.982, allocations: 325.8 kB / 1.219 GB, free: 105 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.002223/4.984, allocations: 0.9959 MB / 1.22 GB, free: 104.4 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02208/5.006, allocations: 9.219 MB / 1.229 GB, free: 100.9 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02859/5.035, allocations: 18.45 MB / 1.247 GB, free: 84.43 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0285/5.063, allocations: 12.76 MB / 1.259 GB, free: 73.91 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003667/5.064, allocations: 92 kB / 1.259 GB, free: 73.82 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2104) (initialization): time 0.1601/5.224, allocations: 36.07 MB / 1.295 GB, free: 41.73 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002606/5.224, allocations: 148 kB / 1.295 GB, free: 41.59 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08961/5.314, allocations: 23.29 MB / 1.318 GB, free: 18.12 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5298/5.843, allocations: 10.93 MB / 1.328 GB, free: 111.7 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02677/5.87, allocations: 3.863 MB / 1.332 GB, free: 111.7 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1034/5.974, allocations: 51.25 MB / 1.382 GB, free: 98.39 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03021/6.004, allocations: 1.805 MB / 1.384 GB, free: 98.14 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00494/6.009, allocations: 0.981 MB / 1.385 GB, free: 98.01 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1478 * 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 (1928): * Single equations (assignments): 1899 * 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.008185/6.017, allocations: 1.301 MB / 1.386 GB, free: 97.37 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004025/6.021, allocations: 0.8865 MB / 1.387 GB, free: 97.36 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1269/6.148, allocations: 28.86 MB / 1.415 GB, free: 89.46 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1181/6.266, allocations: 27.1 MB / 1.442 GB, free: 80.26 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001229/6.267, allocations: 30.69 kB / 1.442 GB, free: 80.23 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000172/6.267, allocations: 27.28 kB / 1.442 GB, free: 80.23 MB / 0.5575 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.2088/6.476, allocations: 63.21 MB / 1.503 GB, free: 19.44 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.389e-05/6.476, allocations: 4 kB / 1.503 GB, free: 19.43 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01002/6.486, allocations: 1.024 MB / 1.504 GB, free: 18.45 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09662/6.582, allocations: 15.67 MB / 1.52 GB, free: 2.852 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002277/6.585, allocations: 177.8 kB / 1.52 GB, free: 2.68 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6156/7.2, allocations: 64.66 MB / 1.583 GB, free: 115.8 MB / 0.5731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05399/7.254, allocations: 24.55 MB / 1.607 GB, free: 102.1 MB / 0.5731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1448/7.399, allocations: 41.05 MB / 1.647 GB, free: 88.26 MB / 0.5731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003799/7.403, allocations: 0.9483 MB / 1.648 GB, free: 88.1 MB / 0.5731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004482/7.408, allocations: 139.5 kB / 1.648 GB, free: 88.02 MB / 0.5731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.017/7.425, allocations: 0.8949 MB / 1.649 GB, free: 87.95 MB / 0.5731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003949/7.429, allocations: 456.2 kB / 1.649 GB, free: 87.9 MB / 0.5731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002009/7.431, allocations: 185.6 kB / 1.65 GB, free: 87.86 MB / 0.5731 GB Notification: Performance of sorting global known variables: time 0.01688/7.448, allocations: 5.764 MB / 1.655 GB, free: 84.84 MB / 0.5731 GB Notification: Performance of sort global known variables: time 8.72e-07/7.448, allocations: 0 / 1.655 GB, free: 84.84 MB / 0.5731 GB Notification: Performance of remove unused functions: time 0.02688/7.475, allocations: 4.444 MB / 1.66 GB, free: 80.41 MB / 0.5731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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.1456/7.62, allocations: 42.37 MB / 1.701 GB, free: 45.16 MB / 0.5731 GB Notification: Performance of simCode: created initialization part: time 0.05723/7.678, allocations: 23.63 MB / 1.724 GB, free: 21.95 MB / 0.5731 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/7.678, allocations: 0 / 1.724 GB, free: 21.95 MB / 0.5731 GB Notification: Performance of simCode: created simulation system equations: time 0.03423/7.712, allocations: 11.6 MB / 1.735 GB, free: 10.24 MB / 0.5731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01331/7.725, allocations: 1.34 MB / 1.737 GB, free: 8.977 MB / 0.5731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6476/8.373, allocations: 38.04 MB / 1.774 GB, free: 138.9 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03483/8.408, allocations: 9.448 MB / 1.783 GB, free: 137.8 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01852/8.426, allocations: 6.56 MB / 1.789 GB, free: 137.8 MB / 0.5888 GB Notification: Performance of SimCode: time 1.052e-06/8.427, allocations: 0 / 1.789 GB, free: 137.8 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 12.17/20.6, allocations: 0.934 GB / 2.723 GB, free: 111.2 MB / 0.6044 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