Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001104, allocations: 98.08 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 206.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2362/0.2362, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002826, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.13, allocations: 63.47 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01508/0.1451, allocations: 15.43 MB / 497 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.1561, allocations: 4.177 MB / 0.4894 GB, free: 1.602 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004605/0.1607, allocations: 71.81 kB / 0.4895 GB, free: 1.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.1633, allocations: 0.7038 MB / 0.4901 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007962/0.1713, allocations: 2.178 MB / 0.4923 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.1726, allocations: 223.6 kB / 0.4925 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.1739, allocations: 483.1 kB / 0.4929 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.1756, allocations: 1.07 MB / 0.494 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.1759, allocations: 239 kB / 0.4942 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000721/0.1767, allocations: 494.7 kB / 0.4947 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.1768, allocations: 60 kB / 0.4947 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000639/0.1774, allocations: 383.5 kB / 0.4951 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003968/0.1778, allocations: 426.8 kB / 0.4955 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.178, allocations: 213.1 kB / 0.4957 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1793, allocations: 1.333 MB / 0.497 GB, free: 9.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1793, allocations: 0 / 0.497 GB, free: 9.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1793, allocations: 4 kB / 0.497 GB, free: 9.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.1794, allocations: 0 / 0.497 GB, free: 9.73 MB / 382.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.002932/0.1823, allocations: 1.447 MB / 0.4984 GB, free: 8.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1823, allocations: 8.031 kB / 0.4984 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002866/0.1826, allocations: 186.3 kB / 0.4986 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006934/0.1833, allocations: 170.3 kB / 0.4988 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.1844, allocations: 0.6228 MB / 0.4994 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.1845, allocations: 53.97 kB / 0.4994 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.1847, allocations: 79.97 kB / 0.4995 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005061/0.1898, allocations: 2.719 MB / 0.5022 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.1898, allocations: 3.938 kB / 0.5022 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.651e-05/0.1899, allocations: 35.97 kB / 0.5022 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005062/0.1904, allocations: 389.7 kB / 0.5026 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005/0.1954, allocations: 2.408 MB / 0.5049 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2826/0.478, allocations: 8.274 MB / 0.513 GB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003816/0.4819, allocations: 0.9821 MB / 0.514 GB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/0.4835, allocations: 1.739 MB / 0.5157 GB, free: 36.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.4835, allocations: 37.45 kB / 0.5157 GB, free: 36.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.795e-06/0.4835, allocations: 0.9375 kB / 0.5157 GB, free: 36.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01115/0.4947, allocations: 2.989 MB / 0.5186 GB, free: 35.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.4947, allocations: 57.66 kB / 0.5187 GB, free: 35.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.4958, allocations: 0.9004 MB / 0.5196 GB, free: 34.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.4958, allocations: 38.95 kB / 0.5196 GB, free: 34.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.4962, allocations: 0.6595 MB / 0.5203 GB, free: 34.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.4963, allocations: 212 kB / 0.5205 GB, free: 34.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.4964, allocations: 25.5 kB / 0.5205 GB, free: 34.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4965, allocations: 404.2 kB / 0.5209 GB, free: 33.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/0.4971, allocations: 366.2 kB / 0.5212 GB, free: 33.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/0.498, allocations: 0.9944 MB / 0.5222 GB, free: 32.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/0.4988, allocations: 0.5705 MB / 0.5227 GB, free: 32.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.4988, allocations: 6.688 kB / 0.5227 GB, free: 32.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001977/0.5008, allocations: 1.388 MB / 0.5241 GB, free: 32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.5008, allocations: 15.14 kB / 0.5241 GB, free: 32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/0.5009, allocations: 22.38 kB / 0.5241 GB, free: 32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.153e-05/0.5009, allocations: 33.94 kB / 0.5242 GB, free: 32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.5021, allocations: 316.3 kB / 0.5245 GB, free: 31.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007024/0.5028, allocations: 1.366 MB / 0.5258 GB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/0.5034, allocations: 54.06 kB / 0.5259 GB, free: 30.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-05/0.5035, allocations: 67.19 kB / 0.5259 GB, free: 30.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0005997/0.5041, allocations: 0.5033 MB / 0.5264 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.5042, allocations: 83.39 kB / 0.5265 GB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.5044, allocations: 117.1 kB / 0.5266 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5044, allocations: 4.781 kB / 0.5266 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5045, allocations: 1.312 kB / 0.5266 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.5045, allocations: 3 kB / 0.5266 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.5079, allocations: 2.178 MB / 0.5287 GB, free: 29.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.5079, allocations: 5.094 kB / 0.5287 GB, free: 29.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.5084, allocations: 124.4 kB / 0.5289 GB, free: 29.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.605e-05/0.5084, allocations: 13.36 kB / 0.5289 GB, free: 29.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.5085, allocations: 18 kB / 0.5289 GB, free: 29.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006332/0.5091, allocations: 1.331 MB / 0.5302 GB, free: 27.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/0.5091, allocations: 10.91 kB / 0.5302 GB, free: 27.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.5103, allocations: 1.134 MB / 0.5313 GB, free: 26.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.5105, allocations: 169.4 kB / 0.5315 GB, free: 26.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.271e-05/0.5106, allocations: 22.77 kB / 0.5315 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.5109, allocations: 15.66 kB / 0.5315 GB, free: 26.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/0.511, allocations: 61.5 kB / 0.5316 GB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.511, allocations: 22.84 kB / 0.5316 GB, free: 26.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007968/0.5118, allocations: 0.5933 MB / 0.5322 GB, free: 25.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5118, allocations: 1.312 kB / 0.5322 GB, free: 25.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0011/0.5129, allocations: 216.9 kB / 0.5324 GB, free: 25.93 MB / 382.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 () * Number of clocked 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.001426/0.5144, allocations: 3.486 MB / 0.5358 GB, free: 22.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.5157, allocations: 0.8591 MB / 0.5366 GB, free: 22.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.5157, allocations: 0.9375 kB / 0.5366 GB, free: 22.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.5161, allocations: 284.5 kB / 0.5369 GB, free: 22.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.5166, allocations: 110.8 kB / 0.537 GB, free: 21.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.5275, allocations: 21.46 MB / 0.558 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006981/0.5282, allocations: 1.244 MB / 0.5592 GB, free: 8 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009709/0.5292, allocations: 339.6 kB / 0.5595 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/0.5298, allocations: 407.3 kB / 0.5599 GB, free: 15.27 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5298, allocations: 0 / 0.5599 GB, free: 15.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.5596, allocations: 17 MB / 0.5765 GB, free: 14.47 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.5598, allocations: 188.4 kB / 0.5767 GB, free: 14.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.606, allocations: 4.062 kB / 0.5767 GB, free: 14.23 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat