Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.285/1.285, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0008438/0.0008438, allocations: 94.41 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002595, allocations: 8 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2119, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3204/0.5324, allocations: 115 MB / 0.5044 GB, free: 46.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.5327, allocations: 96.34 kB / 0.5045 GB, free: 46.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2785/0.8112, allocations: 127.9 MB / 0.6294 GB, free: 4.648 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.8112, allocations: 0 / 0.6294 GB, free: 4.648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003915/0.8116, allocations: 140 kB / 0.6295 GB, free: 4.512 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: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.02535/0.837, allocations: 7.492 MB / 0.6369 GB, free: 12.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.8371, allocations: 12.03 kB / 0.6369 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/0.8495, allocations: 2.745 MB / 0.6395 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01884/0.8684, allocations: 7.199 MB / 0.6466 GB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006413/0.8691, allocations: 0.5097 MB / 0.6471 GB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003746/0.8729, allocations: 0.6989 MB / 0.6478 GB, free: 1.668 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4459/1.319, allocations: 17.22 MB / 0.6646 GB, free: 64.93 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005698/1.319, allocations: 80.16 kB / 0.6647 GB, free: 64.93 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003518/1.323, allocations: 328.3 kB / 0.665 GB, free: 64.93 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002744/1.326, allocations: 1.493 MB / 0.6664 GB, free: 64.92 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03122/1.357, allocations: 14.47 MB / 0.6806 GB, free: 64.87 MB / 442.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.08321/1.44, allocations: 72.88 MB / 0.7517 GB, free: 39.13 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01969/1.46, allocations: 7.771 MB / 0.7593 GB, free: 36.84 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02243/1.482, allocations: 16.5 MB / 0.7754 GB, free: 28.51 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/1.482, allocations: 60.31 kB / 0.7755 GB, free: 28.45 MB / 458.8 MB Notification: Performance of pre-optimization done (n=266): time 7.714e-06/1.482, allocations: 0 / 0.7755 GB, free: 28.45 MB / 458.8 MB Notification: Performance of matching and sorting (n=340): time 0.1272/1.61, allocations: 45.4 MB / 0.8198 GB, free: 15.61 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02381/1.634, allocations: 16.1 MB / 0.8356 GB, free: 1.68 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2506/1.884, allocations: 4.987 MB / 0.8404 GB, free: 98.02 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009199/1.885, allocations: 78.73 kB / 0.8405 GB, free: 97.98 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002852/1.888, allocations: 4.682 MB / 0.8451 GB, free: 96.51 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00176/1.89, allocations: 1.267 MB / 0.8463 GB, free: 95.77 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007594/1.891, allocations: 182.1 kB / 0.8465 GB, free: 95.77 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0004072/1.891, allocations: 0.6929 MB / 0.8472 GB, free: 95.45 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005201/1.896, allocations: 4.069 MB / 0.8511 GB, free: 95.43 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008975/1.905, allocations: 9.22 MB / 0.8601 GB, free: 88.83 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008691/1.914, allocations: 6.012 MB / 0.866 GB, free: 88.77 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001519/1.914, allocations: 53.53 kB / 0.8661 GB, free: 88.77 MB / 474.8 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03869/1.953, allocations: 17.83 MB / 0.8835 GB, free: 87.49 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002877/1.953, allocations: 82.88 kB / 0.8835 GB, free: 87.49 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004392/1.954, allocations: 181 kB / 0.8837 GB, free: 87.49 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01626/1.97, allocations: 4.973 MB / 0.8886 GB, free: 87.43 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006987/1.977, allocations: 1.982 MB / 0.8905 GB, free: 87.25 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0456/2.023, allocations: 38.29 MB / 0.9279 GB, free: 68.24 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009705/2.032, allocations: 0.5398 MB / 0.9284 GB, free: 68.07 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002744/2.035, allocations: 0.5528 MB / 0.929 GB, free: 68 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 62 (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],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[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 {(3,100.0%) 38,(2,100.0%) 23,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.01002/2.045, allocations: 3.231 MB / 0.9321 GB, free: 66.49 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001985/2.047, allocations: 0.526 MB / 0.9326 GB, free: 66.2 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02407/2.071, allocations: 10.45 MB / 0.9428 GB, free: 60.75 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.002e-05/2.071, allocations: 45.17 kB / 0.9429 GB, free: 60.71 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0202/2.092, allocations: 9.528 MB / 0.9522 GB, free: 53.06 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.787e-05/2.092, allocations: 16.41 kB / 0.9522 GB, free: 53.06 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04621/2.138, allocations: 23.14 MB / 0.9748 GB, free: 34.55 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/2.138, allocations: 7.188 kB / 0.9748 GB, free: 34.54 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/2.141, allocations: 443.6 kB / 0.9752 GB, free: 34.21 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01164/2.152, allocations: 3.701 MB / 0.9788 GB, free: 31.7 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007232/2.153, allocations: 59.75 kB / 0.9789 GB, free: 31.64 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2777/2.431, allocations: 28.22 MB / 1.006 GB, free: 82.81 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01633/2.447, allocations: 12.67 MB / 1.019 GB, free: 80.05 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0248/2.472, allocations: 14.67 MB / 1.033 GB, free: 78.93 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/2.474, allocations: 0.5567 MB / 1.034 GB, free: 78.83 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/2.475, allocations: 58.34 kB / 1.034 GB, free: 78.83 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003627/2.479, allocations: 220.5 kB / 1.034 GB, free: 78.83 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/2.48, allocations: 229.2 kB / 1.034 GB, free: 78.82 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003495/2.481, allocations: 92.44 kB / 1.034 GB, free: 78.82 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.006645/2.487, allocations: 3.485 MB / 1.038 GB, free: 78.64 MB / 474.8 MB Notification: Performance of sort global known variables: time 5.81e-07/2.487, allocations: 0 / 1.038 GB, free: 78.64 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01029/2.498, allocations: 2.03 MB / 1.04 GB, free: 78.64 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * 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 (206): * Single equations (assignments): 198 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.00126/2.499, allocations: 272.6 kB / 1.04 GB, free: 78.55 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01563/2.514, allocations: 10.74 MB / 1.05 GB, free: 77.61 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/2.515, allocations: 2.562 kB / 1.05 GB, free: 77.61 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006251/2.521, allocations: 4.208 MB / 1.055 GB, free: 77.05 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005102/2.526, allocations: 0.7519 MB / 1.055 GB, free: 77.03 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03764/2.564, allocations: 18.71 MB / 1.074 GB, free: 69.37 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01225/2.576, allocations: 5.081 MB / 1.078 GB, free: 67.69 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01083/2.587, allocations: 2.717 MB / 1.081 GB, free: 67.63 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002482/2.589, allocations: 345 kB / 1.081 GB, free: 67.62 MB / 474.8 MB Notification: Performance of SimCode: time 1.823e-06/2.589, allocations: 7.344 kB / 1.081 GB, free: 67.62 MB / 474.8 MB Notification: Performance of Templates: time 0.1477/2.737, allocations: 87.71 MB / 1.167 GB, free: 3.602 MB / 474.8 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches