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.001064/0.001064, allocations: 176.7 kB / 17.4 MB, free: 4.422 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.259/1.259, allocations: 223.3 MB / 241.4 MB, free: 11.61 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.000785/0.0007849, allocations: 102.6 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003051, allocations: 8 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2029, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2806/0.4835, allocations: 115.3 MB / 0.5059 GB, free: 98.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.4838, allocations: 91.64 kB / 0.506 GB, free: 98.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2719/0.7557, allocations: 126.1 MB / 0.6291 GB, free: 15.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7558, allocations: 0 / 0.6291 GB, free: 15.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004113/0.7562, allocations: 140 kB / 0.6293 GB, free: 15.62 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.02317/0.7794, allocations: 7.141 MB / 0.6362 GB, free: 8.395 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.7795, allocations: 8.031 kB / 0.6362 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/0.7912, allocations: 2.679 MB / 0.6388 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01408/0.8053, allocations: 6.055 MB / 0.6448 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006144/0.8059, allocations: 0.5139 MB / 0.6453 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003151/0.8091, allocations: 0.6953 MB / 0.6459 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3987/1.208, allocations: 17.04 MB / 0.6626 GB, free: 53.69 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003653/1.208, allocations: 78.72 kB / 0.6627 GB, free: 53.69 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/1.21, allocations: 330.4 kB / 0.663 GB, free: 53.69 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001738/1.211, allocations: 1.49 MB / 0.6644 GB, free: 53.67 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02601/1.237, allocations: 14.24 MB / 0.6783 GB, free: 53.62 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.06884/1.306, allocations: 72.76 MB / 0.7494 GB, free: 26.34 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01775/1.324, allocations: 7.633 MB / 0.7568 GB, free: 24.06 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004235/1.328, allocations: 3.982 MB / 0.7607 GB, free: 22.4 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01999/1.348, allocations: 16.36 MB / 0.7767 GB, free: 14.11 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/1.348, allocations: 69.72 kB / 0.7768 GB, free: 14.05 MB / 442.8 MB Notification: Performance of pre-optimization done (n=266): time 6.102e-06/1.348, allocations: 0 / 0.7768 GB, free: 14.05 MB / 442.8 MB Notification: Performance of matching and sorting (n=340): time 0.1258/1.474, allocations: 44.89 MB / 0.8206 GB, free: 14.57 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2269/1.701, allocations: 15.45 MB / 0.8357 GB, free: 101.8 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007936/1.709, allocations: 5.62 MB / 0.8412 GB, free: 101.5 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008618/1.71, allocations: 73.67 kB / 0.8413 GB, free: 101.4 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002914/1.713, allocations: 4.688 MB / 0.8458 GB, free: 100 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001865/1.715, allocations: 1.272 MB / 0.8471 GB, free: 99.29 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005839/1.715, allocations: 179 kB / 0.8472 GB, free: 99.29 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0004271/1.716, allocations: 0.6866 MB / 0.8479 GB, free: 98.97 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005427/1.721, allocations: 4.071 MB / 0.8519 GB, free: 98.95 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008144/1.73, allocations: 9.253 MB / 0.8609 GB, free: 92.35 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/1.744, allocations: 14.47 MB / 0.8751 GB, free: 85.73 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002054/1.744, allocations: 52.94 kB / 0.8751 GB, free: 85.73 MB / 474.8 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03593/1.78, allocations: 17.83 MB / 0.8925 GB, free: 82.51 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003214/1.781, allocations: 85.75 kB / 0.8926 GB, free: 82.51 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003429/1.781, allocations: 184.9 kB / 0.8928 GB, free: 82.51 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01473/1.796, allocations: 4.962 MB / 0.8976 GB, free: 81.61 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006646/1.803, allocations: 1.974 MB / 0.8995 GB, free: 81.38 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04032/1.843, allocations: 37.15 MB / 0.9358 GB, free: 61.39 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007782/1.851, allocations: 0.5404 MB / 0.9364 GB, free: 60.96 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00192/1.853, allocations: 0.5471 MB / 0.9369 GB, free: 60.45 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.006991/1.86, allocations: 3.234 MB / 0.94 GB, free: 57.6 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.861, allocations: 0.5267 MB / 0.9406 GB, free: 57.07 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02984/1.891, allocations: 10.44 MB / 0.9508 GB, free: 48.87 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.931e-05/1.891, allocations: 47.12 kB / 0.9508 GB, free: 48.82 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01932/1.91, allocations: 9.537 MB / 0.9601 GB, free: 41.12 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.218e-05/1.91, allocations: 17.39 kB / 0.9601 GB, free: 41.12 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03633/1.947, allocations: 23.14 MB / 0.9827 GB, free: 22.59 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.947, allocations: 4 kB / 0.9827 GB, free: 22.59 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/1.949, allocations: 441.6 kB / 0.9832 GB, free: 22.25 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01057/1.959, allocations: 3.688 MB / 0.9868 GB, free: 19.04 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005851/1.96, allocations: 64 kB / 0.9868 GB, free: 18.98 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2592/2.219, allocations: 27.26 MB / 1.013 GB, free: 85.86 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01719/2.237, allocations: 12.17 MB / 1.025 GB, free: 83.08 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02387/2.261, allocations: 14.15 MB / 1.039 GB, free: 82.53 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/2.262, allocations: 0.5563 MB / 1.04 GB, free: 82.43 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/2.263, allocations: 54.36 kB / 1.04 GB, free: 82.43 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002865/2.266, allocations: 224.4 kB / 1.04 GB, free: 82.43 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008846/2.267, allocations: 236.2 kB / 1.04 GB, free: 82.42 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/2.267, allocations: 91.81 kB / 1.04 GB, free: 82.42 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.006122/2.274, allocations: 3.487 MB / 1.044 GB, free: 82.24 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.042e-06/2.274, allocations: 3.469 kB / 1.044 GB, free: 82.24 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01279/2.286, allocations: 2.022 MB / 1.046 GB, free: 82.24 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.001381/2.288, allocations: 273.1 kB / 1.046 GB, free: 82.16 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0155/2.303, allocations: 10.73 MB / 1.056 GB, free: 79.96 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/2.303, allocations: 1.203 kB / 1.056 GB, free: 79.96 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00604/2.309, allocations: 4.216 MB / 1.061 GB, free: 78.02 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007494/2.317, allocations: 0.7865 MB / 1.061 GB, free: 77.71 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/2.349, allocations: 18.78 MB / 1.08 GB, free: 68.29 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007868/2.357, allocations: 4.934 MB / 1.084 GB, free: 66.62 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.007829/2.365, allocations: 2.718 MB / 1.087 GB, free: 66.56 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/2.366, allocations: 347.9 kB / 1.087 GB, free: 66.55 MB / 474.8 MB Notification: Performance of SimCode: time 8.22e-07/2.366, allocations: 0 / 1.087 GB, free: 66.55 MB / 474.8 MB Notification: Performance of Templates: time 0.1417/2.508, allocations: 87.86 MB / 1.173 GB, free: 11 MB / 490.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/jenkins1/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