Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",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.0054/0.0054, allocations: 101.1 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 193.4 kB / 16.79 MB, free: 6.238 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.326/1.326, allocations: 205.1 MB / 222.6 MB, free: 4.742 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.3202/0.3202, allocations: 43.5 MB / 313.5 MB, free: 8.531 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.001351/0.001352, allocations: 70.56 kB / 382.1 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1144, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2106/0.3251, allocations: 25.72 MB / 465.6 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.337, allocations: 6.38 MB / 472 MB, free: 33.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005822/0.3429, allocations: 103.8 kB / 472.1 MB, free: 33.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.3453, allocations: 1.134 MB / 473.3 MB, free: 32.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.3486, allocations: 1.654 MB / 474.9 MB, free: 31.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009801/0.3496, allocations: 0.5104 MB / 475.4 MB, free: 31.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003981/0.3536, allocations: 5.408 MB / 480.8 MB, free: 30.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.3551, allocations: 1.755 MB / 482.6 MB, free: 29.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009456/0.356, allocations: 1.008 MB / 483.6 MB, free: 29.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.3576, allocations: 1.786 MB / 485.4 MB, free: 28.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003291/0.358, allocations: 151 kB / 485.5 MB, free: 28.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.3599, allocations: 1.323 MB / 486.8 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00168/0.3616, allocations: 1.559 MB / 488.4 MB, free: 27.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.3631, allocations: 1.809 MB / 490.2 MB, free: 26.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0063/0.3694, allocations: 5.939 MB / 496.2 MB, free: 24.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3694, allocations: 1.484 kB / 496.2 MB, free: 24.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3695, allocations: 0 / 496.2 MB, free: 24.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001407/0.3696, allocations: 0 / 496.2 MB, free: 24.44 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.008151/0.3778, allocations: 4.15 MB / 0.4886 GB, free: 22.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3778, allocations: 13.62 kB / 0.4886 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000929/0.3788, allocations: 0.6863 MB / 0.4893 GB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01632/0.3951, allocations: 5.689 MB / 0.4948 GB, free: 19.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006735/0.4019, allocations: 2.948 MB / 0.4977 GB, free: 17.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.4021, allocations: 185.2 kB / 0.4979 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001291/0.4034, allocations: 316.6 kB / 0.4982 GB, free: 17.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.4191, allocations: 10.71 MB / 0.5086 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.096e-05/0.4192, allocations: 27.75 kB / 0.5087 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003734/0.4196, allocations: 119.8 kB / 0.5088 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002869/0.4225, allocations: 2.463 MB / 0.5112 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.437, allocations: 10.17 MB / 0.5211 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04245/0.4795, allocations: 35.7 MB / 0.556 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.4907, allocations: 5.59 MB / 0.5614 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003243/0.494, allocations: 2.335 MB / 0.5637 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/0.4957, allocations: 1.872 MB / 0.5655 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/0.4958, allocations: 68.33 kB / 0.5656 GB, free: 14.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 4.809e-06/0.4958, allocations: 0 / 0.5656 GB, free: 14.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.03428/0.5301, allocations: 15.01 MB / 0.5803 GB, free: 15.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001287/0.5314, allocations: 1.523 MB / 0.5817 GB, free: 13.92 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003924/0.5353, allocations: 2.823 MB / 0.5845 GB, free: 11.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005116/0.5359, allocations: 49.7 kB / 0.5846 GB, free: 11.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001651/0.5375, allocations: 2.689 MB / 0.5872 GB, free: 8.301 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009752/0.5385, allocations: 0.852 MB / 0.588 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/0.54, allocations: 1.099 MB / 0.5891 GB, free: 6.328 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.5401, allocations: 309.1 kB / 0.5894 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003571/0.5437, allocations: 2.626 MB / 0.5919 GB, free: 3.391 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005428/0.5491, allocations: 5.627 MB / 0.5974 GB, free: 12.29 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009289/0.5584, allocations: 8.941 MB / 0.6062 GB, free: 1.883 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.238e-05/0.5585, allocations: 28 kB / 0.6062 GB, free: 1.855 MB / 478.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.05713/0.6156, allocations: 19.02 MB / 0.6248 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/0.6158, allocations: 48 kB / 0.6248 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04012/0.6559, allocations: 12.01 MB / 0.6365 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2283/0.8843, allocations: 10.29 MB / 0.6466 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/0.8887, allocations: 1.304 MB / 0.6479 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02331/0.912, allocations: 16.04 MB / 0.6635 GB, free: 152.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/0.9161, allocations: 431.8 kB / 0.6639 GB, free: 152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006146/0.9168, allocations: 318.7 kB / 0.6642 GB, free: 152 MB / 0.4981 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.003564/0.9203, allocations: 2.028 MB / 0.6662 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/0.9208, allocations: 271.2 kB / 0.6665 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007801/0.9286, allocations: 5.113 MB / 0.6715 GB, free: 149.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006765/0.9354, allocations: 4.412 MB / 0.6758 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.9354, allocations: 1.344 kB / 0.6758 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.9355, allocations: 10.83 kB / 0.6758 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/0.9523, allocations: 12.93 MB / 0.6884 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.9523, allocations: 14.47 kB / 0.6884 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/0.954, allocations: 456.7 kB / 0.6889 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002559/0.9566, allocations: 0.9418 MB / 0.6898 GB, free: 143 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/0.9568, allocations: 51.78 kB / 0.6898 GB, free: 143 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004762/0.9616, allocations: 5.455 MB / 0.6952 GB, free: 139 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006736/0.9622, allocations: 1.476 MB / 0.6966 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009183/0.9714, allocations: 7.721 MB / 0.7042 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007554/0.9722, allocations: 325.3 kB / 0.7045 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004831/0.9727, allocations: 52.69 kB / 0.7045 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.9741, allocations: 195.1 kB / 0.7047 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/0.9745, allocations: 147.7 kB / 0.7048 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.9747, allocations: 63.98 kB / 0.7049 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002363/0.977, allocations: 1.737 MB / 0.7066 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.977, allocations: 0 / 0.7066 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00465/0.9817, allocations: 1.108 MB / 0.7077 GB, free: 126.3 MB / 0.4981 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.009554/0.9913, allocations: 8.403 MB / 0.7159 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008984/1, allocations: 6.589 MB / 0.7223 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1, allocations: 1.875 kB / 0.7223 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003012/1.003, allocations: 2.523 MB / 0.7248 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/1.006, allocations: 367.2 kB / 0.7251 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1194/1.125, allocations: 64.49 MB / 0.7881 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00288/1.128, allocations: 3.166 MB / 0.7912 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004068/1.132, allocations: 2.064 MB / 0.7932 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002249/1.134, allocations: 1.667 MB / 0.7948 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/1.134, allocations: 0 / 0.7948 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3049/1.439, allocations: 72.42 MB / 0.8656 GB, free: 146.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/1.439, allocations: 227.9 kB / 0.8658 GB, free: 146.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.27/4.71, allocations: 0 / 0.8658 GB, free: 146.1 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches