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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009845/0.0009845, allocations: 86.97 kB / 286.7 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.104e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 51.47 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4359/0.5544, allocations: 114 MB / 0.4973 GB, free: 11.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004164/0.5549, allocations: 91.23 kB / 0.4974 GB, free: 11.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6117/1.167, allocations: 135 MB / 0.6292 GB, free: 75.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.167, allocations: 1.062 kB / 0.6292 GB, free: 75.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003402/1.167, allocations: 146.8 kB / 0.6294 GB, free: 75.49 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.02305/1.19, allocations: 7.225 MB / 0.6364 GB, free: 72.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.19, allocations: 7.844 kB / 0.6364 GB, free: 72.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/1.205, allocations: 3.139 MB / 0.6395 GB, free: 72.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01578/1.22, allocations: 6.661 MB / 0.646 GB, free: 69.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/1.221, allocations: 241.7 kB / 0.6462 GB, free: 69.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003309/1.224, allocations: 439.6 kB / 0.6466 GB, free: 69.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01771/1.242, allocations: 10.46 MB / 0.6569 GB, free: 65.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03497/1.277, allocations: 15.06 MB / 0.6716 GB, free: 57.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000373/1.277, allocations: 84.31 kB / 0.6716 GB, free: 57.92 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002111/1.279, allocations: 42.28 kB / 0.6717 GB, free: 57.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002084/1.282, allocations: 1.558 MB / 0.6732 GB, free: 57.62 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.3996/1.681, allocations: 73.5 MB / 0.745 GB, free: 50.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005109/1.686, allocations: 4.08 MB / 0.749 GB, free: 49.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003124/1.69, allocations: 2.718 MB / 0.7516 GB, free: 49.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/1.691, allocations: 1.358 MB / 0.7529 GB, free: 48.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/1.691, allocations: 58.03 kB / 0.753 GB, free: 48.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=253): time 5.691e-06/1.691, allocations: 3.438 kB / 0.753 GB, free: 48.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=299): time 0.1429/1.834, allocations: 44.56 MB / 0.7965 GB, free: 42.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/1.834, allocations: 158.6 kB / 0.7967 GB, free: 42.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006853/1.841, allocations: 4.359 MB / 0.8009 GB, free: 40.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007672/1.842, allocations: 25.7 kB / 0.8009 GB, free: 40.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002697/1.844, allocations: 4.914 MB / 0.8057 GB, free: 36.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.846, allocations: 1.1 MB / 0.8068 GB, free: 35.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004847/1.846, allocations: 0 / 0.8068 GB, free: 35.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004837/1.847, allocations: 0.6848 MB / 0.8075 GB, free: 35.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004522/1.851, allocations: 3.767 MB / 0.8112 GB, free: 33.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006831/1.858, allocations: 8.957 MB / 0.8199 GB, free: 25.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007168/1.865, allocations: 5.629 MB / 0.8254 GB, free: 23.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.757e-05/1.866, allocations: 56.61 kB / 0.8255 GB, free: 23.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.07037/1.936, allocations: 22.77 MB / 0.8477 GB, free: 18.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.901e-05/1.936, allocations: 88.06 kB / 0.8478 GB, free: 18.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001925/1.936, allocations: 184 kB / 0.848 GB, free: 18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01461/1.951, allocations: 5.402 MB / 0.8532 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007949/1.959, allocations: 2.086 MB / 0.8553 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05016/2.009, allocations: 30.97 MB / 0.8855 GB, free: 76 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008862/2.018, allocations: 455.1 kB / 0.886 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/2.02, allocations: 0.5149 MB / 0.8865 GB, free: 15.12 MB / 490.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 (1072): * Single equations (assignments): 1061 * 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.001573/2.022, allocations: 0.5744 MB / 0.887 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/2.023, allocations: 493.6 kB / 0.8875 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06201/2.085, allocations: 17.03 MB / 0.9041 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.104e-05/2.085, allocations: 36 kB / 0.9042 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.455e-05/2.085, allocations: 16 kB / 0.9042 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.392e-05/2.085, allocations: 11.95 kB / 0.9042 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08044/2.165, allocations: 26.54 MB / 0.9301 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/2.165, allocations: 4 kB / 0.9301 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003286/2.169, allocations: 0.5283 MB / 0.9306 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2954/2.464, allocations: 5.147 MB / 0.9357 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008482/2.465, allocations: 18.36 kB / 0.9357 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03919/2.504, allocations: 30.12 MB / 0.9651 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/2.504, allocations: 3.031 kB / 0.9651 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06727/2.572, allocations: 22 MB / 0.9866 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/2.573, allocations: 0.4981 MB / 0.9871 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/2.574, allocations: 7.703 kB / 0.9871 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00318/2.577, allocations: 257.4 kB / 0.9873 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000767/2.578, allocations: 187.3 kB / 0.9875 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/2.578, allocations: 74.67 kB / 0.9876 GB, free: 119 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00513/2.583, allocations: 2.896 MB / 0.9904 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/2.583, allocations: 0 / 0.9904 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009859/2.593, allocations: 1.674 MB / 0.992 GB, free: 117.9 MB / 0.5105 GB 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 (218): * 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: 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.0009565/2.594, allocations: 229 kB / 0.9922 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01771/2.612, allocations: 10.48 MB / 1.002 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/2.612, allocations: 0 / 1.002 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01009/2.622, allocations: 4.974 MB / 1.007 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004424/2.627, allocations: 0.6242 MB / 1.008 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0293/2.656, allocations: 14.07 MB / 1.022 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006986/2.663, allocations: 5.167 MB / 1.027 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006983/2.67, allocations: 2.772 MB / 1.029 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/2.671, allocations: 322.7 kB / 1.03 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.603e-06/2.671, allocations: 0 / 1.03 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.1088/2.78, allocations: 80.92 MB / 1.109 GB, free: 41.37 MB / 0.5105 GB 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