Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_0_0_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.001261/0.001261, allocations: 113.3 kB / 17.78 MB, free: 5.266 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.001376/0.001376, allocations: 188.1 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2275/0.2275, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 67.91 kB / 470 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3632, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01258/0.3758, allocations: 11.8 MB / 0.5299 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009211/0.385, allocations: 4.051 MB / 0.5339 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.387, allocations: 61.31 kB / 0.534 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.3895, allocations: 1.181 MB / 0.5351 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004363/0.394, allocations: 1.796 MB / 0.5369 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.3954, allocations: 0.5547 MB / 0.5374 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00521/0.4006, allocations: 3.958 MB / 0.5413 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002677/0.4033, allocations: 1.79 MB / 0.543 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.4055, allocations: 1.166 MB / 0.5442 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/0.408, allocations: 1.686 MB / 0.5458 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007195/0.4088, allocations: 224 kB / 0.546 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003166/0.412, allocations: 1.295 MB / 0.5473 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002307/0.4143, allocations: 1.586 MB / 0.5488 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00385/0.4182, allocations: 1.863 MB / 0.5507 GB, free: 11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008262/0.4265, allocations: 6.255 MB / 0.5568 GB, free: 4.719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4265, allocations: 0 / 0.5568 GB, free: 4.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4265, allocations: 0 / 0.5568 GB, free: 4.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002791/0.4268, allocations: 0 / 0.5568 GB, free: 4.719 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.008649/0.4355, allocations: 4.142 MB / 0.5608 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.4355, allocations: 8.031 kB / 0.5608 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001102/0.4366, allocations: 0.6876 MB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01722/0.4539, allocations: 5.688 MB / 0.567 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005731/0.4596, allocations: 2.825 MB / 0.5698 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.4598, allocations: 188.5 kB / 0.57 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008805/0.4607, allocations: 311.7 kB / 0.5703 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/0.4762, allocations: 10.71 MB / 0.5807 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.19e-05/0.4763, allocations: 31.7 kB / 0.5808 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003391/0.4767, allocations: 115.8 kB / 0.5809 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003397/0.4801, allocations: 2.463 MB / 0.5833 GB, free: 8.949 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01822/0.4983, allocations: 10.15 MB / 0.5932 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04708/0.5454, allocations: 35.51 MB / 0.6279 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/0.5565, allocations: 5.599 MB / 0.6333 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003175/0.5597, allocations: 2.33 MB / 0.6356 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001656/0.5614, allocations: 1.876 MB / 0.6375 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/0.5615, allocations: 48.64 kB / 0.6375 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 6.101e-06/0.5615, allocations: 4 kB / 0.6375 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.03444/0.5959, allocations: 14.96 MB / 0.6521 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001624/0.5976, allocations: 1.606 MB / 0.6537 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004898/0.6025, allocations: 2.815 MB / 0.6564 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00048/0.603, allocations: 57.69 kB / 0.6565 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002227/0.6053, allocations: 2.674 MB / 0.6591 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/0.6067, allocations: 0.848 MB / 0.6599 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002937/0.6097, allocations: 1.099 MB / 0.661 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.6098, allocations: 305.1 kB / 0.6613 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004173/0.6139, allocations: 2.626 MB / 0.6639 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00682/0.6208, allocations: 5.635 MB / 0.6694 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/0.6322, allocations: 8.933 MB / 0.6781 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/0.6324, allocations: 31.94 kB / 0.6781 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06126/0.6936, allocations: 19.02 MB / 0.6967 GB, free: 24 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.6938, allocations: 52.27 kB / 0.6967 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04112/0.735, allocations: 12.02 MB / 0.7085 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04255/0.7776, allocations: 10.28 MB / 0.7185 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004556/0.7822, allocations: 1.298 MB / 0.7198 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2967/1.079, allocations: 18.21 MB / 0.7376 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004606/1.084, allocations: 433.3 kB / 0.738 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007387/1.084, allocations: 314 kB / 0.7383 GB, free: 176.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.00326/1.088, allocations: 2.02 MB / 0.7402 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004706/1.088, allocations: 273.6 kB / 0.7405 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008201/1.096, allocations: 5.12 MB / 0.7455 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006221/1.102, allocations: 4.397 MB / 0.7498 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.103, allocations: 5.438 kB / 0.7498 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/1.103, allocations: 11.53 kB / 0.7498 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01752/1.12, allocations: 12.93 MB / 0.7624 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.12, allocations: 7.656 kB / 0.7624 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/1.122, allocations: 456.9 kB / 0.7629 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002528/1.124, allocations: 0.9385 MB / 0.7638 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003092/1.125, allocations: 51.92 kB / 0.7639 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005086/1.13, allocations: 5.829 MB / 0.7695 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007964/1.131, allocations: 1.548 MB / 0.7711 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00915/1.14, allocations: 7.733 MB / 0.7786 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/1.141, allocations: 331.2 kB / 0.7789 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003967/1.141, allocations: 51.16 kB / 0.779 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/1.142, allocations: 195.5 kB / 0.7792 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000363/1.143, allocations: 144.4 kB / 0.7793 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/1.143, allocations: 67.98 kB / 0.7794 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002049/1.145, allocations: 1.729 MB / 0.781 GB, free: 150 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/1.145, allocations: 0 / 0.781 GB, free: 150 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004622/1.15, allocations: 1.1 MB / 0.7821 GB, free: 148.9 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.009217/1.159, allocations: 8.398 MB / 0.7903 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009075/1.168, allocations: 6.638 MB / 0.7968 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.168, allocations: 0 / 0.7968 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003303/1.171, allocations: 2.531 MB / 0.7993 GB, free: 131.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/1.174, allocations: 379.7 kB / 0.7996 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1162/1.29, allocations: 59.4 MB / 0.8577 GB, free: 66.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00294/1.293, allocations: 3.16 MB / 0.8607 GB, free: 63.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003673/1.296, allocations: 2.06 MB / 0.8627 GB, free: 61.58 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/1.299, allocations: 1.67 MB / 0.8644 GB, free: 59.91 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/1.299, allocations: 0 / 0.8644 GB, free: 59.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09862/1.397, allocations: 70.87 MB / 0.9336 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.51/21.91, allocations: 3.047 kB / 0.9336 GB, free: 5.297 MB / 0.5919 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches