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.001153/0.001153, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2036/0.2036, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 79.86 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2816, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009119/0.2908, allocations: 7.594 MB / 0.5379 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005277/0.2961, allocations: 2.584 MB / 0.5405 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.2973, allocations: 33.25 kB / 0.5405 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.2996, allocations: 0.8946 MB / 0.5414 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000886/0.3005, allocations: 309.6 kB / 0.5417 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007897/0.3013, allocations: 316.1 kB / 0.542 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3024, allocations: 0.7329 MB / 0.5427 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.3038, allocations: 0.8233 MB / 0.5435 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007611/0.3046, allocations: 363 kB / 0.5438 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.3058, allocations: 0.6452 MB / 0.5445 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003753/0.3062, allocations: 103.9 kB / 0.5446 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3073, allocations: 0.5198 MB / 0.5451 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006335/0.3079, allocations: 0.4889 MB / 0.5455 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008655/0.3088, allocations: 0.5728 MB / 0.5461 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.3111, allocations: 1.764 MB / 0.5478 GB, free: 12 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3111, allocations: 0 / 0.5478 GB, free: 12 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3111, allocations: 0 / 0.5478 GB, free: 12 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-05/0.3112, allocations: 0 / 0.5478 GB, free: 12 kB / 398.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.003874/0.315, allocations: 1.63 MB / 0.5494 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3151, allocations: 8.031 kB / 0.5494 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002938/0.3154, allocations: 174.5 kB / 0.5496 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000726/0.3161, allocations: 171.2 kB / 0.5498 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.3174, allocations: 0.6317 MB / 0.5504 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.986e-05/0.3175, allocations: 66.09 kB / 0.5504 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.3177, allocations: 79.97 kB / 0.5505 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005107/0.3228, allocations: 2.674 MB / 0.5531 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.3229, allocations: 7.938 kB / 0.5531 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.957e-05/0.323, allocations: 39.97 kB / 0.5532 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000486/0.3235, allocations: 385.6 kB / 0.5535 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005324/0.3288, allocations: 2.357 MB / 0.5558 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009255/0.3381, allocations: 8.24 MB / 0.5639 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00386/0.3419, allocations: 0.9756 MB / 0.5648 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.3424, allocations: 260.7 kB / 0.5651 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001666/0.3441, allocations: 1.726 MB / 0.5668 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3441, allocations: 38.56 kB / 0.5668 GB, free: 11.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.054e-06/0.3441, allocations: 0 / 0.5668 GB, free: 11.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01142/0.3555, allocations: 2.944 MB / 0.5697 GB, free: 8.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3556, allocations: 59.97 kB / 0.5697 GB, free: 8.734 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.3567, allocations: 0.895 MB / 0.5706 GB, free: 7.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.3567, allocations: 37.64 kB / 0.5706 GB, free: 7.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/0.3572, allocations: 0.6565 MB / 0.5713 GB, free: 7.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.3574, allocations: 217 kB / 0.5715 GB, free: 6.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000295/0.3577, allocations: 250.6 kB / 0.5717 GB, free: 6.656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3578, allocations: 398.7 kB / 0.5721 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.3584, allocations: 374.4 kB / 0.5725 GB, free: 5.891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008842/0.3593, allocations: 1.011 MB / 0.5735 GB, free: 4.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.361, allocations: 1.487 MB / 0.5749 GB, free: 2.777 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.361, allocations: 4 kB / 0.5749 GB, free: 2.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001902/0.3629, allocations: 1.392 MB / 0.5763 GB, free: 1.371 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.363, allocations: 19.94 kB / 0.5763 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/0.363, allocations: 24.91 kB / 0.5763 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/0.3631, allocations: 31.98 kB / 0.5763 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.3642, allocations: 319.5 kB / 0.5767 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.3653, allocations: 1.451 MB / 0.5781 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/0.3659, allocations: 55.89 kB / 0.5781 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/0.366, allocations: 67.94 kB / 0.5782 GB, free: 15.28 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.0005671/0.3666, allocations: 0.4933 MB / 0.5787 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.3667, allocations: 82.97 kB / 0.5787 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.3669, allocations: 116.5 kB / 0.5789 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3669, allocations: 4 kB / 0.5789 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3669, allocations: 0 / 0.5789 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.367, allocations: 3.984 kB / 0.5789 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/0.3708, allocations: 2.176 MB / 0.581 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.3708, allocations: 4.094 kB / 0.581 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/0.3713, allocations: 127.8 kB / 0.5811 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.3714, allocations: 8 kB / 0.5811 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.3714, allocations: 20 kB / 0.5811 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009516/0.3724, allocations: 1.425 MB / 0.5825 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.3724, allocations: 11.94 kB / 0.5825 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.3734, allocations: 0.8346 MB / 0.5834 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.3736, allocations: 164.1 kB / 0.5835 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/0.3738, allocations: 19.94 kB / 0.5835 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.3741, allocations: 19.98 kB / 0.5836 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.3742, allocations: 55.77 kB / 0.5836 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.3742, allocations: 24 kB / 0.5836 GB, free: 9.293 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007398/0.375, allocations: 0.5927 MB / 0.5842 GB, free: 8.703 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.375, allocations: 0 / 0.5842 GB, free: 8.703 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009214/0.3759, allocations: 216 kB / 0.5844 GB, free: 8.492 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.001276/0.3772, allocations: 1.394 MB / 0.5858 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.3787, allocations: 0.8824 MB / 0.5866 GB, free: 6.109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.3787, allocations: 8.25 kB / 0.5866 GB, free: 6.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.3791, allocations: 280.3 kB / 0.5869 GB, free: 5.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007558/0.3799, allocations: 131.1 kB / 0.587 GB, free: 5.707 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.3918, allocations: 9.37 MB / 0.5962 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.3928, allocations: 1.227 MB / 0.5974 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007923/0.3936, allocations: 339.6 kB / 0.5977 GB, free: 9.852 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/0.3942, allocations: 407.3 kB / 0.5981 GB, free: 9.453 MB / 462.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3942, allocations: 0 / 0.5981 GB, free: 9.453 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03849/0.4327, allocations: 17.46 MB / 0.6152 GB, free: 8.148 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/15.78, allocations: 9.672 kB / 0.6152 GB, free: 8.145 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