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: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.r_0.1.|bodyOfConstraint.r_0.2.|bodyOfConstraint.r_0.3.|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.r_0.1.|bodyOfConstraint.r_0.2.|bodyOfConstraint.r_0.3.|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") [: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.001013/0.001013, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.185/1.185, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008763/0.0008763, allocations: 92.34 kB / 286.3 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.091e-06/6.121e-06, allocations: 0 / 343.1 MB, free: 8.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09143/0.09145, allocations: 51.47 MB / 394.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2822/0.3737, allocations: 114 MB / 0.4967 GB, free: 11.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.374, allocations: 86.95 kB / 0.4968 GB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.4654/0.8394, allocations: 133.4 MB / 0.627 GB, free: 75.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003167/0.8397, allocations: 145 kB / 0.6271 GB, free: 75.56 MB / 442.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.02024/0.86, allocations: 7.137 MB / 0.6341 GB, free: 72.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.86, allocations: 11.44 kB / 0.6341 GB, free: 72.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.8719, allocations: 2.626 MB / 0.6367 GB, free: 71.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01617/0.8881, allocations: 6.673 MB / 0.6432 GB, free: 69.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003558/0.8885, allocations: 242 kB / 0.6434 GB, free: 69.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002573/0.8911, allocations: 447.4 kB / 0.6439 GB, free: 69.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0187/0.9098, allocations: 10.77 MB / 0.6544 GB, free: 65.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02832/0.9382, allocations: 15.35 MB / 0.6694 GB, free: 57.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002544/0.9385, allocations: 83.16 kB / 0.6694 GB, free: 57.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009876/0.9394, allocations: 40 kB / 0.6695 GB, free: 57.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001972/0.9414, allocations: 1.656 MB / 0.6711 GB, free: 57.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2738/1.215, allocations: 74.69 MB / 0.744 GB, free: 81.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004732/1.22, allocations: 3.884 MB / 0.7478 GB, free: 80.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003313/1.223, allocations: 2.975 MB / 0.7507 GB, free: 80.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01625/1.24, allocations: 10.07 MB / 0.7606 GB, free: 77.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/1.24, allocations: 63.34 kB / 0.7606 GB, free: 77.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=247): time 8.686e-06/1.24, allocations: 2.594 kB / 0.7606 GB, free: 77.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=293): time 0.1295/1.369, allocations: 40.49 MB / 0.8002 GB, free: 69.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/1.369, allocations: 162.9 kB / 0.8003 GB, free: 69.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008302/1.378, allocations: 4.417 MB / 0.8046 GB, free: 68.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007847/1.378, allocations: 27.67 kB / 0.8047 GB, free: 68.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003368/1.382, allocations: 4.506 MB / 0.8091 GB, free: 64.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0022/1.384, allocations: 1.082 MB / 0.8101 GB, free: 63.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006306/1.385, allocations: 0 / 0.8101 GB, free: 63.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000436/1.385, allocations: 0.6819 MB / 0.8108 GB, free: 63.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004851/1.39, allocations: 3.84 MB / 0.8145 GB, free: 61.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006987/1.397, allocations: 9.023 MB / 0.8234 GB, free: 53.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007469/1.405, allocations: 5.759 MB / 0.829 GB, free: 51.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001405/1.405, allocations: 56.03 kB / 0.829 GB, free: 51.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.07026/1.475, allocations: 20.46 MB / 0.849 GB, free: 42.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.475, allocations: 8 kB / 0.849 GB, free: 42.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002636/1.475, allocations: 184 kB / 0.8492 GB, free: 42.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01522/1.491, allocations: 4.948 MB / 0.854 GB, free: 38.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008096/1.499, allocations: 2.016 MB / 0.856 GB, free: 37.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03611/1.535, allocations: 28.85 MB / 0.8842 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008675/1.544, allocations: 341.4 kB / 0.8845 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001932/1.546, allocations: 0.5063 MB / 0.885 GB, free: 10.07 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.001823/1.547, allocations: 0.5809 MB / 0.8856 GB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/1.549, allocations: 493.6 kB / 0.886 GB, free: 8.992 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2219/1.771, allocations: 14.77 MB / 0.9005 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001326/1.771, allocations: 37.61 kB / 0.9005 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.78e-05/1.771, allocations: 13.75 kB / 0.9005 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.647e-05/1.771, allocations: 12.84 kB / 0.9005 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07203/1.843, allocations: 23.87 MB / 0.9238 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/1.843, allocations: 0 / 0.9238 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003071/1.846, allocations: 484.6 kB / 0.9243 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01408/1.86, allocations: 4.687 MB / 0.9289 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006424/1.861, allocations: 15.61 kB / 0.9289 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03643/1.897, allocations: 28.42 MB / 0.9566 GB, free: 86.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.897, allocations: 0 / 0.9566 GB, free: 86.56 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06197/1.959, allocations: 19.8 MB / 0.976 GB, free: 80.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.961, allocations: 0.4943 MB / 0.9765 GB, free: 80.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/1.962, allocations: 6.656 kB / 0.9765 GB, free: 80.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/1.965, allocations: 156.6 kB / 0.9766 GB, free: 80.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000485/1.966, allocations: 127.1 kB / 0.9767 GB, free: 80.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003174/1.966, allocations: 79.34 kB / 0.9768 GB, free: 80.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.004153/1.97, allocations: 2.955 MB / 0.9797 GB, free: 79.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008707/1.979, allocations: 1.65 MB / 0.9813 GB, free: 79.58 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.001139/1.98, allocations: 245.2 kB / 0.9815 GB, free: 79.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02032/2, allocations: 10.24 MB / 0.9916 GB, free: 75.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/2, allocations: 3.719 kB / 0.9916 GB, free: 75.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01071/2.011, allocations: 4.609 MB / 0.9961 GB, free: 73.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/2.015, allocations: 0.613 MB / 0.9967 GB, free: 73.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03191/2.047, allocations: 14.3 MB / 1.011 GB, free: 63.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009074/2.056, allocations: 5.502 MB / 1.016 GB, free: 59.51 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/2.056, allocations: 0 / 1.016 GB, free: 59.51 MB / 442.7 MB Notification: Performance of Templates: time 0.3125/2.369, allocations: 87.47 MB / 1.101 GB, free: 91.24 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (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 & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/PrismaticConstraint/PrismaticConstraint.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches