Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001066/0.001066, allocations: 94.56 kB / 16.94 MB, free: 6.43 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.001075/0.001075, allocations: 177.7 kB / 17.83 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005081, allocations: 16 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09109, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2488/0.3399, allocations: 73.72 MB / 402.1 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03997/0.38, allocations: 17.29 MB / 419.3 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01676/0.3968, allocations: 388.8 kB / 419.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01222/0.409, allocations: 3.717 MB / 423.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03531/0.4444, allocations: 10.34 MB / 433.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005861/0.4502, allocations: 1.178 MB / 435 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00748/0.4577, allocations: 3.726 MB / 438.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0124/0.4702, allocations: 9.502 MB / 448.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.4729, allocations: 1.76 MB / 449.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.4752, allocations: 2.063 MB / 452 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000499/0.4757, allocations: 228 kB / 452.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.478, allocations: 1.256 MB / 453.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002199/0.4802, allocations: 2.611 MB / 456.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.4816, allocations: 1.361 MB / 457.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.4922, allocations: 9.557 MB / 467 MB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4923, allocations: 0 / 467 MB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.4923, allocations: 0 / 467 MB, free: 10.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005553/0.4929, allocations: 4 kB / 467 MB, free: 10.7 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.01844/0.5113, allocations: 7.188 MB / 474.2 MB, free: 3.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5114, allocations: 8.031 kB / 474.2 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009268/0.5207, allocations: 2.623 MB / 476.8 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.5307, allocations: 4.552 MB / 481.4 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003872/0.5311, allocations: 435.2 kB / 481.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002153/0.5333, allocations: 0.5932 MB / 482.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03959/0.5729, allocations: 17.04 MB / 499.4 MB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002623/0.5732, allocations: 59.44 kB / 499.5 MB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001695/0.5749, allocations: 263.8 kB / 499.8 MB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004295/0.5792, allocations: 2.639 MB / 0.4906 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03056/0.6098, allocations: 14.65 MB / 0.5049 GB, free: 7.562 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.4197/1.03, allocations: 63.49 MB / 0.5669 GB, free: 125 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02223/1.052, allocations: 7.867 MB / 0.5746 GB, free: 124.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02522/1.077, allocations: 16.93 MB / 0.5912 GB, free: 115.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/1.077, allocations: 58.5 kB / 0.5912 GB, free: 115.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=274): time 5.821e-06/1.077, allocations: 0 / 0.5912 GB, free: 115.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.111/1.188, allocations: 43.74 MB / 0.6339 GB, free: 76.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0199/1.208, allocations: 17.04 MB / 0.6506 GB, free: 59.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008162/1.216, allocations: 5.986 MB / 0.6564 GB, free: 53.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001034/1.217, allocations: 77.7 kB / 0.6565 GB, free: 53.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002614/1.22, allocations: 4.755 MB / 0.6611 GB, free: 48.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002143/1.222, allocations: 1.261 MB / 0.6624 GB, free: 47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005189/1.223, allocations: 180.7 kB / 0.6625 GB, free: 46.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004338/1.223, allocations: 0.6945 MB / 0.6632 GB, free: 46.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004932/1.228, allocations: 4.07 MB / 0.6672 GB, free: 42.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007079/1.235, allocations: 9.285 MB / 0.6763 GB, free: 30.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007514/1.243, allocations: 6.025 MB / 0.6821 GB, free: 24.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.033e-05/1.243, allocations: 60 kB / 0.6822 GB, free: 24.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.03349/1.276, allocations: 17.48 MB / 0.6993 GB, free: 6.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.277, allocations: 91.16 kB / 0.6993 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002057/1.277, allocations: 187.9 kB / 0.6995 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0135/1.29, allocations: 4.585 MB / 0.704 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2124/1.503, allocations: 2.025 MB / 0.706 GB, free: 139.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04444/1.547, allocations: 35.05 MB / 0.7402 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008675/1.556, allocations: 0.5363 MB / 0.7407 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/1.558, allocations: 0.5675 MB / 0.7413 GB, free: 122.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 839 * Number of states: 0 () * Number of discrete variables: 60 (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 (1066): * Single equations (assignments): 1053 * 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,(2,100.0%) 13,(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.006241/1.564, allocations: 3.265 MB / 0.7445 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/1.565, allocations: 0.5334 MB / 0.745 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01854/1.584, allocations: 9.927 MB / 0.7547 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.593e-05/1.584, allocations: 43.55 kB / 0.7547 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01591/1.6, allocations: 8.478 MB / 0.763 GB, free: 110.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.225e-05/1.6, allocations: 11.95 kB / 0.763 GB, free: 110.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03974/1.64, allocations: 22.74 MB / 0.7852 GB, free: 87.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-05/1.64, allocations: 4 kB / 0.7852 GB, free: 87.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/1.642, allocations: 479.2 kB / 0.7857 GB, free: 87.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01003/1.652, allocations: 3.291 MB / 0.7889 GB, free: 83.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000599/1.653, allocations: 67.98 kB / 0.789 GB, free: 83.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02881/1.682, allocations: 25.21 MB / 0.8136 GB, free: 58.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01303/1.695, allocations: 11.03 MB / 0.8244 GB, free: 47.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0228/1.718, allocations: 14.71 MB / 0.8387 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00329/1.721, allocations: 1.13 MB / 0.8398 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009376/1.722, allocations: 61.06 kB / 0.8399 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003058/1.725, allocations: 219.7 kB / 0.8401 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000749/1.726, allocations: 239 kB / 0.8403 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/1.726, allocations: 100.6 kB / 0.8404 GB, free: 30.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00563/1.732, allocations: 3.763 MB / 0.8441 GB, free: 26.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.82e-07/1.732, allocations: 0 / 0.8441 GB, free: 26.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009651/1.741, allocations: 2.011 MB / 0.8461 GB, free: 24.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (220): * Single equations (assignments): 212 * 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.0008999/1.742, allocations: 276.6 kB / 0.8463 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01519/1.757, allocations: 10.67 MB / 0.8567 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.758, allocations: 4 kB / 0.8568 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00551/1.763, allocations: 4.156 MB / 0.8608 GB, free: 9.316 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004063/1.767, allocations: 0.7522 MB / 0.8615 GB, free: 8.574 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2153/1.983, allocations: 18.88 MB / 0.88 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008174/1.991, allocations: 5.137 MB / 0.885 GB, free: 129.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007551/1.998, allocations: 2.793 MB / 0.8877 GB, free: 129.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/2, allocations: 363.5 kB / 0.8881 GB, free: 129.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.863e-06/2, allocations: 0 / 0.8881 GB, free: 129.6 MB / 446.1 MB Notification: Performance of Templates: time 0.1208/2.121, allocations: 84.27 MB / 0.9704 GB, free: 57.9 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches