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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 192.2 kB / 7.808 MB, free: 1.18 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.2 MB / 213.4 MB, free: 3.949 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009079/0.000908, allocations: 89.28 kB / 261.4 MB, free: 4.25 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3584/0.3584, allocations: 43.48 MB / 352.8 MB, free: 50.29 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1387/0.4972, allocations: 64.97 MB / 417.8 MB, free: 5.043 MB / 306.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.6235, allocations: 58.84 MB / 476.7 MB, free: 10.09 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3006/0.9241, allocations: 97.56 MB / 0.5608 GB, free: 0.543 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.9244, allocations: 79.94 kB / 0.5608 GB, free: 476 kB / 386.8 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.06038/0.9848, allocations: 20.84 MB / 0.5812 GB, free: 11.51 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.9849, allocations: 8.562 kB / 0.5812 GB, free: 11.5 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.9859, allocations: 166.3 kB / 0.5813 GB, free: 11.34 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.9877, allocations: 0.7283 MB / 0.5821 GB, free: 10.57 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.9877, allocations: 32 kB / 0.5821 GB, free: 10.54 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/0.9881, allocations: 60 kB / 0.5821 GB, free: 10.48 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00308/0.9911, allocations: 1.727 MB / 0.5838 GB, free: 8.746 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003881/0.995, allocations: 1.992 MB / 0.5858 GB, free: 6.602 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.103e-05/0.9951, allocations: 3.938 kB / 0.5858 GB, free: 6.598 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.9953, allocations: 4 kB / 0.5858 GB, free: 6.594 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003958/0.9957, allocations: 221.8 kB / 0.586 GB, free: 6.375 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/1.006, allocations: 7.657 MB / 0.5935 GB, free: 14.52 MB / 434.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/1.007, allocations: 385.2 kB / 0.5938 GB, free: 14.14 MB / 434.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/1.007, allocations: 260.8 kB / 0.5941 GB, free: 13.88 MB / 434.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002018/1.009, allocations: 1.757 MB / 0.5958 GB, free: 11.84 MB / 434.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.009, allocations: 34.56 kB / 0.5958 GB, free: 11.8 MB / 434.8 MB Notification: Performance of pre-optimization done (n=44): time 4.188e-06/1.009, allocations: 0 / 0.5958 GB, free: 11.8 MB / 434.8 MB Notification: Performance of matching and sorting (n=58): time 0.009477/1.019, allocations: 2.633 MB / 0.5984 GB, free: 9.152 MB / 434.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/1.019, allocations: 59.91 kB / 0.5985 GB, free: 9.082 MB / 434.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/1.02, allocations: 0.675 MB / 0.5991 GB, free: 8.402 MB / 434.8 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/1.02, allocations: 25.7 kB / 0.5992 GB, free: 8.371 MB / 434.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/1.021, allocations: 0.6299 MB / 0.5998 GB, free: 7.73 MB / 434.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/1.021, allocations: 201.1 kB / 0.6 GB, free: 7.531 MB / 434.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/1.021, allocations: 3.938 kB / 0.6 GB, free: 7.527 MB / 434.8 MB Notification: Performance of setup shared object (initialization): time 0.0002705/1.021, allocations: 390.8 kB / 0.6003 GB, free: 7.137 MB / 434.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007061/1.022, allocations: 362.5 kB / 0.6007 GB, free: 6.781 MB / 434.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/1.024, allocations: 0.9914 MB / 0.6016 GB, free: 5.469 MB / 434.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/1.025, allocations: 0.7623 MB / 0.6024 GB, free: 4.707 MB / 434.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-05/1.025, allocations: 8 kB / 0.6024 GB, free: 4.699 MB / 434.8 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002964/1.028, allocations: 1.438 MB / 0.6038 GB, free: 3.25 MB / 434.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/1.028, allocations: 8.203 kB / 0.6038 GB, free: 3.242 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/1.028, allocations: 28 kB / 0.6038 GB, free: 3.215 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.407e-05/1.028, allocations: 39.98 kB / 0.6039 GB, free: 3.176 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.03, allocations: 323.5 kB / 0.6042 GB, free: 2.859 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/1.031, allocations: 1.326 MB / 0.6055 GB, free: 1.426 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008613/1.032, allocations: 27.91 kB / 0.6055 GB, free: 1.398 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/1.032, allocations: 72.16 kB / 0.6056 GB, free: 1.328 MB / 434.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002533/1.032, allocations: 186.8 kB / 0.6058 GB, free: 1.141 MB / 434.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/1.032, allocations: 74.97 kB / 0.6058 GB, free: 1.066 MB / 434.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/1.033, allocations: 103.7 kB / 0.6059 GB, free: 0.9609 MB / 434.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.033, allocations: 4 kB / 0.6059 GB, free: 0.957 MB / 434.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.033, allocations: 0 / 0.6059 GB, free: 0.957 MB / 434.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.033, allocations: 3.984 kB / 0.6059 GB, free: 0.9531 MB / 434.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/1.037, allocations: 2.096 MB / 0.608 GB, free: 14.74 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.037, allocations: 4 kB / 0.608 GB, free: 14.74 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/1.038, allocations: 135.7 kB / 0.6081 GB, free: 14.61 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/1.038, allocations: 12 kB / 0.6081 GB, free: 14.59 MB / 450.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/1.038, allocations: 11.98 kB / 0.6081 GB, free: 14.58 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/1.039, allocations: 1.286 MB / 0.6094 GB, free: 13.18 MB / 450.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/1.039, allocations: 11.92 kB / 0.6094 GB, free: 13.17 MB / 450.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001889/1.041, allocations: 1.287 MB / 0.6107 GB, free: 11.64 MB / 450.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00204/1.043, allocations: 1.681 MB / 0.6123 GB, free: 9.723 MB / 450.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/1.043, allocations: 192 kB / 0.6125 GB, free: 9.516 MB / 450.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/1.043, allocations: 11.98 kB / 0.6125 GB, free: 9.504 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/1.043, allocations: 8 kB / 0.6125 GB, free: 9.496 MB / 450.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/1.044, allocations: 47.86 kB / 0.6125 GB, free: 9.449 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/1.044, allocations: 24 kB / 0.6126 GB, free: 9.426 MB / 450.8 MB Notification: Performance of sort global known variables: time 0.0006738/1.044, allocations: 479.1 kB / 0.613 GB, free: 8.965 MB / 450.8 MB Notification: Performance of remove unused functions: time 0.001636/1.046, allocations: 196 kB / 0.6132 GB, free: 8.773 MB / 450.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000311/1.046, allocations: 139 kB / 0.6133 GB, free: 8.629 MB / 450.8 MB Notification: Performance of simCode: created initialization part: time 0.001697/1.048, allocations: 0.8682 MB / 0.6142 GB, free: 7.762 MB / 450.8 MB Notification: Performance of simCode: created event and clocks part: time 5.84e-06/1.048, allocations: 4 kB / 0.6142 GB, free: 7.758 MB / 450.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004538/1.048, allocations: 301.5 kB / 0.6145 GB, free: 7.465 MB / 450.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/1.049, allocations: 91.92 kB / 0.6146 GB, free: 7.375 MB / 450.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/1.052, allocations: 1.661 MB / 0.6162 GB, free: 5.605 MB / 450.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/1.054, allocations: 1.328 MB / 0.6175 GB, free: 4.25 MB / 450.8 MB Notification: Performance of SimCode: time 6.71e-07/1.054, allocations: 0 / 0.6175 GB, free: 4.25 MB / 450.8 MB (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/linux/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 --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)