Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_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.001009/0.001008, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001863, allocations: 178.8 kB / 16.57 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4762/0.4762, allocations: 43.54 MB / 314.5 MB, free: 8.762 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005523/0.0005531, allocations: 16 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1488, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.3425/0.4914, allocations: 15.43 MB / 458.3 MB, free: 35.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.5036, allocations: 4.123 MB / 462.4 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003117/0.5068, allocations: 74.25 kB / 462.5 MB, free: 35.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.5089, allocations: 0.71 MB / 463.2 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007489/0.5164, allocations: 2.17 MB / 465.4 MB, free: 35.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.5175, allocations: 210.2 kB / 465.6 MB, free: 35.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.5187, allocations: 492.5 kB / 466 MB, free: 35.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/0.5209, allocations: 1.053 MB / 467.1 MB, free: 34.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008221/0.5217, allocations: 251.4 kB / 467.3 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.5229, allocations: 495.7 kB / 467.8 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003472/0.5233, allocations: 62.53 kB / 467.9 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.5244, allocations: 383.9 kB / 468.3 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005948/0.525, allocations: 419.5 kB / 468.7 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.5253, allocations: 214.5 kB / 468.9 MB, free: 34.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.5266, allocations: 1.332 MB / 470.2 MB, free: 34.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.5266, allocations: 0 / 470.2 MB, free: 34.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.5266, allocations: 0 / 470.2 MB, free: 34.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.5267, allocations: 0 / 470.2 MB, free: 34.6 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.002712/0.5294, allocations: 1.452 MB / 471.7 MB, free: 33.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.5294, allocations: 9.031 kB / 471.7 MB, free: 33.87 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000214/0.5297, allocations: 182.5 kB / 471.8 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006878/0.5304, allocations: 173.1 kB / 472 MB, free: 33.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009973/0.5314, allocations: 0.6071 MB / 472.6 MB, free: 33.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.5314, allocations: 63.28 kB / 472.7 MB, free: 33.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.5316, allocations: 90.2 kB / 472.8 MB, free: 33.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004583/0.5362, allocations: 2.714 MB / 475.5 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.5363, allocations: 7.094 kB / 475.5 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.944e-05/0.5364, allocations: 43.81 kB / 475.5 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004592/0.5368, allocations: 378.5 kB / 475.9 MB, free: 32.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004888/0.5417, allocations: 2.407 MB / 478.3 MB, free: 32.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00835/0.5501, allocations: 8.287 MB / 486.6 MB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00371/0.5538, allocations: 0.9951 MB / 487.6 MB, free: 27.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.5553, allocations: 1.735 MB / 489.3 MB, free: 25.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.5553, allocations: 33.62 kB / 489.4 MB, free: 25.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.435e-06/0.5554, allocations: 3.938 kB / 489.4 MB, free: 25.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01257/0.5679, allocations: 2.993 MB / 492.4 MB, free: 25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.568, allocations: 59.11 kB / 492.4 MB, free: 24.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.5695, allocations: 0.8972 MB / 493.3 MB, free: 24.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.5695, allocations: 36.84 kB / 493.4 MB, free: 24.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004909/0.57, allocations: 0.6653 MB / 494 MB, free: 23.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.5702, allocations: 214.2 kB / 494.2 MB, free: 23.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.5703, allocations: 25.53 kB / 494.3 MB, free: 23.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.5705, allocations: 400.2 kB / 494.6 MB, free: 23.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006734/0.5712, allocations: 362.1 kB / 495 MB, free: 23.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.5724, allocations: 0.9876 MB / 496 MB, free: 22.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009805/0.5733, allocations: 0.5749 MB / 496.6 MB, free: 22.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.926e-05/0.5734, allocations: 6.938 kB / 496.6 MB, free: 22.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002578/0.576, allocations: 1.387 MB / 498 MB, free: 21.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.576, allocations: 15.08 kB / 498 MB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.415e-05/0.5761, allocations: 22.56 kB / 498 MB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.219e-05/0.5761, allocations: 32.97 kB / 498 MB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.5776, allocations: 322.2 kB / 498.3 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.5786, allocations: 1.361 MB / 499.7 MB, free: 20.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000821/0.5795, allocations: 58.48 kB / 499.8 MB, free: 20.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.5796, allocations: 68.56 kB / 499.8 MB, free: 20.14 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.0009572/0.5806, allocations: 0.4977 MB / 0.4886 GB, free: 19.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.5807, allocations: 90.7 kB / 0.4887 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.581, allocations: 120.3 kB / 0.4888 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.581, allocations: 5.5 kB / 0.4888 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.581, allocations: 6.062 kB / 0.4888 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.581, allocations: 3.609 kB / 0.4888 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/0.585, allocations: 2.164 MB / 0.4909 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.5851, allocations: 10.03 kB / 0.4909 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.5856, allocations: 124.9 kB / 0.491 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/0.5857, allocations: 10.75 kB / 0.4911 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.5857, allocations: 17.09 kB / 0.4911 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007569/0.5865, allocations: 1.331 MB / 0.4924 GB, free: 17.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.5865, allocations: 10.66 kB / 0.4924 GB, free: 17.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.5878, allocations: 1.127 MB / 0.4935 GB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.5881, allocations: 205.5 kB / 0.4937 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.5883, allocations: 19.64 kB / 0.4937 GB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.5886, allocations: 17.23 kB / 0.4937 GB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.5887, allocations: 50.7 kB / 0.4938 GB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.5888, allocations: 21.41 kB / 0.4938 GB, free: 16.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009521/0.5897, allocations: 0.5954 MB / 0.4944 GB, free: 15.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5897, allocations: 0 / 0.4944 GB, free: 15.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001355/0.5911, allocations: 225.9 kB / 0.4946 GB, free: 15.74 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.001662/0.5928, allocations: 3.481 MB / 0.498 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.5944, allocations: 0.8595 MB / 0.4988 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5945, allocations: 5.125 kB / 0.4988 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.595, allocations: 277.8 kB / 0.4991 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.5957, allocations: 113.2 kB / 0.4992 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/0.6139, allocations: 21.48 MB / 0.5202 GB, free: 9.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/0.6154, allocations: 1.244 MB / 0.5214 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001147/0.6166, allocations: 336.5 kB / 0.5217 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/0.6171, allocations: 413.5 kB / 0.5221 GB, free: 7.824 MB / 398.1 MB Notification: Performance of SimCode: time 2.184e-06/0.6171, allocations: 0 / 0.5221 GB, free: 7.824 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0358/0.6529, allocations: 17.01 MB / 0.5387 GB, free: 9.887 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.6532, allocations: 188.8 kB / 0.5389 GB, free: 9.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/2.745, allocations: 0 / 0.5389 GB, free: 9.641 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat