Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001969/0.001969, allocations: 116.5 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002878/0.002878, allocations: 212.5 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2307/0.2307, allocations: 46.92 MB / 360.8 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 75.88 kB / 0.4962 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3023, allocations: 66.08 MB / 0.5607 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009598/0.3119, allocations: 7.636 MB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005538/0.3175, allocations: 2.622 MB / 0.5708 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008648/0.3183, allocations: 35.88 kB / 0.5708 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.3204, allocations: 0.9148 MB / 0.5717 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009721/0.3214, allocations: 322.3 kB / 0.572 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.3223, allocations: 319.3 kB / 0.5723 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.3233, allocations: 0.735 MB / 0.573 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009492/0.3242, allocations: 0.6462 MB / 0.5736 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005901/0.3248, allocations: 370.5 kB / 0.574 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.326, allocations: 0.6816 MB / 0.5747 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002297/0.3263, allocations: 104 kB / 0.5748 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009435/0.3272, allocations: 0.5499 MB / 0.5753 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005694/0.3278, allocations: 0.4948 MB / 0.5758 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007485/0.3285, allocations: 0.5671 MB / 0.5763 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.3307, allocations: 1.782 MB / 0.5781 GB, free: 2.473 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3307, allocations: 0 / 0.5781 GB, free: 2.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3307, allocations: 3.938 kB / 0.5781 GB, free: 2.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.066e-05/0.3308, allocations: 0 / 0.5781 GB, free: 2.469 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.003724/0.3345, allocations: 1.584 MB / 0.5796 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3345, allocations: 12.03 kB / 0.5796 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002877/0.3348, allocations: 182.5 kB / 0.5798 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000759/0.3356, allocations: 164 kB / 0.58 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.337, allocations: 0.5835 MB / 0.5805 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.337, allocations: 58.02 kB / 0.5806 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/0.3373, allocations: 83.95 kB / 0.5807 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005737/0.343, allocations: 2.669 MB / 0.5833 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/0.3431, allocations: 7.938 kB / 0.5833 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.3432, allocations: 35.95 kB / 0.5833 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005434/0.3437, allocations: 385.7 kB / 0.5837 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005771/0.3495, allocations: 2.369 MB / 0.586 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/0.3599, allocations: 8.205 MB / 0.594 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003855/0.3638, allocations: 0.9443 MB / 0.5949 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004091/0.3642, allocations: 236.7 kB / 0.5952 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.3654, allocations: 0.62 MB / 0.5958 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.3654, allocations: 38.56 kB / 0.5958 GB, free: 15.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.3654, allocations: 208 / 0.5958 GB, free: 15.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=58): time 0.01172/0.3771, allocations: 2.963 MB / 0.5987 GB, free: 12.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.3772, allocations: 55.91 kB / 0.5988 GB, free: 12.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.3785, allocations: 0.8953 MB / 0.5996 GB, free: 11.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.3786, allocations: 45.62 kB / 0.5997 GB, free: 11.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005653/0.3792, allocations: 0.6744 MB / 0.6003 GB, free: 11.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.3794, allocations: 226.2 kB / 0.6005 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003499/0.3797, allocations: 254.8 kB / 0.6008 GB, free: 10.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.3799, allocations: 398.7 kB / 0.6012 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/0.3806, allocations: 370.3 kB / 0.6015 GB, free: 9.891 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.3817, allocations: 0.9913 MB / 0.6025 GB, free: 8.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.3836, allocations: 1.494 MB / 0.604 GB, free: 6.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/0.3836, allocations: 8 kB / 0.604 GB, free: 6.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002338/0.386, allocations: 1.395 MB / 0.6053 GB, free: 5.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.386, allocations: 23.28 kB / 0.6053 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.386, allocations: 20 kB / 0.6054 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.189e-05/0.3861, allocations: 36 kB / 0.6054 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.3874, allocations: 315.5 kB / 0.6057 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.3886, allocations: 1.354 MB / 0.607 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007275/0.3893, allocations: 51.98 kB / 0.6071 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.3894, allocations: 67.94 kB / 0.6071 GB, free: 3.414 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.0007251/0.3902, allocations: 0.5049 MB / 0.6076 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.3903, allocations: 91.39 kB / 0.6077 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.3906, allocations: 112.5 kB / 0.6078 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3906, allocations: 8 kB / 0.6078 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3906, allocations: 0 / 0.6078 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3906, allocations: 0 / 0.6078 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004089/0.3947, allocations: 2.14 MB / 0.6099 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.3947, allocations: 8.156 kB / 0.6099 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.3952, allocations: 123.8 kB / 0.61 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/0.3952, allocations: 12 kB / 0.6101 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.3953, allocations: 20 kB / 0.6101 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.3964, allocations: 1.324 MB / 0.6114 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.461e-05/0.3964, allocations: 11.94 kB / 0.6114 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.3975, allocations: 0.8295 MB / 0.6122 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.3977, allocations: 87.42 kB / 0.6123 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.3979, allocations: 27.92 kB / 0.6123 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.3982, allocations: 16 kB / 0.6123 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.3983, allocations: 47.81 kB / 0.6124 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.3984, allocations: 28 kB / 0.6124 GB, free: 13.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009076/0.3993, allocations: 0.5927 MB / 0.613 GB, free: 13.08 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3993, allocations: 4 kB / 0.613 GB, free: 13.08 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001107/0.4004, allocations: 212 kB / 0.6132 GB, free: 12.87 MB / 462.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.001585/0.402, allocations: 1.404 MB / 0.6145 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.4037, allocations: 0.8467 MB / 0.6154 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.4037, allocations: 4.062 kB / 0.6154 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005188/0.4042, allocations: 263.5 kB / 0.6156 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009607/0.4052, allocations: 128.8 kB / 0.6157 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/0.4214, allocations: 9.432 MB / 0.625 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/0.4227, allocations: 1.22 MB / 0.6262 GB, free: 14.56 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009492/0.4237, allocations: 339.6 kB / 0.6265 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006826/0.4243, allocations: 403.3 kB / 0.6269 GB, free: 13.83 MB / 478.1 MB Notification: Performance of SimCode: time 2.054e-06/0.4243, allocations: 4 kB / 0.6269 GB, free: 13.83 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05372/0.4781, allocations: 18.39 MB / 0.6448 GB, free: 11.59 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.97/19.45, allocations: 3.938 kB / 0.6448 GB, free: 11.59 MB / 494.1 MB " [Timeout remaining time 640] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 22.672889968845993]