Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 95.25 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 186.6 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 241.8 MB, free: 400 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2111/0.2111, allocations: 44.24 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 12 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1463, allocations: 61.91 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01649/0.1629, allocations: 15.42 MB / 487 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.1743, allocations: 4.123 MB / 491.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004323/0.1787, allocations: 71.81 kB / 491.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003557/0.1823, allocations: 0.7115 MB / 491.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008351/0.1907, allocations: 2.174 MB / 494 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1922, allocations: 215.5 kB / 494.2 MB, free: 6.891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.1937, allocations: 486.9 kB / 494.7 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.1958, allocations: 1.05 MB / 495.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006128/0.1964, allocations: 247 kB / 496 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009234/0.1973, allocations: 490.6 kB / 496.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002821/0.1976, allocations: 56 kB / 496.5 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008815/0.1985, allocations: 391.4 kB / 496.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005736/0.1991, allocations: 422.9 kB / 497.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.1995, allocations: 213.1 kB / 497.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.2014, allocations: 1.333 MB / 498.9 MB, free: 2.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2014, allocations: 0 / 498.9 MB, free: 2.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.2014, allocations: 0 / 498.9 MB, free: 2.219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.054e-05/0.2015, allocations: 0 / 498.9 MB, free: 2.219 MB / 366.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.003526/0.205, allocations: 1.451 MB / 0.4886 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.2051, allocations: 8.031 kB / 0.4886 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002398/0.2053, allocations: 182.3 kB / 0.4888 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006818/0.206, allocations: 166.3 kB / 0.4889 GB, free: 368 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.2071, allocations: 0.6113 MB / 0.4895 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.2072, allocations: 65.86 kB / 0.4896 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.2074, allocations: 87.95 kB / 0.4897 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004845/0.2122, allocations: 2.715 MB / 0.4923 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.2123, allocations: 7.938 kB / 0.4923 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-05/0.2124, allocations: 35.97 kB / 0.4924 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004727/0.2128, allocations: 385.7 kB / 0.4928 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004945/0.2178, allocations: 2.412 MB / 0.4951 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008791/0.2266, allocations: 8.272 MB / 0.5032 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003604/0.2303, allocations: 0.9911 MB / 0.5042 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3083/0.5386, allocations: 1.728 MB / 0.5058 GB, free: 49.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.5388, allocations: 37.3 kB / 0.5059 GB, free: 49.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.387e-06/0.5388, allocations: 0 / 0.5059 GB, free: 49.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01377/0.5525, allocations: 2.993 MB / 0.5088 GB, free: 49.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.5527, allocations: 59.34 kB / 0.5089 GB, free: 49.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.5542, allocations: 0.9012 MB / 0.5097 GB, free: 48.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.5542, allocations: 33.11 kB / 0.5098 GB, free: 48.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004793/0.5547, allocations: 0.663 MB / 0.5104 GB, free: 48.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.5549, allocations: 215.7 kB / 0.5106 GB, free: 48.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.555, allocations: 24.19 kB / 0.5106 GB, free: 48.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5551, allocations: 399.9 kB / 0.511 GB, free: 48.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006086/0.5558, allocations: 371 kB / 0.5114 GB, free: 47.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.5568, allocations: 0.9894 MB / 0.5123 GB, free: 46.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008605/0.5576, allocations: 0.5679 MB / 0.5129 GB, free: 46.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.5577, allocations: 7.031 kB / 0.5129 GB, free: 46.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002333/0.56, allocations: 1.396 MB / 0.5143 GB, free: 46.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.56, allocations: 14.78 kB / 0.5143 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.5601, allocations: 23.66 kB / 0.5143 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-05/0.5602, allocations: 33.89 kB / 0.5143 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.5615, allocations: 319.3 kB / 0.5146 GB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009221/0.5624, allocations: 1.366 MB / 0.516 GB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000934/0.5633, allocations: 51.77 kB / 0.516 GB, free: 44.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.5635, allocations: 63.59 kB / 0.5161 GB, free: 44.75 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.001029/0.5645, allocations: 0.4898 MB / 0.5166 GB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.5647, allocations: 90.81 kB / 0.5167 GB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.5649, allocations: 124.2 kB / 0.5168 GB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.565, allocations: 5.875 kB / 0.5168 GB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.565, allocations: 0.5312 kB / 0.5168 GB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.565, allocations: 4.156 kB / 0.5168 GB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/0.5691, allocations: 2.175 MB / 0.5189 GB, free: 43.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.5692, allocations: 6.938 kB / 0.5189 GB, free: 43.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/0.5697, allocations: 129.4 kB / 0.519 GB, free: 43.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.975e-05/0.5698, allocations: 9.281 kB / 0.519 GB, free: 43.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.5698, allocations: 16.09 kB / 0.5191 GB, free: 43.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007302/0.5705, allocations: 1.334 MB / 0.5204 GB, free: 41.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.5706, allocations: 14.55 kB / 0.5204 GB, free: 41.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.5717, allocations: 1.12 MB / 0.5215 GB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.5719, allocations: 168.9 kB / 0.5216 GB, free: 40.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.572, allocations: 19.81 kB / 0.5216 GB, free: 40.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.5724, allocations: 21.52 kB / 0.5217 GB, free: 40.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/0.5725, allocations: 51.16 kB / 0.5217 GB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.5725, allocations: 22.3 kB / 0.5217 GB, free: 40.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008065/0.5733, allocations: 0.5946 MB / 0.5223 GB, free: 40.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5733, allocations: 1.375 kB / 0.5223 GB, free: 40.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001268/0.5746, allocations: 216.8 kB / 0.5225 GB, free: 40.36 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.001456/0.5761, allocations: 3.483 MB / 0.5259 GB, free: 37.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.5777, allocations: 0.8583 MB / 0.5268 GB, free: 36.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5777, allocations: 0.9062 kB / 0.5268 GB, free: 36.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004413/0.5781, allocations: 281 kB / 0.527 GB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.5788, allocations: 120 kB / 0.5272 GB, free: 36.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.5903, allocations: 21.46 MB / 0.5481 GB, free: 17.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.5911, allocations: 1.248 MB / 0.5493 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008005/0.5919, allocations: 343.6 kB / 0.5497 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.5923, allocations: 407.3 kB / 0.55 GB, free: 15.15 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5923, allocations: 0 / 0.55 GB, free: 15.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.6229, allocations: 17 MB / 0.5666 GB, free: 14.38 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.6231, allocations: 181.3 kB / 0.5668 GB, free: 14.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.685, allocations: 0 / 0.5668 GB, free: 14.14 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat