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.001154/0.001154, allocations: 97.02 kB / 16.02 MB, free: 84 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.001488/0.001488, allocations: 182.7 kB / 16.92 MB, free: 6.672 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.389/1.389, allocations: 205.4 MB / 223.1 MB, free: 5.73 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.3235/0.3235, allocations: 43.57 MB / 315 MB, free: 8.699 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.0005233/0.0005234, allocations: 20 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 58.85 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2346/0.3508, allocations: 24.86 MB / 468.4 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.3652, allocations: 6.331 MB / 474.7 MB, free: 32.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004965/0.3702, allocations: 104.6 kB / 474.8 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.3714, allocations: 423.5 kB / 475.2 MB, free: 32.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00407/0.3755, allocations: 1.652 MB / 476.9 MB, free: 31.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3768, allocations: 0.509 MB / 477.4 MB, free: 31.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005142/0.3819, allocations: 5.412 MB / 482.8 MB, free: 30.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002596/0.3846, allocations: 2.277 MB / 485.1 MB, free: 29.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.386, allocations: 0.9443 MB / 486 MB, free: 29.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.3878, allocations: 1.696 MB / 487.7 MB, free: 28.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003488/0.3882, allocations: 126.9 kB / 487.9 MB, free: 28.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.3904, allocations: 1.291 MB / 489.2 MB, free: 28.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001556/0.3919, allocations: 1.531 MB / 490.7 MB, free: 27.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001772/0.3937, allocations: 1.784 MB / 492.5 MB, free: 26.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009034/0.4028, allocations: 5.82 MB / 498.3 MB, free: 24.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4028, allocations: 1.219 kB / 498.3 MB, free: 24.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4028, allocations: 0 / 498.3 MB, free: 24.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002911/0.4031, allocations: 0 / 498.3 MB, free: 24.8 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.01049/0.4136, allocations: 3.413 MB / 0.4899 GB, free: 22.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.4137, allocations: 10.23 kB / 0.49 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002262/0.416, allocations: 0.6856 MB / 0.4906 GB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01963/0.4356, allocations: 5.799 MB / 0.4963 GB, free: 20 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006409/0.442, allocations: 2.952 MB / 0.4992 GB, free: 18.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.4422, allocations: 180.3 kB / 0.4993 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001211/0.4435, allocations: 313.2 kB / 0.4996 GB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0184/0.4619, allocations: 10.74 MB / 0.5101 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/0.462, allocations: 31.66 kB / 0.5102 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004784/0.4625, allocations: 111.8 kB / 0.5103 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003497/0.466, allocations: 2.463 MB / 0.5127 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01766/0.4837, allocations: 10.18 MB / 0.5226 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05134/0.5351, allocations: 35.69 MB / 0.5575 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.5467, allocations: 5.602 MB / 0.5629 GB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003274/0.55, allocations: 2.327 MB / 0.5652 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001607/0.5516, allocations: 1.876 MB / 0.567 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.5517, allocations: 60.44 kB / 0.5671 GB, free: 15.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 5.891e-06/0.5517, allocations: 0 / 0.5671 GB, free: 15.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.03701/0.5887, allocations: 15 MB / 0.5817 GB, free: 192 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00133/0.5901, allocations: 1.527 MB / 0.5832 GB, free: 14.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005019/0.5951, allocations: 2.816 MB / 0.586 GB, free: 11.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005287/0.5957, allocations: 53.7 kB / 0.586 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001842/0.5975, allocations: 2.693 MB / 0.5887 GB, free: 8.879 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001174/0.5987, allocations: 0.8481 MB / 0.5895 GB, free: 8.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/0.5999, allocations: 482.2 kB / 0.59 GB, free: 7.543 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.6, allocations: 301.1 kB / 0.5902 GB, free: 7.246 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004226/0.6042, allocations: 2.634 MB / 0.5928 GB, free: 4.605 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006174/0.6104, allocations: 5.627 MB / 0.5983 GB, free: 13.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/0.6213, allocations: 8.937 MB / 0.607 GB, free: 3.102 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.245e-05/0.6214, allocations: 28 kB / 0.6071 GB, free: 3.074 MB / 478.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06558/0.687, allocations: 19.03 MB / 0.6256 GB, free: 16 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.6872, allocations: 48.05 kB / 0.6257 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04655/0.7338, allocations: 12.01 MB / 0.6374 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2707/1.004, allocations: 10.28 MB / 0.6475 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004895/1.009, allocations: 1.304 MB / 0.6487 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02597/1.035, allocations: 16.02 MB / 0.6644 GB, free: 150.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005252/1.041, allocations: 434.6 kB / 0.6648 GB, free: 150.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/1.042, allocations: 317.3 kB / 0.6651 GB, free: 150.6 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.004495/1.046, allocations: 2.034 MB / 0.6671 GB, free: 149.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005721/1.047, allocations: 274.5 kB / 0.6673 GB, free: 149.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008836/1.056, allocations: 5.12 MB / 0.6723 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007433/1.063, allocations: 4.406 MB / 0.6767 GB, free: 146.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.063, allocations: 3.344 kB / 0.6767 GB, free: 146.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.063, allocations: 7.547 kB / 0.6767 GB, free: 146.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/1.083, allocations: 12.94 MB / 0.6893 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.083, allocations: 10.88 kB / 0.6893 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/1.085, allocations: 453.4 kB / 0.6897 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00265/1.087, allocations: 0.9419 MB / 0.6907 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/1.088, allocations: 47.61 kB / 0.6907 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005046/1.093, allocations: 5.466 MB / 0.696 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006821/1.093, allocations: 1.468 MB / 0.6975 GB, free: 136.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009484/1.103, allocations: 7.727 MB / 0.705 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008423/1.104, allocations: 346.7 kB / 0.7054 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006244/1.104, allocations: 36 kB / 0.7054 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/1.106, allocations: 199 kB / 0.7056 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004363/1.107, allocations: 140.8 kB / 0.7057 GB, free: 129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/1.107, allocations: 73.78 kB / 0.7058 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003336/1.11, allocations: 1.737 MB / 0.7075 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.11, allocations: 0 / 0.7075 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005184/1.116, allocations: 1.103 MB / 0.7086 GB, free: 126.1 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.01057/1.126, allocations: 8.394 MB / 0.7168 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.137, allocations: 6.586 MB / 0.7232 GB, free: 111 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/1.137, allocations: 0 / 0.7232 GB, free: 111 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003436/1.14, allocations: 2.53 MB / 0.7257 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0047/1.145, allocations: 375.3 kB / 0.726 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1404/1.285, allocations: 64.57 MB / 0.7891 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005205/1.291, allocations: 3.168 MB / 0.7922 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004274/1.295, allocations: 2.064 MB / 0.7942 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002379/1.297, allocations: 1.663 MB / 0.7958 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of SimCode: time 8.21e-07/1.297, allocations: 0 / 0.7958 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3106/1.608, allocations: 71.56 MB / 0.8657 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/1.608, allocations: 224.6 kB / 0.8659 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.362/4.97, allocations: 0 / 0.8659 GB, free: 165.1 MB / 0.5137 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