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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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"}) [: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 trunk/package.mo): time 0.001636/0.001636, allocations: 205.7 kB / 8.54 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 225.5 MB / 234.4 MB, free: 3.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009249/0.0009249, allocations: 93.69 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.171/0.171, allocations: 45.14 MB / 383.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1877/0.3588, allocations: 69.37 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08193/0.4407, allocations: 63.25 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.255/0.6958, allocations: 100.1 MB / 0.6017 GB, free: 2.832 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.696, allocations: 76.83 kB / 0.6017 GB, free: 2.793 MB / 394.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.05717/0.7532, allocations: 21.18 MB / 0.6224 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.7532, allocations: 8 kB / 0.6224 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000716/0.754, allocations: 162.3 kB / 0.6226 GB, free: 404 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.7552, allocations: 0.7207 MB / 0.6233 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.7553, allocations: 36 kB / 0.6233 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.7554, allocations: 59.83 kB / 0.6234 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00236/0.7578, allocations: 1.721 MB / 0.6251 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.7604, allocations: 1.997 MB / 0.627 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.7604, allocations: 7.938 kB / 0.627 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.7605, allocations: 4 kB / 0.627 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002763/0.7608, allocations: 215.6 kB / 0.6272 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007231/0.7681, allocations: 7.67 MB / 0.6347 GB, free: 6.035 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.7686, allocations: 377.6 kB / 0.6351 GB, free: 5.773 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.769, allocations: 259 kB / 0.6353 GB, free: 5.605 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/0.7705, allocations: 1.748 MB / 0.637 GB, free: 3.645 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.7705, allocations: 41.92 kB / 0.6371 GB, free: 3.598 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 2.174e-06/0.7705, allocations: 4 kB / 0.6371 GB, free: 3.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.008952/0.7795, allocations: 2.625 MB / 0.6396 GB, free: 1.309 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.7795, allocations: 59.91 kB / 0.6397 GB, free: 1.238 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007758/0.7803, allocations: 0.6818 MB / 0.6404 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.7804, allocations: 29.7 kB / 0.6404 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.7807, allocations: 0.6124 MB / 0.641 GB, free: 128 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.7809, allocations: 203.9 kB / 0.6412 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.7809, allocations: 0 / 0.6412 GB, free: 15.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.7811, allocations: 396.5 kB / 0.6416 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.7816, allocations: 367.8 kB / 0.6419 GB, free: 15.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008481/0.7825, allocations: 0.996 MB / 0.6429 GB, free: 14.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.7838, allocations: 0.7518 MB / 0.6436 GB, free: 13.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.7838, allocations: 8 kB / 0.6436 GB, free: 13.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002401/0.7862, allocations: 1.442 MB / 0.645 GB, free: 12.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7863, allocations: 4 kB / 0.645 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.7863, allocations: 27.94 kB / 0.6451 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.183e-05/0.7863, allocations: 39.91 kB / 0.6451 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.7877, allocations: 321.4 kB / 0.6454 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009573/0.7887, allocations: 1.324 MB / 0.6467 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.7894, allocations: 28.16 kB / 0.6467 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.7895, allocations: 73.34 kB / 0.6468 GB, free: 10.57 MB / 442.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.0001873/0.7897, allocations: 178 kB / 0.647 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.7898, allocations: 71.06 kB / 0.647 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.79, allocations: 103.6 kB / 0.6471 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.79, allocations: 8 kB / 0.6471 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.79, allocations: 7.984 kB / 0.6471 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.79, allocations: 0 / 0.6471 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/0.7936, allocations: 2.092 MB / 0.6492 GB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.7937, allocations: 8 kB / 0.6492 GB, free: 8.461 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.7943, allocations: 131.5 kB / 0.6493 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.7944, allocations: 11.94 kB / 0.6493 GB, free: 8.324 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.7944, allocations: 11.98 kB / 0.6493 GB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007984/0.7952, allocations: 1.294 MB / 0.6506 GB, free: 6.926 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.7952, allocations: 11.92 kB / 0.6506 GB, free: 6.914 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001637/0.7969, allocations: 1.292 MB / 0.6519 GB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001723/0.7986, allocations: 1.672 MB / 0.6535 GB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.7988, allocations: 155.3 kB / 0.6537 GB, free: 3.707 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.7989, allocations: 8 kB / 0.6537 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.7993, allocations: 11.98 kB / 0.6537 GB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.7993, allocations: 46.61 kB / 0.6537 GB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.7994, allocations: 27.69 kB / 0.6537 GB, free: 3.625 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.000519/0.7999, allocations: 475.5 kB / 0.6542 GB, free: 3.285 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001722/0.8017, allocations: 196 kB / 0.6544 GB, free: 3.094 MB / 442.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.0002334/0.8019, allocations: 134.8 kB / 0.6545 GB, free: 2.957 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.8031, allocations: 0.878 MB / 0.6554 GB, free: 2.297 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8031, allocations: 0 / 0.6554 GB, free: 2.297 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000439/0.8036, allocations: 297 kB / 0.6557 GB, free: 2.074 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.8041, allocations: 83.78 kB / 0.6557 GB, free: 2.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.8068, allocations: 1.683 MB / 0.6574 GB, free: 452 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/0.808, allocations: 1.318 MB / 0.6587 GB, free: 15.18 MB / 458.7 MB Notification: Performance of SimCode: time 5.1e-07/0.808, allocations: 0 / 0.6587 GB, free: 15.18 MB / 458.7 MB (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/linux/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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1)