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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 94.94 kB / 16.31 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 175.3 kB / 17.19 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002597/0.00026, allocations: 6.219 kB / 300.7 MB, free: 6.508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.08505, allocations: 50.43 MB / 351.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.06563/0.1507, allocations: 73.07 MB / 424.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2196/0.3704, allocations: 17.18 MB / 441.4 MB, free: 268 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01656/0.387, allocations: 384.2 kB / 441.8 MB, free: 268 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01256/0.3996, allocations: 3.696 MB / 445.5 MB, free: 144 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03261/0.4323, allocations: 10.33 MB / 455.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005792/0.4381, allocations: 1.182 MB / 457 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007162/0.4453, allocations: 3.65 MB / 460.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01215/0.4575, allocations: 9.461 MB / 470.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003272/0.4608, allocations: 1.723 MB / 471.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003056/0.4639, allocations: 1.999 MB / 473.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007363/0.4646, allocations: 222.3 kB / 474 MB, free: 8.387 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.4671, allocations: 1.254 MB / 475.3 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002195/0.4693, allocations: 2.56 MB / 477.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.4709, allocations: 1.332 MB / 479.2 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009245/0.4802, allocations: 9.361 MB / 488.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4802, allocations: 0 / 488.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4802, allocations: 0 / 488.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003116/0.4805, allocations: 0 / 488.5 MB, free: 14.11 MB / 382.1 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.01496/0.4955, allocations: 7.075 MB / 495.6 MB, free: 7.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4956, allocations: 8.031 kB / 495.6 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008935/0.5045, allocations: 2.603 MB / 498.2 MB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009578/0.5141, allocations: 4.19 MB / 0.4906 GB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003378/0.5145, allocations: 427.2 kB / 0.491 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002174/0.5167, allocations: 0.5723 MB / 0.4916 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03242/0.5491, allocations: 16.74 MB / 0.508 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/0.5494, allocations: 54.97 kB / 0.508 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/0.5504, allocations: 258.9 kB / 0.5083 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003984/0.5544, allocations: 2.579 MB / 0.5108 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03119/0.5856, allocations: 14.36 MB / 0.5248 GB, free: 6.195 MB / 414.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.08458/0.6702, allocations: 62.6 MB / 0.5859 GB, free: 6.332 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3411/1.011, allocations: 7.751 MB / 0.5935 GB, free: 171.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02509/1.036, allocations: 16.72 MB / 0.6098 GB, free: 167.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.037, allocations: 64.09 kB / 0.6099 GB, free: 167.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=265): time 5.08e-06/1.037, allocations: 0 / 0.6099 GB, free: 167.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1148/1.151, allocations: 43.19 MB / 0.6521 GB, free: 137.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02025/1.172, allocations: 17.04 MB / 0.6687 GB, free: 120 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007705/1.179, allocations: 5.865 MB / 0.6744 GB, free: 114.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001012/1.18, allocations: 73.7 kB / 0.6745 GB, free: 114.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002695/1.183, allocations: 4.659 MB / 0.6791 GB, free: 109.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001419/1.185, allocations: 1.237 MB / 0.6803 GB, free: 108.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009347/1.186, allocations: 183 kB / 0.6804 GB, free: 108 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004413/1.186, allocations: 0.6902 MB / 0.6811 GB, free: 107.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005019/1.191, allocations: 4 MB / 0.685 GB, free: 103.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006822/1.198, allocations: 9.139 MB / 0.6939 GB, free: 91.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007695/1.206, allocations: 5.932 MB / 0.6997 GB, free: 85.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/1.206, allocations: 52 kB / 0.6998 GB, free: 85.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.03405/1.24, allocations: 17.26 MB / 0.7166 GB, free: 68.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001899/1.24, allocations: 80.97 kB / 0.7167 GB, free: 68.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003274/1.24, allocations: 184 kB / 0.7169 GB, free: 68.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01425/1.255, allocations: 4.592 MB / 0.7214 GB, free: 63.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006594/1.261, allocations: 1.985 MB / 0.7233 GB, free: 61.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0375/1.299, allocations: 35.03 MB / 0.7575 GB, free: 25.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007327/1.306, allocations: 0.5383 MB / 0.7581 GB, free: 25.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/1.308, allocations: 0.5583 MB / 0.7586 GB, free: 24.47 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 826 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.arrowLine.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 (1044): * Single equations (assignments): 1031 * Array equations: 6 * 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%) 33,(2,100.0%) 19,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.005329/1.313, allocations: 3.203 MB / 0.7617 GB, free: 21.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/1.314, allocations: 0.5206 MB / 0.7622 GB, free: 20.73 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01921/1.333, allocations: 9.788 MB / 0.7718 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-05/1.333, allocations: 51.94 kB / 0.7718 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.221/1.554, allocations: 8.367 MB / 0.78 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.098e-05/1.554, allocations: 17.03 kB / 0.78 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04388/1.598, allocations: 22.13 MB / 0.8016 GB, free: 145.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-05/1.598, allocations: 3.969 kB / 0.8016 GB, free: 145.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/1.601, allocations: 465.2 kB / 0.8021 GB, free: 145.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01074/1.612, allocations: 3.282 MB / 0.8053 GB, free: 144.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006564/1.612, allocations: 60.66 kB / 0.8054 GB, free: 144.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02965/1.642, allocations: 25.21 MB / 0.83 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01376/1.656, allocations: 11.01 MB / 0.8407 GB, free: 121.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02265/1.678, allocations: 14.11 MB / 0.8545 GB, free: 107.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/1.68, allocations: 0.5669 MB / 0.8551 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000943/1.681, allocations: 55.53 kB / 0.8551 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003/1.684, allocations: 223.8 kB / 0.8553 GB, free: 107.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006962/1.685, allocations: 213.7 kB / 0.8555 GB, free: 107 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/1.685, allocations: 89.16 kB / 0.8556 GB, free: 106.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004774/1.69, allocations: 3.685 MB / 0.8592 GB, free: 103.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.69, allocations: 0 / 0.8592 GB, free: 103.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008344/1.698, allocations: 1.972 MB / 0.8611 GB, free: 101.3 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 (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%) 30,(3,100.0%) 21} * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009378/1.699, allocations: 270.7 kB / 0.8614 GB, free: 101 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01403/1.713, allocations: 10.53 MB / 0.8717 GB, free: 90.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.713, allocations: 3.281 kB / 0.8717 GB, free: 90.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004975/1.718, allocations: 4.08 MB / 0.8757 GB, free: 86.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003748/1.722, allocations: 0.7358 MB / 0.8764 GB, free: 85.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0257/1.748, allocations: 18.5 MB / 0.8945 GB, free: 67.24 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006981/1.755, allocations: 5.047 MB / 0.8994 GB, free: 62.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007679/1.762, allocations: 2.735 MB / 0.9021 GB, free: 59.42 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/1.764, allocations: 359.4 kB / 0.9024 GB, free: 59.07 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/1.764, allocations: 0 / 0.9024 GB, free: 59.07 MB / 478.1 MB Notification: Performance of Templates: time 0.2991/2.063, allocations: 83.25 MB / 0.9837 GB, free: 130.6 MB / 478.1 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