Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009589/0.000959, allocations: 173.2 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 223.3 MB / 241.4 MB, free: 9.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007628/0.0007627, allocations: 100.9 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.000386, allocations: 11.94 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.229, allocations: 50.41 MB / 402.8 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4302/0.6592, allocations: 114.7 MB / 0.5053 GB, free: 98.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/0.6596, allocations: 91.41 kB / 0.5054 GB, free: 98.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3076/0.9672, allocations: 132.6 MB / 0.6349 GB, free: 9.754 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.9672, allocations: 0 / 0.6349 GB, free: 9.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004612/0.9677, allocations: 147.9 kB / 0.6351 GB, free: 9.609 MB / 410.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.02762/0.9954, allocations: 7.3 MB / 0.6422 GB, free: 2.223 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.9954, allocations: 12.02 kB / 0.6422 GB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02262/1.018, allocations: 2.877 MB / 0.645 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02302/1.041, allocations: 6.185 MB / 0.651 GB, free: 9.051 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008641/1.042, allocations: 0.554 MB / 0.6516 GB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003736/1.046, allocations: 0.7422 MB / 0.6523 GB, free: 7.754 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5999/1.646, allocations: 17.88 MB / 0.6698 GB, free: 50.95 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004137/1.646, allocations: 88.27 kB / 0.6699 GB, free: 50.95 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001953/1.648, allocations: 347 kB / 0.6702 GB, free: 50.95 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002992/1.651, allocations: 1.556 MB / 0.6717 GB, free: 50.94 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04807/1.699, allocations: 14.56 MB / 0.6859 GB, free: 50.89 MB / 426.8 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.0888/1.788, allocations: 74.46 MB / 0.7586 GB, free: 21.75 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/1.808, allocations: 7.712 MB / 0.7662 GB, free: 19.56 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003834/1.811, allocations: 3.384 MB / 0.7695 GB, free: 18.13 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01915/1.831, allocations: 14.44 MB / 0.7836 GB, free: 10.61 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/1.831, allocations: 65.45 kB / 0.7836 GB, free: 10.56 MB / 442.8 MB Notification: Performance of pre-optimization done (n=247): time 5.039e-06/1.831, allocations: 0 / 0.7836 GB, free: 10.56 MB / 442.8 MB Notification: Performance of matching and sorting (n=293): time 0.3878/2.218, allocations: 54.42 MB / 0.8368 GB, free: 96.83 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/2.219, allocations: 156.4 kB / 0.8369 GB, free: 96.68 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006526/2.225, allocations: 5.669 MB / 0.8425 GB, free: 96.36 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005618/2.226, allocations: 67.45 kB / 0.8425 GB, free: 96.33 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002144/2.228, allocations: 4.878 MB / 0.8473 GB, free: 94.85 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/2.229, allocations: 1.112 MB / 0.8484 GB, free: 94.21 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/2.229, allocations: 178 kB / 0.8486 GB, free: 94.21 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0003146/2.23, allocations: 0.6682 MB / 0.8492 GB, free: 93.89 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004589/2.234, allocations: 3.96 MB / 0.8531 GB, free: 93.86 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006595/2.241, allocations: 9.076 MB / 0.8619 GB, free: 87.31 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/2.253, allocations: 14.02 MB / 0.8756 GB, free: 80.78 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/2.254, allocations: 49.78 kB / 0.8757 GB, free: 80.78 MB / 474.8 MB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.06068/2.314, allocations: 23.93 MB / 0.899 GB, free: 77.29 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/2.315, allocations: 87.66 kB / 0.8991 GB, free: 77.29 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003094/2.315, allocations: 177.2 kB / 0.8993 GB, free: 77.29 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01431/2.329, allocations: 5.424 MB / 0.9046 GB, free: 76.25 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007309/2.337, allocations: 2.024 MB / 0.9066 GB, free: 76.01 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03889/2.375, allocations: 33.23 MB / 0.939 GB, free: 58.17 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008033/2.384, allocations: 0.5992 MB / 0.9396 GB, free: 58.01 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001747/2.385, allocations: 0.5052 MB / 0.9401 GB, free: 57.72 MB / 474.8 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.007154/2.392, allocations: 3.299 MB / 0.9433 GB, free: 54.82 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/2.394, allocations: 0.5168 MB / 0.9438 GB, free: 54.29 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05166/2.446, allocations: 17.34 MB / 0.9608 GB, free: 42.49 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.117e-05/2.446, allocations: 43.28 kB / 0.9608 GB, free: 42.45 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.407e-05/2.446, allocations: 8 kB / 0.9608 GB, free: 42.45 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.861e-05/2.446, allocations: 17.88 kB / 0.9608 GB, free: 42.44 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06597/2.512, allocations: 27.95 MB / 0.9881 GB, free: 18.29 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.806e-05/2.512, allocations: 7.938 kB / 0.9881 GB, free: 18.28 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/2.515, allocations: 0.5226 MB / 0.9886 GB, free: 17.75 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01288/2.528, allocations: 5.195 MB / 0.9937 GB, free: 12.6 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006282/2.528, allocations: 52 kB / 0.9938 GB, free: 12.55 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2922/2.821, allocations: 32.76 MB / 1.026 GB, free: 79.95 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/2.821, allocations: 5.25 kB / 1.026 GB, free: 79.95 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06105/2.882, allocations: 22.16 MB / 1.047 GB, free: 79.16 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/2.883, allocations: 0.5422 MB / 1.048 GB, free: 79.07 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001295/2.885, allocations: 55.02 kB / 1.048 GB, free: 79.07 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003636/2.888, allocations: 303.3 kB / 1.048 GB, free: 79.07 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001013/2.889, allocations: 175 kB / 1.048 GB, free: 79.07 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/2.89, allocations: 74.83 kB / 1.049 GB, free: 79.07 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.005571/2.895, allocations: 3.502 MB / 1.052 GB, free: 78.89 MB / 474.8 MB Notification: Performance of sort global known variables: time 7.52e-07/2.895, allocations: 5.562 kB / 1.052 GB, free: 78.89 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.00889/2.904, allocations: 1.858 MB / 1.054 GB, free: 78.89 MB / 474.8 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.0008839/2.905, allocations: 266.6 kB / 1.054 GB, free: 78.8 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01806/2.923, allocations: 11.02 MB / 1.065 GB, free: 76.22 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/2.923, allocations: 3.594 kB / 1.065 GB, free: 76.22 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009558/2.933, allocations: 5.135 MB / 1.07 GB, free: 73.99 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005015/2.938, allocations: 0.7801 MB / 1.071 GB, free: 73.69 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02859/2.966, allocations: 19.73 MB / 1.09 GB, free: 64.33 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007853/2.974, allocations: 5.03 MB / 1.095 GB, free: 62.63 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.00787/2.982, allocations: 2.68 MB / 1.097 GB, free: 61.48 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001153/2.983, allocations: 335.4 kB / 1.098 GB, free: 61.16 MB / 474.8 MB Notification: Performance of SimCode: time 7.62e-07/2.983, allocations: 0 / 1.098 GB, free: 61.16 MB / 474.8 MB Notification: Performance of Templates: time 0.4521/3.435, allocations: 86.81 MB / 1.182 GB, free: 100.9 MB / 490.8 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches