Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 195.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 226.5 MB / 245.3 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008165/0.0008163, allocations: 94.11 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002302/0.0002302, allocations: 4 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2411, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3388/0.5799, allocations: 114.9 MB / 0.5113 GB, free: 97.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.5802, allocations: 93.08 kB / 0.5114 GB, free: 97.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3056/0.8858, allocations: 134.8 MB / 0.643 GB, free: 14.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.8859, allocations: 0 / 0.643 GB, free: 14.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004749/0.8864, allocations: 152 kB / 0.6432 GB, free: 14.72 MB / 426.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.02934/0.9157, allocations: 7.397 MB / 0.6504 GB, free: 7.238 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.9158, allocations: 8.031 kB / 0.6504 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01519/0.931, allocations: 3.018 MB / 0.6533 GB, free: 4.199 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01687/0.9479, allocations: 5.998 MB / 0.6592 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007053/0.9487, allocations: 0.5579 MB / 0.6597 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003825/0.9525, allocations: 0.7344 MB / 0.6605 GB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.376/1.329, allocations: 17.89 MB / 0.6779 GB, free: 60.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006591/1.329, allocations: 82.53 kB / 0.678 GB, free: 60.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004082/1.333, allocations: 344.9 kB / 0.6783 GB, free: 60.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003004/1.336, allocations: 1.559 MB / 0.6799 GB, free: 60.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03638/1.373, allocations: 14.56 MB / 0.6941 GB, free: 60.6 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09875/1.472, allocations: 74.46 MB / 0.7668 GB, free: 17.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02349/1.495, allocations: 7.712 MB / 0.7743 GB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005616/1.501, allocations: 3.388 MB / 0.7776 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0289/1.53, allocations: 14.44 MB / 0.7917 GB, free: 5.918 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/1.53, allocations: 59.88 kB / 0.7918 GB, free: 5.863 MB / 442.7 MB Notification: Performance of pre-optimization done (n=247): time 5.901e-06/1.53, allocations: 0 / 0.7918 GB, free: 5.863 MB / 442.7 MB Notification: Performance of matching and sorting (n=293): time 0.2003/1.73, allocations: 54.17 MB / 0.8447 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.948e-05/1.73, allocations: 166.4 kB / 0.8449 GB, free: 324 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2804/2.011, allocations: 5.667 MB / 0.8504 GB, free: 94.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009022/2.012, allocations: 70.59 kB / 0.8505 GB, free: 94.44 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00465/2.016, allocations: 4.871 MB / 0.8552 GB, free: 92.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002006/2.018, allocations: 1.122 MB / 0.8563 GB, free: 92.31 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/2.02, allocations: 169.2 kB / 0.8565 GB, free: 92.31 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008823/2.021, allocations: 0.6672 MB / 0.8571 GB, free: 91.99 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01023/2.031, allocations: 3.955 MB / 0.861 GB, free: 91.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01592/2.047, allocations: 9.076 MB / 0.8698 GB, free: 85.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02372/2.071, allocations: 14.01 MB / 0.8835 GB, free: 78.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003329/2.071, allocations: 50.12 kB / 0.8836 GB, free: 78.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.1109/2.182, allocations: 23.96 MB / 0.907 GB, free: 75.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002448/2.182, allocations: 81.38 kB / 0.9071 GB, free: 75.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003592/2.183, allocations: 185.3 kB / 0.9072 GB, free: 75.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02447/2.207, allocations: 5.421 MB / 0.9125 GB, free: 74.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01143/2.219, allocations: 2.036 MB / 0.9145 GB, free: 74.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06699/2.286, allocations: 33.23 MB / 0.947 GB, free: 56.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/2.298, allocations: 0.6062 MB / 0.9476 GB, free: 56.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002693/2.301, allocations: 0.4912 MB / 0.948 GB, free: 56.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1042): * Single equations (assignments): 1031 * 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.01112/2.312, allocations: 3.298 MB / 0.9513 GB, free: 53.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002261/2.314, allocations: 0.5129 MB / 0.9518 GB, free: 53.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09009/2.404, allocations: 17.39 MB / 0.9687 GB, free: 41.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001004/2.404, allocations: 43.44 kB / 0.9688 GB, free: 41.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.507e-05/2.405, allocations: 15.23 kB / 0.9688 GB, free: 41.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.025e-05/2.405, allocations: 13.22 kB / 0.9688 GB, free: 41.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1048/2.509, allocations: 27.97 MB / 0.9961 GB, free: 17.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.904e-05/2.51, allocations: 11.56 kB / 0.9961 GB, free: 17.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003205/2.513, allocations: 0.5227 MB / 0.9966 GB, free: 16.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01524/2.528, allocations: 5.203 MB / 1.002 GB, free: 11.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006954/2.529, allocations: 48 kB / 1.002 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3075/2.836, allocations: 32.77 MB / 1.034 GB, free: 93.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/2.836, allocations: 3.438 kB / 1.034 GB, free: 93.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06125/2.898, allocations: 22.19 MB / 1.055 GB, free: 92.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/2.899, allocations: 0.5469 MB / 1.056 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0017/2.901, allocations: 56.38 kB / 1.056 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004409/2.905, allocations: 296.1 kB / 1.056 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001215/2.907, allocations: 174.5 kB / 1.056 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006704/2.907, allocations: 84.42 kB / 1.057 GB, free: 92.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007739/2.915, allocations: 3.501 MB / 1.06 GB, free: 92.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.915, allocations: 2.781 kB / 1.06 GB, free: 92.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01274/2.928, allocations: 1.875 MB / 1.062 GB, free: 92.02 MB / 490.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 () * Number of clocked 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 {(2,100.0%) 6,(5,60.0%) 4,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/2.929, allocations: 281.1 kB / 1.062 GB, free: 91.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02037/2.95, allocations: 11.01 MB / 1.073 GB, free: 90.33 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/2.95, allocations: 2.281 kB / 1.073 GB, free: 90.33 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01071/2.96, allocations: 5.134 MB / 1.078 GB, free: 88.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007475/2.968, allocations: 0.7764 MB / 1.079 GB, free: 87.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04067/3.009, allocations: 20.56 MB / 1.099 GB, free: 77.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01084/3.02, allocations: 5.023 MB / 1.104 GB, free: 76.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002328/3.022, allocations: 403.9 kB / 1.104 GB, free: 76.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/3.022, allocations: 0 / 1.104 GB, free: 76.23 MB / 490.7 MB Notification: Performance of Templates: time 0.931/3.953, allocations: 315.9 MB / 1.412 GB, free: 123.2 MB / 0.5105 GB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/PrismaticConstraint/PrismaticConstraint.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches