Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.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.PrismaticConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",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.001068/0.001068, allocations: 203.2 kB / 8.541 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.195/1.195, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000922/0.0009221, allocations: 92.97 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09358/0.09453, allocations: 56.9 MB / 343.2 MB, free: 8.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07938/0.1739, allocations: 51.48 MB / 394.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.23/0.404, allocations: 114 MB / 0.4968 GB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4043, allocations: 84.02 kB / 0.4968 GB, free: 11.55 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: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.4639/0.8681, allocations: 140.7 MB / 0.6342 GB, free: 72.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.8682, allocations: 7.875 kB / 0.6342 GB, free: 72.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.88, allocations: 2.62 MB / 0.6368 GB, free: 71.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/0.895, allocations: 6.683 MB / 0.6433 GB, free: 68.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.8953, allocations: 241.5 kB / 0.6435 GB, free: 68.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/0.8967, allocations: 448.8 kB / 0.644 GB, free: 68.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01579/0.9125, allocations: 10.77 MB / 0.6545 GB, free: 65.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/0.9301, allocations: 15.36 MB / 0.6695 GB, free: 57.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001918/0.9303, allocations: 82.27 kB / 0.6695 GB, free: 57.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007637/0.9311, allocations: 38.88 kB / 0.6696 GB, free: 57.24 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001787/0.9329, allocations: 1.648 MB / 0.6712 GB, free: 56.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1845/1.117, allocations: 74.69 MB / 0.7441 GB, free: 79.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/1.121, allocations: 3.888 MB / 0.7479 GB, free: 79.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/1.124, allocations: 2.971 MB / 0.7508 GB, free: 79.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01266/1.137, allocations: 10.09 MB / 0.7607 GB, free: 76.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/1.137, allocations: 56 kB / 0.7607 GB, free: 76.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=247): time 4.478e-06/1.137, allocations: 0 / 0.7607 GB, free: 76.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=293): time 0.1347/1.272, allocations: 40.5 MB / 0.8003 GB, free: 68.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/1.272, allocations: 155.8 kB / 0.8004 GB, free: 68.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006556/1.278, allocations: 4.418 MB / 0.8047 GB, free: 66.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005485/1.279, allocations: 25.7 kB / 0.8048 GB, free: 66.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/1.281, allocations: 4.503 MB / 0.8092 GB, free: 63.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/1.282, allocations: 1.085 MB / 0.8102 GB, free: 62.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004352/1.282, allocations: 0 / 0.8102 GB, free: 62.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003444/1.283, allocations: 0.6797 MB / 0.8109 GB, free: 61.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00453/1.287, allocations: 3.84 MB / 0.8146 GB, free: 60.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006241/1.293, allocations: 9.022 MB / 0.8234 GB, free: 52.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006628/1.3, allocations: 5.755 MB / 0.8291 GB, free: 50.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-05/1.3, allocations: 55.56 kB / 0.8291 GB, free: 50.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.07018/1.37, allocations: 20.47 MB / 0.8491 GB, free: 40.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.37, allocations: 8 kB / 0.8491 GB, free: 40.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/1.371, allocations: 184 kB / 0.8493 GB, free: 40.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01595/1.386, allocations: 4.941 MB / 0.8541 GB, free: 36.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007369/1.394, allocations: 2.021 MB / 0.8561 GB, free: 35.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03824/1.432, allocations: 28.85 MB / 0.8843 GB, free: 8.984 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007579/1.44, allocations: 337.6 kB / 0.8846 GB, free: 8.715 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009489/1.441, allocations: 0.5066 MB / 0.8851 GB, free: 8.211 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 67 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1066): * Single equations (assignments): 1055 * 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 {(5,60.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.001248/1.442, allocations: 0.5854 MB / 0.8857 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007255/1.443, allocations: 493.6 kB / 0.8861 GB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1742/1.617, allocations: 14.78 MB / 0.9006 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-05/1.617, allocations: 39.44 kB / 0.9006 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/1.617, allocations: 11.34 kB / 0.9006 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.8e-05/1.617, allocations: 16.5 kB / 0.9006 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07451/1.692, allocations: 23.86 MB / 0.9239 GB, free: 99.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.869e-05/1.692, allocations: 3.312 kB / 0.9239 GB, free: 99.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003287/1.695, allocations: 479.6 kB / 0.9244 GB, free: 99.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01567/1.711, allocations: 4.69 MB / 0.929 GB, free: 99.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005891/1.711, allocations: 17.7 kB / 0.929 GB, free: 99.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03886/1.75, allocations: 28.41 MB / 0.9567 GB, free: 85.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.75, allocations: 0 / 0.9567 GB, free: 85.13 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06731/1.817, allocations: 19.81 MB / 0.9761 GB, free: 79.35 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06913/1.887, allocations: 24.83 MB / 1 GB, free: 71.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.888, allocations: 0.495 MB / 1.001 GB, free: 71.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009543/1.889, allocations: 3.094 kB / 1.001 GB, free: 71.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003121/1.892, allocations: 156.4 kB / 1.001 GB, free: 71.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005185/1.893, allocations: 133.9 kB / 1.001 GB, free: 71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004259/1.893, allocations: 75.83 kB / 1.001 GB, free: 70.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.004189/1.897, allocations: 2.961 MB / 1.004 GB, free: 68.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008136/1.905, allocations: 1.656 MB / 1.006 GB, free: 66.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (jointPrismatic_x.s,jointPrismatic_x.v,jointPrismatic_y.s,jointPrismatic_y.v,bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 201 * 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 {(5,60.0%) 4,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 1,(2,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008846/1.906, allocations: 247.4 kB / 1.006 GB, free: 66.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01704/1.923, allocations: 10.24 MB / 1.016 GB, free: 57.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.923, allocations: 3.469 kB / 1.016 GB, free: 57.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009754/1.933, allocations: 4.62 MB / 1.02 GB, free: 53.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/1.936, allocations: 0.6098 MB / 1.021 GB, free: 53.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0239/1.96, allocations: 14.3 MB / 1.035 GB, free: 39.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006096/1.966, allocations: 5.517 MB / 1.04 GB, free: 34.34 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/1.966, allocations: 0 / 1.04 GB, free: 34.34 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)