Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 209.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 44.93 MB / 358.8 MB, free: 6.035 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 63.91 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3836, allocations: 65.46 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009865/0.3935, allocations: 6.744 MB / 0.5636 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007181/0.4006, allocations: 2.451 MB / 0.5659 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.4024, allocations: 35.88 kB / 0.566 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.4047, allocations: 0.8759 MB / 0.5668 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009995/0.4057, allocations: 318.3 kB / 0.5671 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009295/0.4066, allocations: 327.3 kB / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.4076, allocations: 0.7279 MB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000871/0.4085, allocations: 0.6383 MB / 0.5688 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004409/0.4089, allocations: 366.6 kB / 0.5691 GB, free: 11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009739/0.4099, allocations: 0.6503 MB / 0.5698 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.4101, allocations: 108 kB / 0.5699 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008356/0.4109, allocations: 0.5031 MB / 0.5704 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005442/0.4115, allocations: 0.5064 MB / 0.5709 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004857/0.412, allocations: 449.5 kB / 0.5713 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.414, allocations: 1.794 MB / 0.573 GB, free: 6.992 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.414, allocations: 0 / 0.573 GB, free: 6.992 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.414, allocations: 0 / 0.573 GB, free: 6.992 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.414, allocations: 4 kB / 0.573 GB, free: 6.988 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003553/0.4176, allocations: 1.581 MB / 0.5746 GB, free: 5.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4176, allocations: 8.031 kB / 0.5746 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002477/0.4179, allocations: 178.5 kB / 0.5748 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006926/0.4186, allocations: 172 kB / 0.5749 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.4198, allocations: 0.5795 MB / 0.5755 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.4199, allocations: 58.09 kB / 0.5755 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.4201, allocations: 79.97 kB / 0.5756 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005272/0.4253, allocations: 2.676 MB / 0.5782 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.4254, allocations: 11.88 kB / 0.5783 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.863e-05/0.4255, allocations: 31.97 kB / 0.5783 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005267/0.426, allocations: 385.7 kB / 0.5786 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005526/0.4315, allocations: 2.361 MB / 0.581 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.442, allocations: 7.898 MB / 0.5887 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00381/0.4458, allocations: 0.9448 MB / 0.5896 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/0.4462, allocations: 232.7 kB / 0.5898 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/0.4474, allocations: 0.6161 MB / 0.5904 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.4475, allocations: 38.56 kB / 0.5905 GB, free: 4.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 3.386e-06/0.4475, allocations: 4 kB / 0.5905 GB, free: 4.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.01159/0.4591, allocations: 2.952 MB / 0.5933 GB, free: 1.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.4591, allocations: 63.91 kB / 0.5934 GB, free: 1.613 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.4604, allocations: 0.9339 MB / 0.5943 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.4604, allocations: 37.64 kB / 0.5943 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005331/0.4609, allocations: 0.6786 MB / 0.595 GB, free: 15.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.4611, allocations: 222.1 kB / 0.5952 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/0.4615, allocations: 254.7 kB / 0.5955 GB, free: 15.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.4617, allocations: 402.7 kB / 0.5958 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.4623, allocations: 370.4 kB / 0.5962 GB, free: 14.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.4634, allocations: 0.9952 MB / 0.5972 GB, free: 13.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.4653, allocations: 1.494 MB / 0.5986 GB, free: 11.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.4653, allocations: 8 kB / 0.5986 GB, free: 11.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002209/0.4675, allocations: 1.395 MB / 0.6 GB, free: 10.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.4676, allocations: 19.75 kB / 0.6 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.4676, allocations: 23.98 kB / 0.6 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.655e-05/0.4676, allocations: 32 kB / 0.6001 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.4688, allocations: 324 kB / 0.6004 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.47, allocations: 1.348 MB / 0.6017 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.4706, allocations: 51.94 kB / 0.6017 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.198e-05/0.4707, allocations: 64 kB / 0.6018 GB, free: 8.223 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007119/0.4714, allocations: 0.495 MB / 0.6023 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.4716, allocations: 87.39 kB / 0.6024 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.4718, allocations: 116.5 kB / 0.6025 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.4718, allocations: 12 kB / 0.6025 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4718, allocations: 0 / 0.6025 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.4718, allocations: 11.91 kB / 0.6025 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/0.4756, allocations: 2.066 MB / 0.6045 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.4756, allocations: 8 kB / 0.6045 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.4761, allocations: 124.6 kB / 0.6047 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.4761, allocations: 12 kB / 0.6047 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.4762, allocations: 16 kB / 0.6047 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.4772, allocations: 1.316 MB / 0.606 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.4772, allocations: 8 kB / 0.606 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.4782, allocations: 0.8373 MB / 0.6068 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.4784, allocations: 87.42 kB / 0.6069 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-05/0.4785, allocations: 19.94 kB / 0.6069 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.4789, allocations: 19.98 kB / 0.6069 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.479, allocations: 55.81 kB / 0.607 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.479, allocations: 20 kB / 0.607 GB, free: 2.566 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000796/0.4798, allocations: 0.5927 MB / 0.6076 GB, free: 1.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4798, allocations: 0 / 0.6076 GB, free: 1.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00098/0.4808, allocations: 216 kB / 0.6078 GB, free: 1.766 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001361/0.4821, allocations: 1.404 MB / 0.6091 GB, free: 264 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.4836, allocations: 0.8422 MB / 0.61 GB, free: 15.42 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.4836, allocations: 7.938 kB / 0.61 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.4841, allocations: 264.5 kB / 0.6102 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007731/0.4848, allocations: 131.4 kB / 0.6103 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.4977, allocations: 9.43 MB / 0.6196 GB, free: 4.699 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008123/0.4985, allocations: 0.6204 MB / 0.6202 GB, free: 4.047 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008498/0.4993, allocations: 339.6 kB / 0.6205 GB, free: 3.711 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005632/0.4999, allocations: 407.3 kB / 0.6209 GB, free: 3.312 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4999, allocations: 0 / 0.6209 GB, free: 3.312 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05277/0.5527, allocations: 18.1 MB / 0.6386 GB, free: 1.496 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.27, allocations: 6.906 kB / 0.6386 GB, free: 1.492 MB / 478.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.498705501668155]