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.001336/0.001336, allocations: 110.3 kB / 16.41 MB, free: 6.5 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.001359/0.001359, allocations: 188.1 kB / 17.34 MB, free: 5.758 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.491/1.491, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2306/0.2306, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 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.002226/0.002226, allocations: 75.88 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1225, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01484/0.1374, allocations: 11.81 MB / 0.4989 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009782/0.1472, allocations: 4.058 MB / 0.5029 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.1496, allocations: 63.81 kB / 0.503 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003271/0.1529, allocations: 1.167 MB / 0.5041 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00594/0.1589, allocations: 1.759 MB / 0.5058 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.1608, allocations: 0.5535 MB / 0.5064 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006167/0.167, allocations: 3.965 MB / 0.5102 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00251/0.1695, allocations: 1.791 MB / 0.512 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.1715, allocations: 1.16 MB / 0.5131 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.1739, allocations: 1.682 MB / 0.5148 GB, free: 172 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000572/0.1745, allocations: 216 kB / 0.515 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.177, allocations: 1.291 MB / 0.5162 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001747/0.1788, allocations: 1.601 MB / 0.5178 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.181, allocations: 1.863 MB / 0.5196 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00781/0.1888, allocations: 6.286 MB / 0.5258 GB, free: 4.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.1889, allocations: 4 kB / 0.5258 GB, free: 4.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1889, allocations: 0 / 0.5258 GB, free: 4.867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001396/0.189, allocations: 0 / 0.5258 GB, free: 4.867 MB / 414.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.008639/0.1977, allocations: 4.259 MB / 0.5299 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.1977, allocations: 15.89 kB / 0.5299 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2324/0.4301, allocations: 0.6807 MB / 0.5306 GB, free: 37.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02123/0.4514, allocations: 5.717 MB / 0.5362 GB, free: 37.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008065/0.4595, allocations: 2.979 MB / 0.5391 GB, free: 36.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.4598, allocations: 180.4 kB / 0.5393 GB, free: 36.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001776/0.4616, allocations: 315.3 kB / 0.5396 GB, free: 36.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02366/0.4853, allocations: 10.72 MB / 0.55 GB, free: 31.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.4855, allocations: 25.62 kB / 0.55 GB, free: 31.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006326/0.4861, allocations: 117.7 kB / 0.5502 GB, free: 31.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004029/0.4902, allocations: 2.456 MB / 0.5526 GB, free: 30.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/0.5081, allocations: 10.16 MB / 0.5625 GB, free: 22.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05301/0.5612, allocations: 35.59 MB / 0.5972 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/0.5741, allocations: 5.589 MB / 0.6027 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003527/0.5777, allocations: 2.33 MB / 0.605 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002051/0.5798, allocations: 1.884 MB / 0.6068 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.5798, allocations: 56.31 kB / 0.6069 GB, free: 8.129 MB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 5.46e-06/0.5798, allocations: 0.5625 kB / 0.6069 GB, free: 8.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.03797/0.6178, allocations: 15.07 MB / 0.6216 GB, free: 9.039 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001706/0.6196, allocations: 1.614 MB / 0.6232 GB, free: 7.266 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/0.6239, allocations: 2.832 MB / 0.6259 GB, free: 4.422 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004815/0.6244, allocations: 57.7 kB / 0.626 GB, free: 4.359 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00243/0.6268, allocations: 2.795 MB / 0.6287 GB, free: 1.535 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001248/0.6281, allocations: 0.8952 MB / 0.6296 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001764/0.6298, allocations: 1.104 MB / 0.6307 GB, free: 15.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.63, allocations: 301.9 kB / 0.6309 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004007/0.634, allocations: 2.63 MB / 0.6335 GB, free: 12.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006793/0.6408, allocations: 5.631 MB / 0.639 GB, free: 5.484 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.6527, allocations: 8.937 MB / 0.6477 GB, free: 11.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.696e-05/0.6528, allocations: 32 kB / 0.6478 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06608/0.7189, allocations: 19.03 MB / 0.6664 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.22e-05/0.7191, allocations: 52 kB / 0.6664 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04565/0.7647, allocations: 12.01 MB / 0.6781 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04944/0.8142, allocations: 10.29 MB / 0.6882 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004802/0.8191, allocations: 1.302 MB / 0.6895 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03245/0.8515, allocations: 18.22 MB / 0.7073 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004347/0.8559, allocations: 427.5 kB / 0.7077 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009533/0.8569, allocations: 320 kB / 0.708 GB, free: 13.04 MB / 0.545 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.003849/0.8608, allocations: 2.027 MB / 0.7099 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005825/0.8614, allocations: 286.1 kB / 0.7102 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009448/0.8708, allocations: 5.111 MB / 0.7152 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008417/0.8793, allocations: 4.405 MB / 0.7195 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.8793, allocations: 0 / 0.7195 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.24e-05/0.8794, allocations: 12.05 kB / 0.7195 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02461/0.904, allocations: 12.93 MB / 0.7322 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/0.9041, allocations: 8.875 kB / 0.7322 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/0.9063, allocations: 463.3 kB / 0.7326 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003069/0.9094, allocations: 0.9464 MB / 0.7335 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003303/0.9097, allocations: 52.16 kB / 0.7336 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007676/0.9174, allocations: 5.822 MB / 0.7393 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00132/0.9188, allocations: 1.554 MB / 0.7408 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.9315, allocations: 7.747 MB / 0.7483 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008237/0.9323, allocations: 347.2 kB / 0.7487 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004189/0.9328, allocations: 47.98 kB / 0.7487 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/0.9343, allocations: 195.6 kB / 0.7489 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.9347, allocations: 137 kB / 0.749 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/0.9349, allocations: 67.97 kB / 0.7491 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002714/0.9377, allocations: 1.741 MB / 0.7508 GB, free: 312 kB / 0.5762 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9377, allocations: 0 / 0.7508 GB, free: 312 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.2316/1.169, allocations: 1.109 MB / 0.7519 GB, free: 194.4 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.0118/1.181, allocations: 8.398 MB / 0.7601 GB, free: 193.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.193, allocations: 6.633 MB / 0.7666 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/1.193, allocations: 1.125 kB / 0.7666 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00427/1.197, allocations: 2.534 MB / 0.769 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/1.2, allocations: 369.9 kB / 0.7694 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1264/1.326, allocations: 59.66 MB / 0.8277 GB, free: 140 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002634/1.329, allocations: 3.172 MB / 0.8308 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003608/1.332, allocations: 2.059 MB / 0.8328 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/1.334, allocations: 1.669 MB / 0.8344 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/1.334, allocations: 0 / 0.8344 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/1.452, allocations: 70.99 MB / 0.9037 GB, free: 62.01 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.35/21.8, allocations: 27.81 kB / 0.9038 GB, free: 61.98 MB / 0.5762 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches