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.001474/0.001474, allocations: 104.5 kB / 15.98 MB, free: 6.336 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.00173/0.00173, allocations: 198.4 kB / 16.91 MB, free: 6.188 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.582/1.582, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.3749/0.3749, allocations: 43.49 MB / 313.6 MB, free: 8.305 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.001388/0.001389, allocations: 70.56 kB / 382.3 MB, free: 8.309 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1284, allocations: 57.78 MB / 440.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.3256/0.4541, allocations: 25.72 MB / 465.8 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0167/0.4709, allocations: 6.28 MB / 472.1 MB, free: 32.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006178/0.4771, allocations: 101.9 kB / 472.2 MB, free: 32.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002695/0.4798, allocations: 1.125 MB / 473.3 MB, free: 32.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004636/0.4845, allocations: 1.643 MB / 475 MB, free: 31.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.4861, allocations: 0.5158 MB / 475.5 MB, free: 31.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005253/0.4913, allocations: 3.959 MB / 479.4 MB, free: 30.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003512/0.4949, allocations: 1.863 MB / 481.3 MB, free: 29.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.4976, allocations: 1.178 MB / 482.5 MB, free: 28.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003529/0.5011, allocations: 1.852 MB / 484.3 MB, free: 28.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001309/0.5025, allocations: 220.8 kB / 484.6 MB, free: 28.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003839/0.5063, allocations: 1.309 MB / 485.9 MB, free: 27.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00314/0.5095, allocations: 1.62 MB / 487.5 MB, free: 27.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00539/0.5149, allocations: 1.88 MB / 489.4 MB, free: 26.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.5297, allocations: 6.036 MB / 495.4 MB, free: 23.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.148e-06/0.5298, allocations: 1.719 kB / 495.4 MB, free: 23.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5298, allocations: 0 / 495.4 MB, free: 23.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002663/0.53, allocations: 0 / 495.4 MB, free: 23.91 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.01607/0.5461, allocations: 4.148 MB / 499.5 MB, free: 21.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.551e-05/0.5462, allocations: 14.88 kB / 499.6 MB, free: 21.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002074/0.5483, allocations: 0.6824 MB / 0.4885 GB, free: 21.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02391/0.5722, allocations: 5.695 MB / 0.4941 GB, free: 19.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008564/0.5808, allocations: 2.951 MB / 0.497 GB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.5812, allocations: 180 kB / 0.4971 GB, free: 17.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002316/0.5835, allocations: 316.9 kB / 0.4974 GB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/0.6077, allocations: 10.71 MB / 0.5079 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.759e-05/0.6079, allocations: 31.8 kB / 0.5079 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004307/0.6083, allocations: 111.8 kB / 0.508 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003259/0.6116, allocations: 2.467 MB / 0.5104 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01992/0.6315, allocations: 10.16 MB / 0.5204 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05906/0.6906, allocations: 35.71 MB / 0.5552 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.7022, allocations: 5.592 MB / 0.5607 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003449/0.7057, allocations: 2.332 MB / 0.563 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001747/0.7074, allocations: 1.88 MB / 0.5648 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.7075, allocations: 56.5 kB / 0.5649 GB, free: 15.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 5.63e-06/0.7075, allocations: 0 / 0.5649 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.03807/0.7456, allocations: 15.01 MB / 0.5795 GB, free: 340 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001272/0.7469, allocations: 1.612 MB / 0.5811 GB, free: 14.56 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004636/0.7515, allocations: 2.827 MB / 0.5839 GB, free: 11.72 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005136/0.7521, allocations: 53.7 kB / 0.5839 GB, free: 11.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002003/0.7541, allocations: 2.689 MB / 0.5865 GB, free: 8.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001269/0.7554, allocations: 0.8403 MB / 0.5874 GB, free: 8.078 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002427/0.7578, allocations: 1.103 MB / 0.5884 GB, free: 6.965 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.7579, allocations: 301.1 kB / 0.5887 GB, free: 6.668 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004332/0.7623, allocations: 2.626 MB / 0.5913 GB, free: 4.035 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007108/0.7694, allocations: 5.639 MB / 0.5968 GB, free: 12.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/0.7821, allocations: 8.937 MB / 0.6055 GB, free: 2.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001218/0.7823, allocations: 28 kB / 0.6055 GB, free: 2.492 MB / 478.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06334/0.8456, allocations: 19.01 MB / 0.6241 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.8458, allocations: 52 kB / 0.6242 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0435/0.8893, allocations: 12.02 MB / 0.6359 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3283/1.218, allocations: 10.29 MB / 0.646 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00515/1.223, allocations: 1.297 MB / 0.6472 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.032/1.255, allocations: 18.2 MB / 0.665 GB, free: 151.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0057/1.261, allocations: 441.6 kB / 0.6654 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001448/1.262, allocations: 318.9 kB / 0.6657 GB, free: 151.1 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.005222/1.267, allocations: 2.026 MB / 0.6677 GB, free: 150.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008195/1.268, allocations: 272.1 kB / 0.668 GB, free: 150.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009431/1.278, allocations: 5.116 MB / 0.673 GB, free: 148.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008707/1.286, allocations: 4.404 MB / 0.6773 GB, free: 147.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/1.286, allocations: 1.875 kB / 0.6773 GB, free: 147.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/1.286, allocations: 13.05 kB / 0.6773 GB, free: 147.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/1.308, allocations: 12.94 MB / 0.6899 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/1.308, allocations: 7.688 kB / 0.6899 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/1.31, allocations: 459.9 kB / 0.6904 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002666/1.313, allocations: 0.9478 MB / 0.6913 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/1.313, allocations: 51.34 kB / 0.6913 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005898/1.319, allocations: 5.827 MB / 0.697 GB, free: 137.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001012/1.32, allocations: 1.557 MB / 0.6985 GB, free: 135.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/1.332, allocations: 7.733 MB / 0.7061 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.333, allocations: 325.8 kB / 0.7064 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004602/1.334, allocations: 44 kB / 0.7064 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/1.335, allocations: 199.4 kB / 0.7066 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004014/1.336, allocations: 136.4 kB / 0.7068 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.336, allocations: 73.97 kB / 0.7068 GB, free: 127 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002613/1.338, allocations: 1.737 MB / 0.7085 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.338, allocations: 0 / 0.7085 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005181/1.344, allocations: 1.1 MB / 0.7096 GB, free: 124.2 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.00971/1.353, allocations: 8.408 MB / 0.7178 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01407/1.367, allocations: 9.64 MB / 0.7272 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.028e-05/1.367, allocations: 448 / 0.7272 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003386/1.371, allocations: 2.533 MB / 0.7297 GB, free: 103.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/1.374, allocations: 380.3 kB / 0.7301 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1425/1.517, allocations: 64.49 MB / 0.793 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002911/1.52, allocations: 3.173 MB / 0.7961 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004064/1.524, allocations: 2.064 MB / 0.7982 GB, free: 27.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/1.526, allocations: 1.663 MB / 0.7998 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/1.526, allocations: 0 / 0.7998 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.362/1.888, allocations: 74.1 MB / 0.8721 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/1.888, allocations: 226 kB / 0.8724 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.333/5.222, allocations: 0 / 0.8724 GB, free: 144.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