Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002062/0.002061, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002122/0.002122, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 64.05 kB / 307 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.09976, allocations: 50.53 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.1884/0.2882, allocations: 18.68 MB / 376.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.304, allocations: 6.16 MB / 382.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003848/0.3079, allocations: 148 kB / 382.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01031/0.3182, allocations: 6.016 MB / 388.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006797/0.3251, allocations: 2.547 MB / 391.1 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004654/0.3297, allocations: 2.379 MB / 393.5 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009048/0.3388, allocations: 6.656 MB / 400.1 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.349, allocations: 8.087 MB / 408.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006054/0.355, allocations: 2.836 MB / 411 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006791/0.3619, allocations: 3.509 MB / 414.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002444/0.3643, allocations: 0.6328 MB / 415.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005344/0.3697, allocations: 1.83 MB / 417 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004769/0.3745, allocations: 3.262 MB / 420.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006224/0.3807, allocations: 3.734 MB / 424 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.3952, allocations: 11.56 MB / 435.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3952, allocations: 4 kB / 435.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3952, allocations: 0 / 435.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003187/0.3956, allocations: 0 / 435.6 MB, free: 13.18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2312 * Number of variables: 2312 Notification: Performance of Generate backend data structure: time 0.02037/0.416, allocations: 8.243 MB / 443.8 MB, free: 4.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.416, allocations: 12.02 kB / 443.8 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00799/0.424, allocations: 2.222 MB / 446 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009109/0.4332, allocations: 3.962 MB / 450 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/0.4335, allocations: 427.4 kB / 450.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001516/0.435, allocations: 0.5739 MB / 451 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03443/0.4695, allocations: 16.34 MB / 467.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001855/0.4697, allocations: 63.47 kB / 467.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008024/0.4705, allocations: 259.8 kB / 467.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004105/0.4746, allocations: 2.513 MB / 470.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03165/0.5063, allocations: 13.98 MB / 484.1 MB, free: 11.49 MB / 398.1 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.418/0.9243, allocations: 61.97 MB / 0.5333 GB, free: 125.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02448/0.9489, allocations: 7.584 MB / 0.5407 GB, free: 125 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005616/0.9545, allocations: 3.932 MB / 0.5446 GB, free: 124.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02107/0.9756, allocations: 16.65 MB / 0.5608 GB, free: 116.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.9757, allocations: 69.56 kB / 0.5609 GB, free: 116.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 5.881e-06/0.9757, allocations: 2.719 kB / 0.5609 GB, free: 116.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=331): time 0.1126/1.088, allocations: 42.5 MB / 0.6024 GB, free: 84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01879/1.107, allocations: 16.7 MB / 0.6187 GB, free: 66.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006288/1.114, allocations: 5.609 MB / 0.6242 GB, free: 61.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008349/1.114, allocations: 73.7 kB / 0.6243 GB, free: 61.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002035/1.116, allocations: 4.617 MB / 0.6288 GB, free: 56.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00142/1.118, allocations: 1.239 MB / 0.63 GB, free: 55.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002406/1.12, allocations: 1.886 MB / 0.6318 GB, free: 53.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.98e-05/1.12, allocations: 305.1 kB / 0.6321 GB, free: 53.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005084/1.125, allocations: 4.066 MB / 0.6361 GB, free: 49.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007219/1.133, allocations: 9.215 MB / 0.6451 GB, free: 37.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01355/1.146, allocations: 14.36 MB / 0.6591 GB, free: 20.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/1.146, allocations: 52 kB / 0.6592 GB, free: 20.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.0342/1.181, allocations: 17.37 MB / 0.6761 GB, free: 2.961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002298/1.181, allocations: 86.53 kB / 0.6762 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002894/1.181, allocations: 184 kB / 0.6764 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01518/1.196, allocations: 4.579 MB / 0.6809 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008326/1.205, allocations: 1.996 MB / 0.6828 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2413/1.446, allocations: 36.38 MB / 0.7183 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007447/1.454, allocations: 0.5347 MB / 0.7189 GB, free: 141.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/1.455, allocations: 0.5511 MB / 0.7194 GB, free: 141.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.twoHeadedArrow,sensorConstraintRelative.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.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 (1049): * Single equations (assignments): 1036 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,33,100.0%), (2,19,100.0%), (2,13,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.004955/1.46, allocations: 3.182 MB / 0.7225 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.461, allocations: 0.5186 MB / 0.723 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0185/1.479, allocations: 9.828 MB / 0.7326 GB, free: 136.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.098e-05/1.479, allocations: 49.72 kB / 0.7327 GB, free: 136.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01518/1.494, allocations: 8.414 MB / 0.7409 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.106e-05/1.494, allocations: 14.53 kB / 0.7409 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03553/1.53, allocations: 22.02 MB / 0.7624 GB, free: 122.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-05/1.53, allocations: 4 kB / 0.7624 GB, free: 122.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/1.533, allocations: 462.7 kB / 0.7628 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009728/1.542, allocations: 3.237 MB / 0.766 GB, free: 118.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005815/1.543, allocations: 60.5 kB / 0.7661 GB, free: 118.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02915/1.572, allocations: 26.38 MB / 0.7918 GB, free: 92.14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01222/1.584, allocations: 10.78 MB / 0.8023 GB, free: 81.21 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02199/1.606, allocations: 13.65 MB / 0.8157 GB, free: 67.72 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/1.608, allocations: 0.5516 MB / 0.8162 GB, free: 67.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001188/1.61, allocations: 59.41 kB / 0.8163 GB, free: 67.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003088/1.613, allocations: 219.6 kB / 0.8165 GB, free: 66.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008038/1.613, allocations: 213.7 kB / 0.8167 GB, free: 66.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/1.614, allocations: 89.73 kB / 0.8168 GB, free: 66.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004115/1.618, allocations: 3.501 MB / 0.8202 GB, free: 63.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.618, allocations: 0 / 0.8202 GB, free: 63.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008073/1.626, allocations: 1.939 MB / 0.8221 GB, free: 61.22 MB / 478.1 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 (210): * Single equations (assignments): 202 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (3,30,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008862/1.627, allocations: 281.5 kB / 0.8224 GB, free: 60.96 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01946/1.646, allocations: 14.16 MB / 0.8362 GB, free: 46.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.922e-05/1.646, allocations: 8.125 kB / 0.8362 GB, free: 46.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0051/1.651, allocations: 4.097 MB / 0.8402 GB, free: 42.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004458/1.656, allocations: 0.8349 MB / 0.841 GB, free: 41.83 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02097/1.677, allocations: 15.89 MB / 0.8565 GB, free: 25.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004572/1.682, allocations: 4.857 MB / 0.8613 GB, free: 20.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006281/1.688, allocations: 2.723 MB / 0.8639 GB, free: 18.22 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/1.689, allocations: 355.4 kB / 0.8643 GB, free: 17.87 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/1.689, allocations: 3.938 kB / 0.8643 GB, free: 17.87 MB / 478.1 MB Notification: Performance of Templates: time 0.3554/2.044, allocations: 88.89 MB / 0.9511 GB, free: 94.98 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches