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.001723/0.001723, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.5 MB / 230.3 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008947/0.0008947, allocations: 90.25 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.631e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 50.41 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.5151, allocations: 113.7 MB / 0.4894 GB, free: 13.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.5155, allocations: 87.95 kB / 0.4895 GB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6668/1.182, allocations: 131.2 MB / 0.6176 GB, free: 88.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.861e-06/1.182, allocations: 0 / 0.6176 GB, free: 88.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007424/1.183, allocations: 152.2 kB / 0.6178 GB, free: 88.53 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.03447/1.218, allocations: 7.125 MB / 0.6247 GB, free: 81.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/1.218, allocations: 8.031 kB / 0.6247 GB, free: 81.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0202/1.238, allocations: 3.006 MB / 0.6277 GB, free: 78.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02574/1.264, allocations: 7.289 MB / 0.6348 GB, free: 71.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005424/1.264, allocations: 244 kB / 0.635 GB, free: 71.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004025/1.268, allocations: 443.9 kB / 0.6354 GB, free: 70.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02695/1.295, allocations: 10.46 MB / 0.6457 GB, free: 60.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04266/1.338, allocations: 15.06 MB / 0.6604 GB, free: 44.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005826/1.339, allocations: 83.19 kB / 0.6604 GB, free: 44.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003755/1.342, allocations: 40 kB / 0.6605 GB, free: 44.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003237/1.346, allocations: 1.558 MB / 0.662 GB, free: 42.5 MB / 426.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.4011/1.747, allocations: 73.51 MB / 0.7338 GB, free: 56.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004895/1.752, allocations: 4.083 MB / 0.7378 GB, free: 56.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003353/1.755, allocations: 2.713 MB / 0.7404 GB, free: 56.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/1.756, allocations: 1.358 MB / 0.7417 GB, free: 55.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/1.756, allocations: 66.41 kB / 0.7418 GB, free: 55.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 5.811e-06/1.756, allocations: 0 / 0.7418 GB, free: 55.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=299): time 0.1451/1.902, allocations: 44.5 MB / 0.7853 GB, free: 49.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/1.902, allocations: 158.9 kB / 0.7854 GB, free: 48.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009662/1.911, allocations: 4.36 MB / 0.7897 GB, free: 47.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001026/1.913, allocations: 25.7 kB / 0.7897 GB, free: 47.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003553/1.916, allocations: 4.919 MB / 0.7945 GB, free: 43.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001813/1.918, allocations: 1.098 MB / 0.7956 GB, free: 42.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006723/1.919, allocations: 3.094 kB / 0.7956 GB, free: 42.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004432/1.919, allocations: 0.6756 MB / 0.7962 GB, free: 42.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004632/1.924, allocations: 3.764 MB / 0.7999 GB, free: 40.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007728/1.931, allocations: 8.955 MB / 0.8087 GB, free: 31.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00914/1.941, allocations: 5.634 MB / 0.8142 GB, free: 27.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002167/1.941, allocations: 52 kB / 0.8142 GB, free: 27.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.07242/2.013, allocations: 22.73 MB / 0.8364 GB, free: 10.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002927/2.014, allocations: 86.73 kB / 0.8365 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004303/2.014, allocations: 188 kB / 0.8367 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01461/2.029, allocations: 5.395 MB / 0.8419 GB, free: 4.902 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008035/2.037, allocations: 2.082 MB / 0.844 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04614/2.083, allocations: 30.58 MB / 0.8738 GB, free: 3.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009714/2.093, allocations: 451 kB / 0.8743 GB, free: 3.039 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003041/2.096, allocations: 0.5118 MB / 0.8748 GB, free: 2.527 MB / 474.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.004125/2.1, allocations: 0.5849 MB / 0.8753 GB, free: 1.934 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001871/2.102, allocations: 485.7 kB / 0.8758 GB, free: 1.453 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06339/2.165, allocations: 16.99 MB / 0.8924 GB, free: 380 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001105/2.165, allocations: 47.89 kB / 0.8924 GB, free: 336 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.084e-05/2.166, allocations: 12 kB / 0.8925 GB, free: 324 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.764e-05/2.166, allocations: 11.95 kB / 0.8925 GB, free: 312 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.389/2.555, allocations: 26.51 MB / 0.9184 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-05/2.555, allocations: 0 / 0.9184 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003544/2.558, allocations: 0.5341 MB / 0.9189 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01744/2.576, allocations: 5.134 MB / 0.9239 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001166/2.577, allocations: 13.7 kB / 0.9239 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04036/2.617, allocations: 30.12 MB / 0.9533 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/2.617, allocations: 0 / 0.9533 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06506/2.683, allocations: 21.97 MB / 0.9748 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/2.685, allocations: 0.495 MB / 0.9753 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002372/2.687, allocations: 16.58 kB / 0.9753 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004932/2.692, allocations: 253.5 kB / 0.9755 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00133/2.693, allocations: 174 kB / 0.9757 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007178/2.694, allocations: 83.48 kB / 0.9758 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007116/2.701, allocations: 2.894 MB / 0.9786 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.51e-07/2.701, allocations: 3.219 kB / 0.9786 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01412/2.715, allocations: 1.658 MB / 0.9802 GB, free: 122.6 MB / 0.4948 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.001844/2.717, allocations: 228 kB / 0.9804 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02927/2.746, allocations: 10.49 MB / 0.9907 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/2.747, allocations: 0 / 0.9907 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01636/2.763, allocations: 4.967 MB / 0.9955 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006628/2.77, allocations: 0.6263 MB / 0.9961 GB, free: 115 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03262/2.802, allocations: 14.06 MB / 1.01 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009488/2.812, allocations: 5.169 MB / 1.015 GB, free: 98.98 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008154/2.82, allocations: 2.778 MB / 1.018 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/2.821, allocations: 315 kB / 1.018 GB, free: 96.96 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/2.821, allocations: 4 kB / 1.018 GB, free: 96.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.3735/3.195, allocations: 80.74 MB / 1.097 GB, free: 133.3 MB / 0.4948 GB 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