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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 165.7 kB / 25.75 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9177/0.9177, allocations: 158.6 MB / 187.5 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|bodyOfConstraint.body.w_a.[0-9,]+.|bodyOfJoint.body.w_a.[0-9,]+.|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=5002,variableFilter="time|bodyOfConstraint.body.w_a.[0-9,]+.|bodyOfJoint.body.w_a.[0-9,]+.|joint.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.588e-06/4.588e-06, allocations: 0 / 251.1 MB, free: 7.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.332e-05/4.791e-05, allocations: 6.312 kB / 251.1 MB, free: 7.902 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.01688/0.01693, allocations: 19.03 MB / 270.1 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.02874, allocations: 6.195 MB / 276.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003372/0.03211, allocations: 179.1 kB / 276.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007327/0.03944, allocations: 6.527 MB / 283 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005741/0.04518, allocations: 2.83 MB / 285.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003598/0.04878, allocations: 2.627 MB / 288.5 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008106/0.05688, allocations: 7.371 MB / 295.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007947/0.06483, allocations: 6.583 MB / 302.4 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007181/0.07201, allocations: 4.386 MB / 306.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005125/0.07714, allocations: 3.924 MB / 310.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.07873, allocations: 0.6602 MB / 311.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003054/0.08179, allocations: 1.837 MB / 313.2 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003476/0.08526, allocations: 3.69 MB / 316.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004516/0.08978, allocations: 2.361 MB / 319.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009388/0.09917, allocations: 7.778 MB / 327.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.09917, allocations: 0 / 327.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.09917, allocations: 0 / 327.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002565/0.09943, allocations: 0 / 327.1 MB, free: 11.61 MB / 314.7 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.01303/0.1125, allocations: 9.004 MB / 336.1 MB, free: 2.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1125, allocations: 8.031 kB / 336.1 MB, free: 2.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005905/0.1184, allocations: 3.062 MB / 339.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00623/0.1246, allocations: 3.824 MB / 343 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/0.125, allocations: 439.7 kB / 343.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001363/0.1263, allocations: 0.5861 MB / 344 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.262/0.3883, allocations: 10.27 MB / 354.3 MB, free: 62.76 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002078/0.3885, allocations: 58.58 kB / 354.3 MB, free: 62.76 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008234/0.3894, allocations: 264.2 kB / 354.6 MB, free: 62.76 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002438/0.3918, allocations: 2.636 MB / 357.2 MB, free: 62.74 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.4069, allocations: 5.919 MB / 363.1 MB, free: 62.66 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0556/0.4625, allocations: 64.24 MB / 427.4 MB, free: 11.05 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/0.4786, allocations: 5.054 MB / 432.4 MB, free: 5.965 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.4806, allocations: 1.307 MB / 433.7 MB, free: 4.648 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01228/0.4929, allocations: 9.632 MB / 443.4 MB, free: 11.26 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/0.493, allocations: 62.77 kB / 443.4 MB, free: 11.19 MB / 346.8 MB Notification: Performance of pre-optimization done (n=274): time 6.141e-06/0.493, allocations: 4 kB / 443.4 MB, free: 11.19 MB / 346.8 MB Notification: Performance of matching and sorting (n=340): time 0.08029/0.5732, allocations: 29.8 MB / 473.2 MB, free: 13.89 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01256/0.5858, allocations: 10.83 MB / 484.1 MB, free: 2.672 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006581/0.5924, allocations: 5.085 MB / 489.1 MB, free: 13.79 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007659/0.5931, allocations: 73.7 kB / 489.2 MB, free: 13.71 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003042/0.5962, allocations: 5.136 MB / 494.3 MB, free: 8.613 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001767/0.598, allocations: 1.362 MB / 495.7 MB, free: 7.27 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002754/0.6007, allocations: 2.026 MB / 497.7 MB, free: 5.227 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.6008, allocations: 480.8 kB / 498.2 MB, free: 4.754 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/0.6032, allocations: 1.396 MB / 499.6 MB, free: 3.352 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1313/0.7346, allocations: 9.155 MB / 0.4968 GB, free: 104.1 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009935/0.7445, allocations: 11.72 MB / 0.5083 GB, free: 94.09 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002292/0.7447, allocations: 56.94 kB / 0.5083 GB, free: 94.08 MB / 394.8 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02621/0.771, allocations: 11.13 MB / 0.5192 GB, free: 93.58 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.7711, allocations: 81 kB / 0.5193 GB, free: 93.58 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002836/0.7714, allocations: 184.2 kB / 0.5195 GB, free: 93.58 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01216/0.7835, allocations: 3.718 MB / 0.5231 GB, free: 93.38 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005662/0.7892, allocations: 2.041 MB / 0.5251 GB, free: 93.2 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/0.8124, allocations: 21.43 MB / 0.546 GB, free: 79.66 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005558/0.818, allocations: 0.597 MB / 0.5466 GB, free: 79.35 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001487/0.8195, allocations: 0.5669 MB / 0.5471 GB, free: 78.89 MB / 394.8 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 (1074): * Single equations (assignments): 1061 * 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.004084/0.8236, allocations: 0.8959 MB / 0.548 GB, free: 78.34 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/0.8248, allocations: 0.6146 MB / 0.5486 GB, free: 78.06 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009549/0.8343, allocations: 5.677 MB / 0.5542 GB, free: 74.39 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-05/0.8344, allocations: 47.98 kB / 0.5542 GB, free: 74.34 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.007721/0.8421, allocations: 4.481 MB / 0.5586 GB, free: 70.3 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/0.8421, allocations: 15.95 kB / 0.5586 GB, free: 70.29 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/0.8633, allocations: 15.09 MB / 0.5733 GB, free: 55.21 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.8633, allocations: 8 kB / 0.5733 GB, free: 55.2 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.8646, allocations: 486.6 kB / 0.5738 GB, free: 54.73 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005936/0.8705, allocations: 2.433 MB / 0.5762 GB, free: 52.29 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002829/0.8708, allocations: 67.92 kB / 0.5762 GB, free: 52.22 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/0.8849, allocations: 14.7 MB / 0.5906 GB, free: 37.26 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006602/0.8915, allocations: 7.465 MB / 0.5979 GB, free: 29.62 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.9029, allocations: 6.99 MB / 0.6047 GB, free: 22.5 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/0.9048, allocations: 1.001 MB / 0.6057 GB, free: 21.51 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005924/0.9054, allocations: 56 kB / 0.6057 GB, free: 21.45 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/0.9071, allocations: 282.7 kB / 0.606 GB, free: 21.18 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006396/0.9077, allocations: 253.3 kB / 0.6063 GB, free: 20.93 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/0.9079, allocations: 91.98 kB / 0.6063 GB, free: 20.84 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.002713/0.9106, allocations: 2.199 MB / 0.6085 GB, free: 18.66 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9106, allocations: 0 / 0.6085 GB, free: 18.66 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.006946/0.9175, allocations: 2.091 MB / 0.6105 GB, free: 16.59 MB / 394.8 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 (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.0006818/0.9182, allocations: 302.2 kB / 0.6108 GB, free: 16.31 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.009238/0.9275, allocations: 7.018 MB / 0.6177 GB, free: 9.164 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.9275, allocations: 0 / 0.6177 GB, free: 9.164 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002955/0.9304, allocations: 2.733 MB / 0.6203 GB, free: 6.352 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/0.9339, allocations: 0.7853 MB / 0.6211 GB, free: 5.59 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1414/1.075, allocations: 13.45 MB / 0.6342 GB, free: 114.6 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/1.077, allocations: 2.088 MB / 0.6363 GB, free: 114.4 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004032/1.081, allocations: 2.33 MB / 0.6386 GB, free: 114.3 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008606/1.082, allocations: 355.7 kB / 0.6389 GB, free: 114.3 MB / 410.8 MB Notification: Performance of SimCode: time 1.954e-06/1.082, allocations: 0 / 0.6389 GB, free: 114.3 MB / 410.8 MB Notification: Performance of Templates: time 0.08995/1.172, allocations: 84.44 MB / 0.7214 GB, free: 49.84 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.567802096018568]