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.001813/0.001813, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002148, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.237/0.237, allocations: 46.12 MB / 344.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 83.86 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3211, allocations: 62.46 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.00957/0.3307, allocations: 7.59 MB / 0.538 GB, free: 7.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00621/0.337, allocations: 2.581 MB / 0.5406 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.3387, allocations: 33.81 kB / 0.5406 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.3411, allocations: 0.8962 MB / 0.5415 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.3422, allocations: 306.2 kB / 0.5418 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.3433, allocations: 313.3 kB / 0.5421 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.3448, allocations: 0.7324 MB / 0.5428 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.346, allocations: 0.8205 MB / 0.5436 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006331/0.3466, allocations: 363.1 kB / 0.5439 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.3477, allocations: 0.6452 MB / 0.5446 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.348, allocations: 104.1 kB / 0.5447 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.3491, allocations: 0.5231 MB / 0.5452 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006104/0.3497, allocations: 0.4918 MB / 0.5456 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007225/0.3505, allocations: 0.5632 MB / 0.5462 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.353, allocations: 1.778 MB / 0.5479 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.353, allocations: 0 / 0.5479 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.353, allocations: 0 / 0.5479 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.08e-05/0.3531, allocations: 0 / 0.5479 GB, free: 15.91 MB / 414.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.003632/0.3567, allocations: 1.664 MB / 0.5496 GB, free: 14.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3567, allocations: 15.97 kB / 0.5496 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002376/0.357, allocations: 178.5 kB / 0.5497 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006856/0.3577, allocations: 168 kB / 0.5499 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.3588, allocations: 0.6399 MB / 0.5505 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/0.3589, allocations: 66.09 kB / 0.5506 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.3591, allocations: 79.97 kB / 0.5507 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005506/0.3646, allocations: 2.666 MB / 0.5533 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.3647, allocations: 7.938 kB / 0.5533 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.3648, allocations: 35.97 kB / 0.5533 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005331/0.3653, allocations: 389.7 kB / 0.5537 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005598/0.3709, allocations: 2.361 MB / 0.556 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.381, allocations: 8.253 MB / 0.564 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/0.385, allocations: 0.9794 MB / 0.565 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.3855, allocations: 264.7 kB / 0.5653 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/0.3873, allocations: 1.722 MB / 0.5669 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/0.3874, allocations: 34.56 kB / 0.567 GB, free: 11.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 3.998e-06/0.3874, allocations: 0 / 0.567 GB, free: 11.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01256/0.4, allocations: 2.969 MB / 0.5699 GB, free: 8.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.4001, allocations: 55.97 kB / 0.5699 GB, free: 8.551 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.4014, allocations: 0.8914 MB / 0.5708 GB, free: 7.652 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.4015, allocations: 37.7 kB / 0.5708 GB, free: 7.609 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000602/0.4021, allocations: 0.686 MB / 0.5715 GB, free: 6.914 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.4023, allocations: 222.2 kB / 0.5717 GB, free: 6.695 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003424/0.4026, allocations: 250.8 kB / 0.572 GB, free: 6.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.4029, allocations: 398.7 kB / 0.5723 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/0.4035, allocations: 370.4 kB / 0.5727 GB, free: 5.684 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.4047, allocations: 0.9992 MB / 0.5737 GB, free: 4.379 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.4066, allocations: 1.491 MB / 0.5751 GB, free: 2.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.4066, allocations: 11.94 kB / 0.5751 GB, free: 2.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002332/0.409, allocations: 1.393 MB / 0.5765 GB, free: 1.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.409, allocations: 19.94 kB / 0.5765 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.4091, allocations: 24.91 kB / 0.5765 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.257e-05/0.4091, allocations: 35.98 kB / 0.5766 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.4103, allocations: 323.5 kB / 0.5769 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.4117, allocations: 1.451 MB / 0.5783 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000697/0.4124, allocations: 51.98 kB / 0.5783 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.783e-05/0.4125, allocations: 67.94 kB / 0.5784 GB, free: 15.07 MB / 446.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007061/0.4132, allocations: 0.5079 MB / 0.5789 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.4134, allocations: 91.39 kB / 0.579 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.4136, allocations: 116.5 kB / 0.5791 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.4136, allocations: 7.938 kB / 0.5791 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4137, allocations: 0 / 0.5791 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4137, allocations: 3.984 kB / 0.5791 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/0.4174, allocations: 2.156 MB / 0.5812 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.4175, allocations: 11.98 kB / 0.5812 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.418, allocations: 127.9 kB / 0.5814 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.418, allocations: 8 kB / 0.5814 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.4181, allocations: 20 kB / 0.5814 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.4192, allocations: 1.432 MB / 0.5828 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/0.4192, allocations: 11.94 kB / 0.5828 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.4205, allocations: 0.8351 MB / 0.5836 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.4208, allocations: 168.5 kB / 0.5838 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.566e-05/0.4209, allocations: 27.94 kB / 0.5838 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.4212, allocations: 15.98 kB / 0.5838 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.4213, allocations: 47.83 kB / 0.5839 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.4214, allocations: 24 kB / 0.5839 GB, free: 9.062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008517/0.4222, allocations: 0.5966 MB / 0.5845 GB, free: 8.469 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4222, allocations: 0 / 0.5845 GB, free: 8.469 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001048/0.4233, allocations: 212 kB / 0.5847 GB, free: 8.262 MB / 446.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00179/0.4251, allocations: 1.406 MB / 0.586 GB, free: 6.746 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.4267, allocations: 0.8786 MB / 0.5869 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4268, allocations: 320 / 0.5869 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.4273, allocations: 284.3 kB / 0.5872 GB, free: 5.594 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008428/0.4281, allocations: 137.5 kB / 0.5873 GB, free: 5.469 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.4421, allocations: 9.415 MB / 0.5965 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.4434, allocations: 1.216 MB / 0.5977 GB, free: 9.918 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009715/0.4444, allocations: 343.6 kB / 0.598 GB, free: 9.578 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006259/0.445, allocations: 407.3 kB / 0.5984 GB, free: 9.18 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/0.445, allocations: 0 / 0.5984 GB, free: 9.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04685/0.4919, allocations: 17.23 MB / 0.6152 GB, free: 8.105 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/15.85, allocations: 6.719 kB / 0.6152 GB, free: 8.102 MB / 478.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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches