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.001071/0.001071, allocations: 105.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.00124/0.00124, allocations: 221.6 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.27/1.27, allocations: 230.2 MB / 256.2 MB, free: 8.629 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.1999/0.1999, allocations: 46.88 MB / 359.3 MB, free: 5 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.002139/0.002139, allocations: 79.86 kB / 0.494 GB, free: 9.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2578, allocations: 65.98 MB / 0.5584 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.00847/0.2663, allocations: 7.658 MB / 0.5659 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004453/0.2707, allocations: 2.611 MB / 0.5684 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005402/0.2713, allocations: 35.94 kB / 0.5685 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.273, allocations: 0.9109 MB / 0.5694 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006511/0.2736, allocations: 322.3 kB / 0.5697 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006727/0.2743, allocations: 323.3 kB / 0.57 GB, free: 9.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008361/0.2751, allocations: 0.724 MB / 0.5707 GB, free: 8.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007101/0.2759, allocations: 0.5718 MB / 0.5712 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/0.2763, allocations: 362.7 kB / 0.5716 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008612/0.2771, allocations: 0.6855 MB / 0.5723 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.2773, allocations: 108 kB / 0.5724 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007434/0.278, allocations: 0.5382 MB / 0.5729 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.2785, allocations: 0.5025 MB / 0.5734 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005375/0.279, allocations: 0.571 MB / 0.5739 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.2808, allocations: 1.778 MB / 0.5757 GB, free: 3.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2808, allocations: 0 / 0.5757 GB, free: 3.488 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2808, allocations: 0 / 0.5757 GB, free: 3.488 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.063e-05/0.2808, allocations: 0 / 0.5757 GB, free: 3.488 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.00304/0.2838, allocations: 1.662 MB / 0.5773 GB, free: 1.777 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2839, allocations: 12.03 kB / 0.5773 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002209/0.2841, allocations: 182.5 kB / 0.5775 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006373/0.2847, allocations: 164 kB / 0.5776 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009653/0.2857, allocations: 0.6399 MB / 0.5783 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.2858, allocations: 70.09 kB / 0.5783 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.2859, allocations: 79.97 kB / 0.5784 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004975/0.2909, allocations: 2.669 MB / 0.581 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.291, allocations: 7.938 kB / 0.581 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/0.291, allocations: 35.97 kB / 0.5811 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004716/0.2915, allocations: 377.8 kB / 0.5814 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004972/0.2965, allocations: 2.365 MB / 0.5837 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008312/0.3048, allocations: 8.249 MB / 0.5918 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003611/0.3084, allocations: 0.9482 MB / 0.5927 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.3088, allocations: 232.7 kB / 0.5929 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/0.3102, allocations: 1.73 MB / 0.5946 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3102, allocations: 34.56 kB / 0.5947 GB, free: 15.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.284e-06/0.3102, allocations: 0 / 0.5947 GB, free: 15.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=58): time 0.01087/0.3211, allocations: 2.973 MB / 0.5976 GB, free: 12.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3212, allocations: 55.97 kB / 0.5976 GB, free: 12.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.3222, allocations: 0.9031 MB / 0.5985 GB, free: 11.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.3222, allocations: 33.7 kB / 0.5985 GB, free: 11.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/0.3227, allocations: 0.6822 MB / 0.5992 GB, free: 10.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.3229, allocations: 218.2 kB / 0.5994 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.3232, allocations: 246.8 kB / 0.5996 GB, free: 10.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.3234, allocations: 402.7 kB / 0.6 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005139/0.3239, allocations: 370.4 kB / 0.6004 GB, free: 9.324 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009548/0.3248, allocations: 0.9953 MB / 0.6013 GB, free: 8.023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.3264, allocations: 1.499 MB / 0.6028 GB, free: 6.219 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/0.3264, allocations: 4 kB / 0.6028 GB, free: 6.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001911/0.3284, allocations: 1.397 MB / 0.6042 GB, free: 4.809 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.3284, allocations: 19.94 kB / 0.6042 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.3284, allocations: 20 kB / 0.6042 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.613e-05/0.3284, allocations: 32 kB / 0.6042 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.3295, allocations: 320 kB / 0.6045 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.3306, allocations: 1.455 MB / 0.606 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/0.3311, allocations: 48 kB / 0.606 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/0.3312, allocations: 71.94 kB / 0.6061 GB, free: 2.719 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.000576/0.3318, allocations: 0.4971 MB / 0.6066 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3319, allocations: 95.45 kB / 0.6067 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.3321, allocations: 116.5 kB / 0.6068 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3321, allocations: 4 kB / 0.6068 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3321, allocations: 0 / 0.6068 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.3321, allocations: 7.984 kB / 0.6068 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/0.3353, allocations: 2.163 MB / 0.6089 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.3353, allocations: 8 kB / 0.6089 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.3358, allocations: 124.6 kB / 0.609 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-06/0.3358, allocations: 12 kB / 0.609 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.3358, allocations: 19.98 kB / 0.6091 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008958/0.3367, allocations: 1.425 MB / 0.6104 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.3367, allocations: 8 kB / 0.6105 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000897/0.3376, allocations: 0.8273 MB / 0.6113 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.3378, allocations: 168.5 kB / 0.6114 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.3379, allocations: 23.94 kB / 0.6114 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.3382, allocations: 16 kB / 0.6115 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.3383, allocations: 51.83 kB / 0.6115 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.3383, allocations: 20 kB / 0.6115 GB, free: 12.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007066/0.339, allocations: 0.6005 MB / 0.6121 GB, free: 12.13 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.339, allocations: 0 / 0.6121 GB, free: 12.13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00083/0.3398, allocations: 212 kB / 0.6123 GB, free: 11.93 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.001234/0.3411, allocations: 1.41 MB / 0.6137 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.3423, allocations: 0.8473 MB / 0.6145 GB, free: 9.566 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3423, allocations: 0 / 0.6145 GB, free: 9.566 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.3428, allocations: 269.3 kB / 0.6148 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00072/0.3435, allocations: 127.2 kB / 0.6149 GB, free: 9.184 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.3552, allocations: 9.438 MB / 0.6241 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009741/0.3562, allocations: 1.22 MB / 0.6253 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007612/0.3569, allocations: 339.6 kB / 0.6256 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/0.3575, allocations: 403.2 kB / 0.626 GB, free: 12.88 MB / 478.1 MB Notification: Performance of SimCode: time 1.243e-06/0.3575, allocations: 0 / 0.626 GB, free: 12.88 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04321/0.4007, allocations: 17.42 MB / 0.643 GB, free: 11.59 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.1, allocations: 4 kB / 0.643 GB, free: 11.59 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.59380503099237]