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.0008475/0.0008474, allocations: 88.19 kB / 15.7 MB, free: 460 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.0009101/0.0009101, allocations: 175.6 kB / 16.58 MB, free: 6.84 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.549/1.549, allocations: 205.4 MB / 222.8 MB, free: 5.508 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.3421/0.3421, allocations: 43.55 MB / 314.6 MB, free: 9.137 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.0005772/0.0005774, allocations: 12 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1309, allocations: 58.87 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.2247/0.3556, allocations: 16.27 MB / 459.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008556/0.3642, allocations: 3.997 MB / 463.1 MB, free: 35.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.3663, allocations: 68.81 kB / 463.2 MB, free: 35.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.3677, allocations: 0.6427 MB / 463.9 MB, free: 35.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004283/0.372, allocations: 1.82 MB / 465.7 MB, free: 35.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007658/0.3727, allocations: 248.2 kB / 465.9 MB, free: 35.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.3738, allocations: 0.9227 MB / 466.8 MB, free: 34.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.3751, allocations: 1.062 MB / 467.9 MB, free: 34.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.3755, allocations: 297.2 kB / 468.2 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006642/0.3762, allocations: 0.6164 MB / 468.8 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.915e-05/0.3763, allocations: 57.16 kB / 468.9 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005974/0.3769, allocations: 400.4 kB / 469.3 MB, free: 34.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003488/0.3772, allocations: 447.1 kB / 469.7 MB, free: 34.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.3774, allocations: 213.1 kB / 469.9 MB, free: 34.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009792/0.3784, allocations: 1.339 MB / 471.2 MB, free: 34.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.3784, allocations: 5.984 kB / 471.2 MB, free: 34.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3784, allocations: 0 / 471.2 MB, free: 34.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.3784, allocations: 0 / 471.2 MB, free: 34.36 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.002249/0.3807, allocations: 1.444 MB / 472.7 MB, free: 33.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3807, allocations: 9.438 kB / 472.7 MB, free: 33.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.3809, allocations: 179.3 kB / 472.9 MB, free: 33.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005958/0.3815, allocations: 177.4 kB / 473.1 MB, free: 33.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/0.3823, allocations: 0.6101 MB / 473.7 MB, free: 33.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.3824, allocations: 56.94 kB / 473.7 MB, free: 33.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.3825, allocations: 85.03 kB / 473.8 MB, free: 33.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/0.3864, allocations: 2.67 MB / 476.5 MB, free: 32.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.3864, allocations: 9.188 kB / 476.5 MB, free: 32.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.391e-05/0.3865, allocations: 42.25 kB / 476.5 MB, free: 32.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003834/0.3869, allocations: 385.8 kB / 476.9 MB, free: 32.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004014/0.3909, allocations: 2.357 MB / 479.3 MB, free: 32.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006336/0.3973, allocations: 8.274 MB / 487.5 MB, free: 27.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/0.4005, allocations: 0.9848 MB / 488.5 MB, free: 26.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.4009, allocations: 260.8 kB / 488.8 MB, free: 26.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.4021, allocations: 1.729 MB / 490.5 MB, free: 25.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.4022, allocations: 42.72 kB / 490.5 MB, free: 25.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.816e-06/0.4022, allocations: 0 / 490.5 MB, free: 25.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01047/0.4127, allocations: 2.965 MB / 493.5 MB, free: 24.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.4127, allocations: 65.5 kB / 493.6 MB, free: 24.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.4141, allocations: 0.897 MB / 494.5 MB, free: 24.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.4141, allocations: 35.92 kB / 494.5 MB, free: 24.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.4146, allocations: 0.6622 MB / 495.2 MB, free: 23.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.4147, allocations: 212.4 kB / 495.4 MB, free: 23.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.4148, allocations: 26 kB / 495.4 MB, free: 23.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4149, allocations: 399 kB / 495.8 MB, free: 23.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/0.4155, allocations: 366.3 kB / 496.1 MB, free: 23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009291/0.4165, allocations: 0.9856 MB / 497.1 MB, free: 22.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/0.4174, allocations: 0.5749 MB / 497.7 MB, free: 21.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.4174, allocations: 11.16 kB / 497.7 MB, free: 21.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002121/0.4195, allocations: 1.381 MB / 499.1 MB, free: 21.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.4195, allocations: 19.41 kB / 499.1 MB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.4196, allocations: 22.62 kB / 499.1 MB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.498e-05/0.4196, allocations: 32 kB / 499.2 MB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.4207, allocations: 325.4 kB / 499.5 MB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008101/0.4216, allocations: 1.363 MB / 0.4891 GB, free: 19.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007621/0.4223, allocations: 58.02 kB / 0.4892 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-05/0.4224, allocations: 65.94 kB / 0.4892 GB, free: 19.78 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.0008165/0.4233, allocations: 0.5009 MB / 0.4897 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.4234, allocations: 90.62 kB / 0.4898 GB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.4236, allocations: 116 kB / 0.4899 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.4236, allocations: 7.594 kB / 0.4899 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4237, allocations: 0 / 0.4899 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.4237, allocations: 2.766 kB / 0.4899 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.4271, allocations: 2.169 MB / 0.492 GB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.4271, allocations: 5.875 kB / 0.492 GB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.4276, allocations: 126.3 kB / 0.4922 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.4277, allocations: 9.5 kB / 0.4922 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.4277, allocations: 18.42 kB / 0.4922 GB, free: 18.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006084/0.4283, allocations: 1.331 MB / 0.4935 GB, free: 16.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.4283, allocations: 6.719 kB / 0.4935 GB, free: 16.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009693/0.4293, allocations: 0.8239 MB / 0.4943 GB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.4296, allocations: 206 kB / 0.4945 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/0.4297, allocations: 16.47 kB / 0.4945 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.43, allocations: 21.45 kB / 0.4945 GB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4301, allocations: 53.69 kB / 0.4946 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.4302, allocations: 24.88 kB / 0.4946 GB, free: 16.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008553/0.431, allocations: 0.5912 MB / 0.4952 GB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.431, allocations: 5 kB / 0.4952 GB, free: 15.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00124/0.4323, allocations: 216.3 kB / 0.4954 GB, free: 15.84 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.001243/0.4335, allocations: 1.387 MB / 0.4968 GB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.4352, allocations: 0.8656 MB / 0.4976 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4352, allocations: 0.9688 kB / 0.4976 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.4357, allocations: 282.7 kB / 0.4979 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009016/0.4366, allocations: 127.5 kB / 0.498 GB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.4478, allocations: 6.588 MB / 0.5044 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.4488, allocations: 1.222 MB / 0.5056 GB, free: 9.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001023/0.4499, allocations: 338.8 kB / 0.5059 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/0.4504, allocations: 403.9 kB / 0.5063 GB, free: 8.969 MB / 382.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4505, allocations: 0 / 0.5063 GB, free: 8.969 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.4838, allocations: 17.02 MB / 0.523 GB, free: 10.68 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.4841, allocations: 186 kB / 0.5231 GB, free: 10.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.514, allocations: 4 kB / 0.5231 GB, free: 10.44 MB / 398.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