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.001413/0.001413, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.334/1.334, allocations: 223.2 MB / 240.3 MB, free: 11.87 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.0009116/0.0009118, allocations: 95.91 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002308/0.0002308, allocations: 11.94 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2051, allocations: 50.4 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3174/0.5225, allocations: 114.5 MB / 0.5039 GB, free: 46.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.5228, allocations: 93.23 kB / 0.504 GB, free: 46.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3069/0.8296, allocations: 134.4 MB / 0.6352 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.8297, allocations: 0 / 0.6352 GB, free: 14.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005329/0.8302, allocations: 151.9 kB / 0.6354 GB, free: 14.49 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.02638/0.8566, allocations: 7.546 MB / 0.6428 GB, free: 6.863 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.8567, allocations: 12.02 kB / 0.6428 GB, free: 6.852 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/0.8704, allocations: 3.009 MB / 0.6457 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02106/0.8915, allocations: 7.318 MB / 0.6529 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006229/0.8922, allocations: 0.5536 MB / 0.6534 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003509/0.8957, allocations: 0.7379 MB / 0.6541 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2498/1.146, allocations: 18.09 MB / 0.6718 GB, free: 63.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002441/1.146, allocations: 77.75 kB / 0.6719 GB, free: 63.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/1.147, allocations: 350.8 kB / 0.6722 GB, free: 63.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001734/1.149, allocations: 1.558 MB / 0.6737 GB, free: 63.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02797/1.177, allocations: 14.82 MB / 0.6882 GB, free: 63.68 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.08166/1.258, allocations: 74.62 MB / 0.7611 GB, free: 36.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02007/1.278, allocations: 7.77 MB / 0.7686 GB, free: 34.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02037/1.299, allocations: 14.57 MB / 0.7829 GB, free: 26.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/1.299, allocations: 57.81 kB / 0.7829 GB, free: 26.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=247): time 5.361e-06/1.299, allocations: 0 / 0.7829 GB, free: 26.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=293): time 0.1837/1.483, allocations: 54.82 MB / 0.8365 GB, free: 5.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/1.483, allocations: 154.5 kB / 0.8366 GB, free: 5.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008891/1.492, allocations: 5.041 MB / 0.8415 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000744/1.492, allocations: 73.06 kB / 0.8416 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2408/1.733, allocations: 4.877 MB / 0.8464 GB, free: 94.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001693/1.735, allocations: 1.118 MB / 0.8475 GB, free: 94.01 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007474/1.736, allocations: 173.7 kB / 0.8476 GB, free: 94.01 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003887/1.736, allocations: 0.6725 MB / 0.8483 GB, free: 93.69 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004954/1.741, allocations: 3.951 MB / 0.8521 GB, free: 93.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007386/1.749, allocations: 9.047 MB / 0.861 GB, free: 87.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007769/1.756, allocations: 5.767 MB / 0.8666 GB, free: 87.08 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001416/1.757, allocations: 52.62 kB / 0.8667 GB, free: 87.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.07173/1.828, allocations: 23.92 MB / 0.89 GB, free: 86.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000148/1.828, allocations: 83.16 kB / 0.8901 GB, free: 86.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000266/1.829, allocations: 186.8 kB / 0.8903 GB, free: 86.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01503/1.844, allocations: 5.438 MB / 0.8956 GB, free: 85.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007158/1.851, allocations: 2.038 MB / 0.8976 GB, free: 85.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.041/1.892, allocations: 34.47 MB / 0.9312 GB, free: 69.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009067/1.901, allocations: 0.6001 MB / 0.9318 GB, free: 69.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00234/1.903, allocations: 0.5027 MB / 0.9323 GB, free: 69.29 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.007344/1.911, allocations: 3.295 MB / 0.9355 GB, free: 67.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/1.912, allocations: 0.515 MB / 0.936 GB, free: 67.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05766/1.97, allocations: 17.35 MB / 0.953 GB, free: 58.37 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.785e-05/1.97, allocations: 40 kB / 0.953 GB, free: 58.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.429e-05/1.97, allocations: 15.91 kB / 0.953 GB, free: 58.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.669e-05/1.97, allocations: 13.55 kB / 0.953 GB, free: 58.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07324/2.043, allocations: 27.94 MB / 0.9803 GB, free: 36.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/2.043, allocations: 3.625 kB / 0.9803 GB, free: 36.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002967/2.046, allocations: 0.5299 MB / 0.9808 GB, free: 35.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01412/2.06, allocations: 5.195 MB / 0.9859 GB, free: 30.81 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006613/2.061, allocations: 55.98 kB / 0.986 GB, free: 30.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2845/2.345, allocations: 33.99 MB / 1.019 GB, free: 78.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/2.345, allocations: 3.969 kB / 1.019 GB, free: 78.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06183/2.407, allocations: 22.27 MB / 1.041 GB, free: 77.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002004/2.409, allocations: 0.5387 MB / 1.041 GB, free: 77.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009874/2.41, allocations: 48.45 kB / 1.041 GB, free: 77.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003024/2.413, allocations: 304.4 kB / 1.042 GB, free: 77.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007428/2.414, allocations: 177.4 kB / 1.042 GB, free: 77.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002678/2.414, allocations: 74.98 kB / 1.042 GB, free: 77.29 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005754/2.42, allocations: 3.502 MB / 1.045 GB, free: 77.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.42, allocations: 0 / 1.045 GB, free: 77.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009897/2.43, allocations: 1.863 MB / 1.047 GB, free: 77.11 MB / 474.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.001017/2.431, allocations: 265.9 kB / 1.048 GB, free: 77.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01969/2.451, allocations: 11.02 MB / 1.058 GB, free: 76.15 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/2.451, allocations: 0 / 1.058 GB, free: 76.15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01099/2.462, allocations: 5.132 MB / 1.063 GB, free: 75.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/2.467, allocations: 0.7492 MB / 1.064 GB, free: 75.28 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03315/2.5, allocations: 19.69 MB / 1.083 GB, free: 68.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006935/2.507, allocations: 5.173 MB / 1.088 GB, free: 66.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007648/2.514, allocations: 2.691 MB / 1.091 GB, free: 66.19 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/2.516, allocations: 334.8 kB / 1.091 GB, free: 66.18 MB / 474.7 MB Notification: Performance of SimCode: time 2.244e-06/2.516, allocations: 0 / 1.091 GB, free: 66.18 MB / 474.7 MB Notification: Performance of Templates: time 0.1216/2.637, allocations: 86.65 MB / 1.176 GB, free: 428 kB / 474.7 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/jenkins/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