Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, 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.00155/0.00155, 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.377/1.377, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 75.88 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3256, allocations: 62.43 MB / 0.5305 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01234/0.338, allocations: 11.76 MB / 0.542 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008109/0.3461, allocations: 4.062 MB / 0.546 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.3479, allocations: 60.62 kB / 0.546 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.3503, allocations: 1.185 MB / 0.5472 GB, free: 116 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003928/0.3543, allocations: 1.715 MB / 0.5489 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3555, allocations: 0.5496 MB / 0.5494 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005071/0.3606, allocations: 4.046 MB / 0.5533 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.3628, allocations: 1.774 MB / 0.5551 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.3644, allocations: 1.152 MB / 0.5562 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.3665, allocations: 1.674 MB / 0.5578 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004479/0.367, allocations: 216 kB / 0.558 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.3694, allocations: 1.283 MB / 0.5593 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001571/0.371, allocations: 1.57 MB / 0.5608 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.3728, allocations: 1.84 MB / 0.5626 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006795/0.3797, allocations: 6.196 MB / 0.5687 GB, free: 10.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3797, allocations: 0 / 0.5687 GB, free: 10.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3797, allocations: 0 / 0.5687 GB, free: 10.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001275/0.3798, allocations: 0 / 0.5687 GB, free: 10.42 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.007261/0.3871, allocations: 4.092 MB / 0.5727 GB, free: 6.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3872, allocations: 8.031 kB / 0.5727 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008164/0.388, allocations: 0.6876 MB / 0.5734 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01983/0.4078, allocations: 6.153 MB / 0.5794 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006284/0.4141, allocations: 2.626 MB / 0.5819 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.4143, allocations: 180.5 kB / 0.5821 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009608/0.4153, allocations: 307.7 kB / 0.5824 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/0.4313, allocations: 10.72 MB / 0.5929 GB, free: 1.051 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.829e-05/0.4315, allocations: 27.8 kB / 0.5929 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003398/0.4318, allocations: 119.8 kB / 0.593 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003696/0.4355, allocations: 2.463 MB / 0.5954 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/0.4545, allocations: 10.15 MB / 0.6053 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05656/0.5111, allocations: 35.51 MB / 0.64 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.5223, allocations: 5.594 MB / 0.6455 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003018/0.5253, allocations: 2.337 MB / 0.6477 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/0.5271, allocations: 1.876 MB / 0.6496 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.5271, allocations: 52.56 kB / 0.6496 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 4.719e-06/0.5272, allocations: 0 / 0.6496 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.03546/0.5626, allocations: 14.96 MB / 0.6642 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00149/0.5641, allocations: 1.603 MB / 0.6658 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004338/0.5685, allocations: 2.803 MB / 0.6685 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007216/0.5693, allocations: 57.69 kB / 0.6686 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002511/0.5718, allocations: 2.67 MB / 0.6712 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001435/0.5732, allocations: 0.8558 MB / 0.672 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001888/0.5751, allocations: 1.091 MB / 0.6731 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5752, allocations: 309.1 kB / 0.6734 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004272/0.5795, allocations: 2.63 MB / 0.676 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007016/0.5866, allocations: 5.631 MB / 0.6815 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/0.5984, allocations: 8.941 MB / 0.6902 GB, free: 8.598 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.049e-05/0.5985, allocations: 32 kB / 0.6902 GB, free: 8.566 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06361/0.6621, allocations: 17.12 MB / 0.7069 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.575e-05/0.6622, allocations: 52 kB / 0.707 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04394/0.7062, allocations: 10.63 MB / 0.7174 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04744/0.7536, allocations: 8.639 MB / 0.7258 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004695/0.7584, allocations: 1.302 MB / 0.7271 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2931/1.052, allocations: 17.8 MB / 0.7445 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004551/1.056, allocations: 426.7 kB / 0.7449 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00082/1.057, allocations: 321.2 kB / 0.7452 GB, free: 169.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (653): * Single equations (assignments): 642 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002939/1.06, allocations: 2.013 MB / 0.7472 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004483/1.06, allocations: 270.5 kB / 0.7474 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007431/1.068, allocations: 5.115 MB / 0.7524 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006189/1.074, allocations: 4.414 MB / 0.7567 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.074, allocations: 4.5 kB / 0.7567 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/1.074, allocations: 7.828 kB / 0.7567 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/1.092, allocations: 12.91 MB / 0.7693 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/1.092, allocations: 7.984 kB / 0.7693 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/1.094, allocations: 459.2 kB / 0.7698 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002653/1.096, allocations: 0.9382 MB / 0.7707 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/1.097, allocations: 47.97 kB / 0.7707 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005382/1.102, allocations: 5.835 MB / 0.7764 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009376/1.103, allocations: 1.543 MB / 0.778 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.113, allocations: 7.741 MB / 0.7855 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009301/1.114, allocations: 325.4 kB / 0.7858 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003563/1.115, allocations: 47.81 kB / 0.7859 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/1.116, allocations: 195.7 kB / 0.7861 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003517/1.116, allocations: 148.9 kB / 0.7862 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/1.117, allocations: 63.98 kB / 0.7863 GB, free: 137 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002121/1.119, allocations: 1.732 MB / 0.7879 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.119, allocations: 0 / 0.7879 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0039/1.123, allocations: 1.08 MB / 0.789 GB, free: 134.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009263/1.132, allocations: 8.394 MB / 0.7972 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009054/1.141, allocations: 6.561 MB / 0.8036 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/1.141, allocations: 4 kB / 0.8036 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003015/1.144, allocations: 2.531 MB / 0.8061 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/1.146, allocations: 376 kB / 0.8064 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1234/1.27, allocations: 56.61 MB / 0.8617 GB, free: 55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003006/1.273, allocations: 3.159 MB / 0.8648 GB, free: 51.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003718/1.276, allocations: 2.06 MB / 0.8668 GB, free: 49.74 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002021/1.278, allocations: 1.659 MB / 0.8684 GB, free: 48.08 MB / 0.5762 GB Notification: Performance of SimCode: time 9.01e-07/1.278, allocations: 0 / 0.8684 GB, free: 48.08 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.389, allocations: 72 MB / 0.9388 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.91/22.3, allocations: 10.75 kB / 0.9388 GB, free: 8.238 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches