Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",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.001163/0.001163, allocations: 194.2 kB / 8.536 MB, free: 1.719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.16/1.16, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009435/0.0009434, allocations: 94.89 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1034/0.1044, allocations: 56.91 MB / 343.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.1934, allocations: 51.47 MB / 394.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.237/0.4305, allocations: 115.1 MB / 0.4979 GB, free: 10.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.4307, allocations: 86.7 kB / 0.498 GB, free: 10.36 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2627 * Number of variables: 2627 Notification: Performance of Generate backend data structure: time 0.4805/0.9112, allocations: 147.6 MB / 0.6421 GB, free: 70.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.9113, allocations: 12.94 kB / 0.6421 GB, free: 70.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/0.9247, allocations: 2.428 MB / 0.6445 GB, free: 69.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01911/0.9438, allocations: 7.093 MB / 0.6514 GB, free: 66.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004283/0.9443, allocations: 257.4 kB / 0.6516 GB, free: 66.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003111/0.9474, allocations: 466.7 kB / 0.6521 GB, free: 66.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01971/0.9671, allocations: 11.66 MB / 0.6635 GB, free: 62.65 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02876/0.9959, allocations: 16.56 MB / 0.6796 GB, free: 54.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005418/0.9965, allocations: 95.11 kB / 0.6797 GB, free: 54.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002686/0.9992, allocations: 38.5 kB / 0.6798 GB, free: 54.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002405/1.002, allocations: 1.779 MB / 0.6815 GB, free: 53.92 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3237/1.325, allocations: 80.85 MB / 0.7604 GB, free: 64.03 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006314/1.332, allocations: 5.735 MB / 0.766 GB, free: 63.38 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005031/1.337, allocations: 4.838 MB / 0.7708 GB, free: 63.33 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02234/1.359, allocations: 13.97 MB / 0.7844 GB, free: 60.41 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/1.359, allocations: 72.95 kB / 0.7845 GB, free: 60.37 MB / 442.8 MB Notification: Performance of pre-optimization done (n=313): time 9.668e-06/1.359, allocations: 0 / 0.7845 GB, free: 60.37 MB / 442.8 MB Notification: Performance of matching and sorting (n=383): time 0.09034/1.45, allocations: 39.57 MB / 0.8231 GB, free: 47.07 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/1.45, allocations: 170.7 kB / 0.8233 GB, free: 46.91 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00848/1.458, allocations: 4.668 MB / 0.8279 GB, free: 45.14 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008391/1.459, allocations: 28.89 kB / 0.8279 GB, free: 45.11 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002111/1.461, allocations: 4.675 MB / 0.8324 GB, free: 41.54 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00153/1.463, allocations: 1.381 MB / 0.8338 GB, free: 40.51 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004825/1.463, allocations: 0 / 0.8338 GB, free: 40.51 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0004032/1.464, allocations: 0.7188 MB / 0.8345 GB, free: 40.03 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005159/1.469, allocations: 4.361 MB / 0.8388 GB, free: 38.45 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0067/1.475, allocations: 9.788 MB / 0.8483 GB, free: 29.58 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007481/1.483, allocations: 6.515 MB / 0.8547 GB, free: 27.42 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.461e-05/1.483, allocations: 54.66 kB / 0.8547 GB, free: 27.42 MB / 442.8 MB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.02964/1.513, allocations: 16.4 MB / 0.8707 GB, free: 20.62 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.513, allocations: 4 kB / 0.8707 GB, free: 20.61 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001696/1.513, allocations: 192 kB / 0.8709 GB, free: 20.43 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/1.524, allocations: 3.537 MB / 0.8744 GB, free: 17.95 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008219/1.532, allocations: 2.248 MB / 0.8766 GB, free: 16.02 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1623/1.695, allocations: 24.85 MB / 0.9008 GB, free: 87.47 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008914/1.704, allocations: 360.8 kB / 0.9012 GB, free: 87.47 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001631/1.705, allocations: 0.6 MB / 0.9018 GB, free: 87.47 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 68 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1183): * Single equations (assignments): 1168 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 19,(1,100.0%) 6,(4,75.0%) 22,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001597/1.707, allocations: 0.5965 MB / 0.9024 GB, free: 87.35 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.708, allocations: 0.5247 MB / 0.9029 GB, free: 87.35 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01929/1.727, allocations: 10.14 MB / 0.9128 GB, free: 86.83 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01681/1.744, allocations: 8.804 MB / 0.9214 GB, free: 86.38 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01705/1.761, allocations: 9.256 MB / 0.9304 GB, free: 85.61 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.418e-05/1.762, allocations: 13.97 kB / 0.9304 GB, free: 85.61 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04254/1.804, allocations: 22.86 MB / 0.9528 GB, free: 77.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/1.804, allocations: 5.688 kB / 0.9528 GB, free: 77.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003727/1.808, allocations: 0.5825 MB / 0.9533 GB, free: 77.29 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009715/1.818, allocations: 2.808 MB / 0.9561 GB, free: 76.72 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008245/1.818, allocations: 22.58 kB / 0.9561 GB, free: 76.71 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02537/1.844, allocations: 19.07 MB / 0.9747 GB, free: 66.7 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006356/1.85, allocations: 5.186 MB / 0.9798 GB, free: 63.11 MB / 442.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02561/1.876, allocations: 15.17 MB / 0.9946 GB, free: 57.33 MB / 442.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02998/1.906, allocations: 20.61 MB / 1.015 GB, free: 47.01 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/1.907, allocations: 0.5555 MB / 1.015 GB, free: 46.45 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001881/1.909, allocations: 11 kB / 1.015 GB, free: 46.44 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003932/1.913, allocations: 126.3 kB / 1.015 GB, free: 46.37 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008094/1.914, allocations: 186 kB / 1.016 GB, free: 46.26 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005884/1.915, allocations: 95.89 kB / 1.016 GB, free: 46.17 MB / 442.8 MB Notification: Performance of sort global known variables: time 0.005288/1.92, allocations: 3.15 MB / 1.019 GB, free: 43.45 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01018/1.93, allocations: 1.865 MB / 1.021 GB, free: 41.61 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 286 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 19,(3,100.0%) 16,(3,100.0%) 7} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/1.931, allocations: 243.2 kB / 1.021 GB, free: 41.45 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01554/1.947, allocations: 11.13 MB / 1.032 GB, free: 31.81 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.947, allocations: 3.875 kB / 1.032 GB, free: 31.81 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00706/1.954, allocations: 4.496 MB / 1.036 GB, free: 27.79 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004032/1.958, allocations: 0.6559 MB / 1.037 GB, free: 27.27 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1581/2.116, allocations: 15.08 MB / 1.051 GB, free: 94.62 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008113/2.124, allocations: 5.971 MB / 1.057 GB, free: 93.73 MB / 442.8 MB Notification: Performance of SimCode: time 7.21e-07/2.124, allocations: 0 / 1.057 GB, free: 93.73 MB / 442.8 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)