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.0009095/0.0009095, allocations: 97.59 kB / 17 MB, free: 6.121 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.0007982/0.0007983, allocations: 182.8 kB / 17.89 MB, free: 5.699 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.375/1.375, allocations: 223.3 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1972/0.1972, allocations: 44.23 MB / 337.2 MB, free: 2.566 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003695, allocations: 9.094 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1288, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01575/0.1446, allocations: 16.26 MB / 487.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.1557, allocations: 3.985 MB / 491.9 MB, free: 9.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002575/0.1583, allocations: 67.88 kB / 492 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.1599, allocations: 0.6531 MB / 492.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004423/0.1644, allocations: 1.829 MB / 494.4 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.1651, allocations: 247.5 kB / 494.7 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009749/0.1661, allocations: 0.9149 MB / 495.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.1676, allocations: 1.058 MB / 496.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.168, allocations: 290.7 kB / 496.9 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000754/0.1687, allocations: 0.6077 MB / 497.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.763e-05/0.1688, allocations: 56 kB / 497.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006387/0.1695, allocations: 411.3 kB / 498 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003848/0.1699, allocations: 442.8 kB / 498.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.1701, allocations: 213.1 kB / 498.7 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.1712, allocations: 1.345 MB / 500 MB, free: 1.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1712, allocations: 4 kB / 0.4883 GB, free: 1.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1712, allocations: 0 / 0.4883 GB, free: 1.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1713, allocations: 0 / 0.4883 GB, free: 1.148 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.002479/0.1737, allocations: 1.443 MB / 0.4897 GB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1738, allocations: 12.03 kB / 0.4897 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002049/0.174, allocations: 182.3 kB / 0.4899 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006023/0.1746, allocations: 166.3 kB / 0.49 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.1755, allocations: 0.6112 MB / 0.4906 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.1755, allocations: 61.92 kB / 0.4907 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.1757, allocations: 79.95 kB / 0.4908 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004384/0.1801, allocations: 2.676 MB / 0.4934 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.1802, allocations: 15.86 kB / 0.4934 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.853e-05/0.1802, allocations: 35.97 kB / 0.4934 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004364/0.1807, allocations: 385.7 kB / 0.4938 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004503/0.1852, allocations: 2.361 MB / 0.4961 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007784/0.193, allocations: 8.248 MB / 0.5042 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2625/0.4556, allocations: 0.9793 MB / 0.5051 GB, free: 50.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005396/0.4561, allocations: 261.6 kB / 0.5054 GB, free: 50.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00172/0.4579, allocations: 1.724 MB / 0.507 GB, free: 49.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.4579, allocations: 36.77 kB / 0.5071 GB, free: 48.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.356e-06/0.4579, allocations: 0.7188 kB / 0.5071 GB, free: 48.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01105/0.469, allocations: 2.971 MB / 0.51 GB, free: 48.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.4691, allocations: 59.11 kB / 0.51 GB, free: 48.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.4704, allocations: 0.9024 MB / 0.5109 GB, free: 48.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.4705, allocations: 35.05 kB / 0.511 GB, free: 48.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.4709, allocations: 0.6618 MB / 0.5116 GB, free: 48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.471, allocations: 215.5 kB / 0.5118 GB, free: 47.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.4711, allocations: 25.47 kB / 0.5118 GB, free: 47.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4712, allocations: 404.2 kB / 0.5122 GB, free: 47.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/0.4719, allocations: 365.5 kB / 0.5126 GB, free: 47.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009258/0.4728, allocations: 0.9911 MB / 0.5135 GB, free: 46.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008086/0.4736, allocations: 0.5761 MB / 0.5141 GB, free: 46.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.4736, allocations: 6.094 kB / 0.5141 GB, free: 46.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002108/0.4758, allocations: 1.39 MB / 0.5155 GB, free: 45.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.4758, allocations: 13.91 kB / 0.5155 GB, free: 45.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/0.4758, allocations: 21.5 kB / 0.5155 GB, free: 45.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.218e-05/0.4759, allocations: 33.53 kB / 0.5155 GB, free: 45.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.4773, allocations: 319.3 kB / 0.5158 GB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007819/0.4781, allocations: 1.367 MB / 0.5172 GB, free: 44.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/0.4788, allocations: 51.06 kB / 0.5172 GB, free: 44.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.991e-05/0.479, allocations: 68.84 kB / 0.5173 GB, free: 44.21 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.0008458/0.4798, allocations: 0.4943 MB / 0.5178 GB, free: 43.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.48, allocations: 89.38 kB / 0.5178 GB, free: 43.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.4802, allocations: 117.1 kB / 0.518 GB, free: 43.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.4802, allocations: 4.969 kB / 0.518 GB, free: 43.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.4803, allocations: 1.75 kB / 0.518 GB, free: 43.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.4803, allocations: 2.859 kB / 0.518 GB, free: 43.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00434/0.4846, allocations: 2.18 MB / 0.5201 GB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.4847, allocations: 5.562 kB / 0.5201 GB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.4852, allocations: 126.3 kB / 0.5202 GB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.82e-05/0.4852, allocations: 9.938 kB / 0.5202 GB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.4853, allocations: 21.17 kB / 0.5203 GB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000654/0.4859, allocations: 1.33 MB / 0.5216 GB, free: 41.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.4859, allocations: 11.53 kB / 0.5216 GB, free: 41.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009482/0.4869, allocations: 0.8188 MB / 0.5224 GB, free: 40.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.4871, allocations: 173.5 kB / 0.5225 GB, free: 40.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.233e-05/0.4872, allocations: 21.45 kB / 0.5225 GB, free: 40.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.4876, allocations: 19.66 kB / 0.5226 GB, free: 40.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.4877, allocations: 49.3 kB / 0.5226 GB, free: 40.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.4877, allocations: 25.88 kB / 0.5226 GB, free: 40.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009754/0.4887, allocations: 0.5955 MB / 0.5232 GB, free: 40.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4887, allocations: 1.375 kB / 0.5232 GB, free: 40.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0013/0.49, allocations: 212.1 kB / 0.5234 GB, free: 40.28 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.001102/0.4911, allocations: 1.396 MB / 0.5248 GB, free: 39.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.4926, allocations: 0.8599 MB / 0.5256 GB, free: 38.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4927, allocations: 9.047 kB / 0.5256 GB, free: 38.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.4931, allocations: 273.3 kB / 0.5259 GB, free: 38.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007745/0.4939, allocations: 127.9 kB / 0.526 GB, free: 38.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008079/0.5019, allocations: 6.579 MB / 0.5324 GB, free: 33.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/0.5026, allocations: 1.22 MB / 0.5336 GB, free: 32.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008133/0.5035, allocations: 339.6 kB / 0.534 GB, free: 32.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.5039, allocations: 403.3 kB / 0.5343 GB, free: 31.78 MB / 382.1 MB Notification: Performance of SimCode: time 9.21e-07/0.5039, allocations: 0 / 0.5343 GB, free: 31.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.5334, allocations: 17.02 MB / 0.551 GB, free: 14.98 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.5336, allocations: 186.5 kB / 0.5511 GB, free: 14.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/2.926, allocations: 3.938 kB / 0.5511 GB, free: 14.73 MB / 382.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