Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 178.2 kB / 8.519 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 221.4 MB / 230.3 MB, free: 7.758 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009118/0.000912, allocations: 95.33 kB / 281.2 MB, free: 5.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.161/0.161, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1753/0.3363, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.4275, allocations: 61.91 MB / 0.4942 GB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2494/0.677, allocations: 99.08 MB / 0.5909 GB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.6772, allocations: 75.95 kB / 0.591 GB, free: 13.57 MB / 410.7 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.05735/0.7346, allocations: 21.13 MB / 0.6116 GB, free: 8.254 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.7346, allocations: 11.94 kB / 0.6117 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007862/0.7354, allocations: 170.3 kB / 0.6118 GB, free: 8.074 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.7368, allocations: 0.7205 MB / 0.6125 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.7369, allocations: 32 kB / 0.6125 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.737, allocations: 60 kB / 0.6126 GB, free: 7.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002446/0.7395, allocations: 1.719 MB / 0.6143 GB, free: 5.496 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/0.7421, allocations: 1.983 MB / 0.6162 GB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.7421, allocations: 15.84 kB / 0.6162 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.7423, allocations: 4 kB / 0.6162 GB, free: 3.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002719/0.7425, allocations: 221.8 kB / 0.6165 GB, free: 3.121 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007314/0.7499, allocations: 7.655 MB / 0.6239 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005165/0.7504, allocations: 385.7 kB / 0.6243 GB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.7508, allocations: 273.5 kB / 0.6246 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/0.7522, allocations: 1.749 MB / 0.6263 GB, free: 8.566 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.7523, allocations: 38.56 kB / 0.6263 GB, free: 8.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 1.994e-06/0.7523, allocations: 0 / 0.6263 GB, free: 8.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.008607/0.7609, allocations: 2.63 MB / 0.6289 GB, free: 5.879 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.7609, allocations: 55.91 kB / 0.6289 GB, free: 5.809 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/0.7617, allocations: 0.675 MB / 0.6296 GB, free: 5.133 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.7617, allocations: 25.7 kB / 0.6296 GB, free: 5.102 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.7621, allocations: 0.6247 MB / 0.6302 GB, free: 4.465 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.7622, allocations: 201.2 kB / 0.6304 GB, free: 4.266 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.7623, allocations: 0 / 0.6304 GB, free: 4.266 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7624, allocations: 398.7 kB / 0.6308 GB, free: 3.867 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.7629, allocations: 366.5 kB / 0.6311 GB, free: 3.508 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008386/0.7638, allocations: 0.9991 MB / 0.6321 GB, free: 2.195 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.7651, allocations: 0.7545 MB / 0.6329 GB, free: 1.441 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.7651, allocations: 8 kB / 0.6329 GB, free: 1.434 MB / 442.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002405/0.7675, allocations: 1.437 MB / 0.6343 GB, free: 15.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.7676, allocations: 8.781 kB / 0.6343 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.7676, allocations: 20 kB / 0.6343 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.929e-05/0.7676, allocations: 36 kB / 0.6343 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.769, allocations: 328 kB / 0.6346 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000914/0.7699, allocations: 1.325 MB / 0.6359 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006415/0.7706, allocations: 23.98 kB / 0.636 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.7707, allocations: 75.98 kB / 0.636 GB, free: 14.07 MB / 458.7 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.0001855/0.7709, allocations: 183.5 kB / 0.6362 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.771, allocations: 79.05 kB / 0.6363 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.7712, allocations: 95.73 kB / 0.6364 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.7712, allocations: 7.984 kB / 0.6364 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7712, allocations: 3.906 kB / 0.6364 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.7712, allocations: 3.984 kB / 0.6364 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/0.7748, allocations: 2.084 MB / 0.6384 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.7748, allocations: 8 kB / 0.6384 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/0.7755, allocations: 128.5 kB / 0.6385 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.116e-05/0.7755, allocations: 16 kB / 0.6386 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.7755, allocations: 8 kB / 0.6386 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007945/0.7763, allocations: 1.297 MB / 0.6398 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.7764, allocations: 4 kB / 0.6398 GB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001624/0.778, allocations: 1.296 MB / 0.6411 GB, free: 8.387 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001718/0.7797, allocations: 1.67 MB / 0.6427 GB, free: 6.473 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.7799, allocations: 152.2 kB / 0.6429 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.78, allocations: 19.72 kB / 0.6429 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.7804, allocations: 8 kB / 0.6429 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.7804, allocations: 47.8 kB / 0.643 GB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.7805, allocations: 28 kB / 0.643 GB, free: 6.207 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0005248/0.781, allocations: 483.1 kB / 0.6434 GB, free: 5.742 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001533/0.7826, allocations: 191.9 kB / 0.6436 GB, free: 5.551 MB / 458.7 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.0002344/0.7828, allocations: 131 kB / 0.6438 GB, free: 5.414 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.784, allocations: 0.8695 MB / 0.6446 GB, free: 4.551 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.784, allocations: 0 / 0.6446 GB, free: 4.551 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.7845, allocations: 303.9 kB / 0.6449 GB, free: 4.254 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.785, allocations: 96.25 kB / 0.645 GB, free: 4.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.7876, allocations: 1.662 MB / 0.6466 GB, free: 2.391 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.7887, allocations: 1.327 MB / 0.6479 GB, free: 1.035 MB / 458.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7887, allocations: 0 / 0.6479 GB, free: 1.035 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1)