Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001416/0.001416, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.00162/0.00162, allocations: 218.5 kB / 22.92 MB, free: 5.195 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.307/1.307, allocations: 230.2 MB / 256.2 MB, free: 8.594 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1971/0.1971, allocations: 46.89 MB / 359.3 MB, free: 4.957 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 83.86 kB / 0.494 GB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2624, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.008887/0.2713, allocations: 7.64 MB / 0.5659 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00471/0.276, allocations: 2.624 MB / 0.5684 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005484/0.2765, allocations: 31.94 kB / 0.5685 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.2783, allocations: 0.9071 MB / 0.5694 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006385/0.279, allocations: 318.3 kB / 0.5697 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.2796, allocations: 323.3 kB / 0.57 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007885/0.2804, allocations: 0.724 MB / 0.5707 GB, free: 8.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007123/0.2811, allocations: 0.5835 MB / 0.5712 GB, free: 8.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000388/0.2815, allocations: 354.7 kB / 0.5716 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009191/0.2825, allocations: 0.6855 MB / 0.5723 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.2826, allocations: 108 kB / 0.5724 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008499/0.2835, allocations: 0.5382 MB / 0.5729 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005004/0.284, allocations: 0.5102 MB / 0.5734 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000576/0.2845, allocations: 0.5632 MB / 0.5739 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.2865, allocations: 1.774 MB / 0.5757 GB, free: 3.473 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2865, allocations: 0 / 0.5757 GB, free: 3.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2865, allocations: 0 / 0.5757 GB, free: 3.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.2865, allocations: 0 / 0.5757 GB, free: 3.473 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.003161/0.2896, allocations: 1.66 MB / 0.5773 GB, free: 1.762 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2897, allocations: 16.98 kB / 0.5773 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002184/0.2899, allocations: 182.5 kB / 0.5775 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006329/0.2905, allocations: 172 kB / 0.5776 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009622/0.2915, allocations: 0.6399 MB / 0.5783 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.2916, allocations: 66.09 kB / 0.5783 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.2917, allocations: 79.97 kB / 0.5784 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004897/0.2966, allocations: 2.673 MB / 0.581 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.2967, allocations: 7.938 kB / 0.581 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.126e-05/0.2968, allocations: 35.97 kB / 0.5811 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000483/0.2972, allocations: 381.7 kB / 0.5814 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004925/0.3022, allocations: 2.361 MB / 0.5837 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008315/0.3105, allocations: 8.245 MB / 0.5918 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003679/0.3142, allocations: 0.9521 MB / 0.5927 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.3145, allocations: 236.7 kB / 0.5929 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/0.3161, allocations: 1.73 MB / 0.5946 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3161, allocations: 38.56 kB / 0.5947 GB, free: 15.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.3161, allocations: 4 kB / 0.5947 GB, free: 15.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=58): time 0.01105/0.3272, allocations: 2.961 MB / 0.5976 GB, free: 12.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.3272, allocations: 55.97 kB / 0.5976 GB, free: 12.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.3283, allocations: 0.9031 MB / 0.5985 GB, free: 11.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.3283, allocations: 33.7 kB / 0.5985 GB, free: 11.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.3288, allocations: 0.6822 MB / 0.5992 GB, free: 10.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.329, allocations: 218.2 kB / 0.5994 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.3293, allocations: 254.8 kB / 0.5996 GB, free: 10.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.3295, allocations: 398.7 kB / 0.6 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/0.33, allocations: 366.4 kB / 0.6004 GB, free: 9.297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.3311, allocations: 1.003 MB / 0.6013 GB, free: 7.988 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.3329, allocations: 1.491 MB / 0.6028 GB, free: 6.191 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.3329, allocations: 4 kB / 0.6028 GB, free: 6.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002053/0.335, allocations: 1.397 MB / 0.6042 GB, free: 4.781 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.335, allocations: 24.84 kB / 0.6042 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.335, allocations: 24 kB / 0.6042 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.719e-05/0.335, allocations: 32 kB / 0.6042 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.3362, allocations: 315.5 kB / 0.6045 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.3373, allocations: 1.455 MB / 0.606 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.3379, allocations: 51.98 kB / 0.606 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.3379, allocations: 67.94 kB / 0.6061 GB, free: 2.688 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.0006396/0.3386, allocations: 0.4933 MB / 0.6066 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.3387, allocations: 91.39 kB / 0.6067 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.3389, allocations: 116.5 kB / 0.6068 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3389, allocations: 7.938 kB / 0.6068 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3389, allocations: 0 / 0.6068 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.3389, allocations: 7.969 kB / 0.6068 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/0.3422, allocations: 2.164 MB / 0.6089 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.3422, allocations: 12.16 kB / 0.6089 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.3427, allocations: 127.8 kB / 0.609 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.3427, allocations: 8 kB / 0.609 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.3427, allocations: 20 kB / 0.6091 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000941/0.3437, allocations: 1.425 MB / 0.6104 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.3437, allocations: 8 kB / 0.6105 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009476/0.3446, allocations: 0.8312 MB / 0.6113 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.3448, allocations: 168.5 kB / 0.6114 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.981e-05/0.3449, allocations: 23.94 kB / 0.6114 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.3452, allocations: 16 kB / 0.6115 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.3453, allocations: 55.81 kB / 0.6115 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.3453, allocations: 27.94 kB / 0.6115 GB, free: 12.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007199/0.346, allocations: 0.5927 MB / 0.6121 GB, free: 12.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.346, allocations: 0 / 0.6121 GB, free: 12.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008795/0.3469, allocations: 212 kB / 0.6123 GB, free: 11.89 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.001348/0.3482, allocations: 1.402 MB / 0.6137 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.3496, allocations: 0.8475 MB / 0.6145 GB, free: 9.535 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3496, allocations: 4 kB / 0.6145 GB, free: 9.531 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.35, allocations: 268.2 kB / 0.6148 GB, free: 9.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.3507, allocations: 135 kB / 0.6149 GB, free: 9.145 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.3625, allocations: 9.43 MB / 0.6241 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009673/0.3635, allocations: 1.212 MB / 0.6253 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007701/0.3642, allocations: 343.6 kB / 0.6256 GB, free: 13.24 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/0.3648, allocations: 411.2 kB / 0.626 GB, free: 12.84 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3648, allocations: 4 kB / 0.626 GB, free: 12.84 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/0.4062, allocations: 17.4 MB / 0.643 GB, free: 11.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14, allocations: 3 kB / 0.643 GB, free: 11.57 MB / 494.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.5239367710019]