Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 110.5 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 192.6 kB / 20.08 MB, free: 2.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 207.6 MB / 230.5 MB, free: 4.078 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3438/0.3438, allocations: 44.23 MB / 326.5 MB, free: 6.801 MB / 254.1 MB " [Timeout remaining time 180] 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.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002168/0.002168, allocations: 79.83 kB / 462.2 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2534, allocations: 60.99 MB / 0.5109 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.00651/0.2599, allocations: 7.687 MB / 0.5184 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003914/0.2638, allocations: 2.551 MB / 0.5209 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007773/0.2646, allocations: 31.94 kB / 0.5209 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.266, allocations: 0.8954 MB / 0.5218 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005419/0.2666, allocations: 330.2 kB / 0.5221 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.2671, allocations: 327.2 kB / 0.5224 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005409/0.2677, allocations: 0.7398 MB / 0.5232 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005296/0.2682, allocations: 0.6851 MB / 0.5238 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.2685, allocations: 374.5 kB / 0.5242 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006373/0.2691, allocations: 0.6894 MB / 0.5249 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.2692, allocations: 104 kB / 0.525 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005553/0.2698, allocations: 0.5382 MB / 0.5255 GB, free: 8 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005274/0.2703, allocations: 0.5064 MB / 0.526 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000577/0.2709, allocations: 0.5671 MB / 0.5265 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.2729, allocations: 1.789 MB / 0.5283 GB, free: 13.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2729, allocations: 0 / 0.5283 GB, free: 13.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2729, allocations: 3.938 kB / 0.5283 GB, free: 13.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.2729, allocations: 4 kB / 0.5283 GB, free: 13.13 MB / 398.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.003186/0.2761, allocations: 1.671 MB / 0.5299 GB, free: 11.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2761, allocations: 11.89 kB / 0.5299 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002165/0.2763, allocations: 178.5 kB / 0.5301 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006838/0.277, allocations: 172 kB / 0.5303 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.2782, allocations: 0.6399 MB / 0.5309 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.2783, allocations: 62.09 kB / 0.531 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.2785, allocations: 87.91 kB / 0.531 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/0.2835, allocations: 2.673 MB / 0.5336 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.2835, allocations: 3.938 kB / 0.5337 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/0.2836, allocations: 43.91 kB / 0.5337 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004848/0.2841, allocations: 385.7 kB / 0.5341 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005097/0.2892, allocations: 2.361 MB / 0.5364 GB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009822/0.299, allocations: 8.253 MB / 0.5444 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/0.3026, allocations: 0.9365 MB / 0.5453 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/0.303, allocations: 236.8 kB / 0.5456 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/0.3048, allocations: 1.738 MB / 0.5473 GB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3048, allocations: 30.56 kB / 0.5473 GB, free: 8.859 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.615e-06/0.3048, allocations: 0 / 0.5473 GB, free: 8.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=58): time 0.01129/0.3161, allocations: 2.968 MB / 0.5502 GB, free: 5.879 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.3161, allocations: 55.97 kB / 0.5502 GB, free: 5.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.3174, allocations: 0.9071 MB / 0.5511 GB, free: 4.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.3174, allocations: 33.7 kB / 0.5512 GB, free: 4.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005214/0.3179, allocations: 0.6861 MB / 0.5518 GB, free: 4.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.3181, allocations: 222.2 kB / 0.552 GB, free: 3.941 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/0.3184, allocations: 254.8 kB / 0.5523 GB, free: 3.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.3187, allocations: 402.7 kB / 0.5527 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.3192, allocations: 366.4 kB / 0.553 GB, free: 2.926 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.3203, allocations: 0.9953 MB / 0.554 GB, free: 1.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.3221, allocations: 1.491 MB / 0.5554 GB, free: 15.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.3221, allocations: 8 kB / 0.5555 GB, free: 15.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002174/0.3243, allocations: 1.401 MB / 0.5568 GB, free: 14.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.3243, allocations: 15.94 kB / 0.5568 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/0.3244, allocations: 24.91 kB / 0.5569 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.743e-05/0.3244, allocations: 32 kB / 0.5569 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.3256, allocations: 319.5 kB / 0.5572 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.3268, allocations: 1.467 MB / 0.5586 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/0.3275, allocations: 55.94 kB / 0.5587 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.66e-05/0.3276, allocations: 67.94 kB / 0.5587 GB, free: 12.3 MB / 430.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.0006959/0.3283, allocations: 0.4933 MB / 0.5592 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.3284, allocations: 83.44 kB / 0.5593 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.3286, allocations: 116.7 kB / 0.5594 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.3286, allocations: 8 kB / 0.5594 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3286, allocations: 0 / 0.5594 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3286, allocations: 3.984 kB / 0.5594 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/0.3325, allocations: 2.168 MB / 0.5616 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.3325, allocations: 8.094 kB / 0.5616 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.3331, allocations: 127.8 kB / 0.5617 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.3331, allocations: 11.94 kB / 0.5617 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.3331, allocations: 20 kB / 0.5617 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.3342, allocations: 1.42 MB / 0.5631 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/0.3342, allocations: 19.91 kB / 0.5631 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.3353, allocations: 0.8351 MB / 0.5639 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.3357, allocations: 208.5 kB / 0.5641 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.3358, allocations: 23.94 kB / 0.5642 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.3362, allocations: 19.98 kB / 0.5642 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.3363, allocations: 47.83 kB / 0.5642 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.3363, allocations: 28 kB / 0.5642 GB, free: 6.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008801/0.3372, allocations: 0.6005 MB / 0.5648 GB, free: 5.672 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3372, allocations: 0 / 0.5648 GB, free: 5.672 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001036/0.3382, allocations: 212 kB / 0.565 GB, free: 5.465 MB / 430.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.001465/0.3397, allocations: 1.421 MB / 0.5664 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.3413, allocations: 0.8398 MB / 0.5672 GB, free: 3.098 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3413, allocations: 320 / 0.5672 GB, free: 3.098 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004621/0.3418, allocations: 275.5 kB / 0.5675 GB, free: 2.828 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008463/0.3426, allocations: 120.8 kB / 0.5676 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.3572, allocations: 9.435 MB / 0.5768 GB, free: 8.387 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.3585, allocations: 1.22 MB / 0.578 GB, free: 7.141 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009092/0.3594, allocations: 339.6 kB / 0.5783 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006618/0.3601, allocations: 403.3 kB / 0.5787 GB, free: 6.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3601, allocations: 0 / 0.5787 GB, free: 6.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05577/0.4159, allocations: 17.43 MB / 0.5958 GB, free: 4.965 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/15.86, allocations: 8.047 kB / 0.5958 GB, free: 4.957 MB / 462.1 MB " [Timeout remaining time 644] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 19.00310829980299]