Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.RevoluteConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",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.001147/0.001147, allocations: 202.7 kB / 8.54 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.176/1.176, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009178/0.0009178, allocations: 95.95 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09027/0.09122, allocations: 56.9 MB / 343.2 MB, free: 8.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07778/0.169, allocations: 51.48 MB / 394.7 MB, free: 5.07 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2332/0.4022, allocations: 114.6 MB / 0.4973 GB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.4025, allocations: 89.8 kB / 0.4974 GB, free: 10.93 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: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.4555/0.858, allocations: 134.2 MB / 0.6285 GB, free: 56.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.8581, allocations: 9.281 kB / 0.6285 GB, free: 56.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009017/0.8671, allocations: 2.293 MB / 0.6308 GB, free: 56.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.8797, allocations: 6.547 MB / 0.6372 GB, free: 55.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.8799, allocations: 225.6 kB / 0.6374 GB, free: 55.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.881, allocations: 415.5 kB / 0.6378 GB, free: 55.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01445/0.8955, allocations: 10.33 MB / 0.6479 GB, free: 54.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/0.9124, allocations: 14.81 MB / 0.6623 GB, free: 47.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001964/0.9126, allocations: 82.08 kB / 0.6624 GB, free: 47.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000764/0.9134, allocations: 48.41 kB / 0.6625 GB, free: 47.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001876/0.9153, allocations: 1.573 MB / 0.664 GB, free: 46.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06532/0.9806, allocations: 73.61 MB / 0.7359 GB, free: 2.484 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009291/0.9899, allocations: 5.063 MB / 0.7408 GB, free: 14.85 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004323/0.9943, allocations: 3.876 MB / 0.7446 GB, free: 10.97 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1361/1.13, allocations: 11.31 MB / 0.7556 GB, free: 148.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.13, allocations: 56.69 kB / 0.7557 GB, free: 148.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=266): time 4.859e-06/1.13, allocations: 0 / 0.7557 GB, free: 148.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=349): time 0.09222/1.223, allocations: 40.85 MB / 0.7956 GB, free: 144.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/1.223, allocations: 164.5 kB / 0.7957 GB, free: 144.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005119/1.228, allocations: 4.445 MB / 0.8001 GB, free: 143.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003316/1.228, allocations: 25.7 kB / 0.8001 GB, free: 143.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001582/1.23, allocations: 4.323 MB / 0.8043 GB, free: 141.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.231, allocations: 1.257 MB / 0.8056 GB, free: 140.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000427/1.231, allocations: 0 / 0.8056 GB, free: 140.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003493/1.232, allocations: 0.6987 MB / 0.8062 GB, free: 140 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/1.236, allocations: 4.049 MB / 0.8102 GB, free: 139 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007016/1.243, allocations: 9.296 MB / 0.8193 GB, free: 130.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00739/1.251, allocations: 6.118 MB / 0.8252 GB, free: 128.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.636e-05/1.251, allocations: 55.16 kB / 0.8253 GB, free: 128.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=1209) (initialization): time 0.03384/1.285, allocations: 17.01 MB / 0.8419 GB, free: 123.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.285, allocations: 6.75 kB / 0.8419 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001454/1.285, allocations: 187.2 kB / 0.8421 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01819/1.303, allocations: 5.125 MB / 0.8471 GB, free: 122.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006399/1.31, allocations: 2.019 MB / 0.8491 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04103/1.351, allocations: 33.27 MB / 0.8816 GB, free: 92.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008015/1.359, allocations: 323.9 kB / 0.8819 GB, free: 92.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008122/1.359, allocations: 0.5779 MB / 0.8824 GB, free: 91.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 62 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (1075): * Single equations (assignments): 1064 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.001146/1.361, allocations: 0.5736 MB / 0.883 GB, free: 91.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006794/1.361, allocations: 0.4956 MB / 0.8835 GB, free: 90.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02117/1.382, allocations: 10.26 MB / 0.8935 GB, free: 82.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-05/1.383, allocations: 49.17 kB / 0.8935 GB, free: 82.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01886/1.401, allocations: 9.346 MB / 0.9027 GB, free: 74.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/1.401, allocations: 19.94 kB / 0.9027 GB, free: 74.49 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03761/1.439, allocations: 21.73 MB / 0.9239 GB, free: 52.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/1.439, allocations: 4.375 kB / 0.9239 GB, free: 52.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/1.442, allocations: 431.4 kB / 0.9243 GB, free: 52.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01304/1.455, allocations: 3.554 MB / 0.9278 GB, free: 48.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004463/1.455, allocations: 23.53 kB / 0.9278 GB, free: 48.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03127/1.486, allocations: 24.12 MB / 0.9514 GB, free: 24.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1424/1.629, allocations: 10.67 MB / 0.9618 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02474/1.654, allocations: 14.6 MB / 0.976 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02896/1.683, allocations: 19.43 MB / 0.995 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/1.684, allocations: 0.5178 MB / 0.9955 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008469/1.684, allocations: 7.469 kB / 0.9955 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/1.687, allocations: 111.1 kB / 0.9956 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004612/1.688, allocations: 166.6 kB / 0.9958 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003683/1.688, allocations: 89.88 kB / 0.9959 GB, free: 126.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003871/1.692, allocations: 2.997 MB / 0.9988 GB, free: 125.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008239/1.7, allocations: 1.766 MB / 1.001 GB, free: 125.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 207 * 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 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.000713/1.701, allocations: 240.2 kB / 1.001 GB, free: 125.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01197/1.713, allocations: 10.15 MB / 1.011 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.713, allocations: 0 / 1.011 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005083/1.718, allocations: 3.932 MB / 1.015 GB, free: 119.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/1.721, allocations: 0.6201 MB / 1.015 GB, free: 119.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/1.744, allocations: 13.49 MB / 1.028 GB, free: 114.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006827/1.751, allocations: 5.41 MB / 1.034 GB, free: 112.9 MB / 474.7 MB Notification: Performance of SimCode: time 7.91e-07/1.751, allocations: 0 / 1.034 GB, free: 112.9 MB / 474.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)