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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 83.89 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.973/0.973, allocations: 173.4 MB / 201.1 MB, free: 8.996 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,variableFilter="time|bodyOfConstraint.body.w_a.[0-9,]+.|bodyOfJoint.body.w_a.[0-9,]+.|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=5002,variableFilter="time|bodyOfConstraint.body.w_a.[0-9,]+.|bodyOfJoint.body.w_a.[0-9,]+.|joint.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 268 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.564e-05, allocations: 6.25 kB / 268 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.01449/0.01453, allocations: 18.34 MB / 286.3 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1433/0.1579, allocations: 6.108 MB / 292.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003976/0.1618, allocations: 175.6 kB / 292.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009076/0.1709, allocations: 6.538 MB / 299.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006152/0.1771, allocations: 2.777 MB / 301.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.1811, allocations: 2.626 MB / 304.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007487/0.1886, allocations: 7.234 MB / 311.8 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005974/0.1945, allocations: 6.528 MB / 318.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004626/0.1992, allocations: 4.323 MB / 322.6 MB, free: 500 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003957/0.2031, allocations: 3.832 MB / 326.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00118/0.2043, allocations: 0.6484 MB / 327.1 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.2067, allocations: 1.828 MB / 328.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002114/0.2088, allocations: 3.628 MB / 332.6 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002263/0.2111, allocations: 2.313 MB / 334.9 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006073/0.2171, allocations: 7.642 MB / 342.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2172, allocations: 0 / 342.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2172, allocations: 0 / 342.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.584e-05/0.2172, allocations: 0 / 342.5 MB, free: 13.57 MB / 298.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.01016/0.2274, allocations: 8.862 MB / 351.4 MB, free: 4.754 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2274, allocations: 8.922 kB / 351.4 MB, free: 4.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004731/0.2321, allocations: 3.023 MB / 354.4 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004343/0.2365, allocations: 3.748 MB / 358.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.2367, allocations: 424.7 kB / 358.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007384/0.2374, allocations: 0.5754 MB / 359.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.2506, allocations: 10.12 MB / 369.3 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.2508, allocations: 67.45 kB / 369.3 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004342/0.2512, allocations: 265.3 kB / 369.6 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002326/0.2535, allocations: 2.563 MB / 372.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.2645, allocations: 5.82 MB / 378 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3405/0.605, allocations: 63.2 MB / 441.2 MB, free: 56.02 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/0.6176, allocations: 4.996 MB / 446.2 MB, free: 55.86 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/0.6194, allocations: 1.296 MB / 447.5 MB, free: 55.8 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/0.6314, allocations: 9.507 MB / 457 MB, free: 54.27 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.6314, allocations: 67.34 kB / 457 MB, free: 54.23 MB / 378.8 MB Notification: Performance of pre-optimization done (n=265): time 4.549e-06/0.6314, allocations: 0 / 457 MB, free: 54.23 MB / 378.8 MB Notification: Performance of matching and sorting (n=331): time 0.05397/0.6854, allocations: 29.52 MB / 486.6 MB, free: 40.96 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.009448/0.6949, allocations: 10.84 MB / 497.4 MB, free: 29.75 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004802/0.6997, allocations: 4.997 MB / 0.4906 GB, free: 24.98 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006581/0.7003, allocations: 73.7 kB / 0.4907 GB, free: 24.91 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001808/0.7021, allocations: 5.053 MB / 0.4956 GB, free: 20.18 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009791/0.7031, allocations: 1.337 MB / 0.4969 GB, free: 18.86 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001605/0.7047, allocations: 2.004 MB / 0.4989 GB, free: 16.84 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.7048, allocations: 480.7 kB / 0.4994 GB, free: 16.37 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.7067, allocations: 1.365 MB / 0.5007 GB, free: 15 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004134/0.7108, allocations: 9.021 MB / 0.5095 GB, free: 2.578 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009854/0.7206, allocations: 11.53 MB / 0.5208 GB, free: 4.289 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.251e-05/0.7207, allocations: 55.31 kB / 0.5208 GB, free: 4.238 MB / 394.8 MB Notification: Performance of matching and sorting (n=1183) (initialization): time 0.01834/0.7391, allocations: 10.99 MB / 0.5315 GB, free: 9.648 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.741e-05/0.7391, allocations: 80.97 kB / 0.5316 GB, free: 9.57 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/0.7393, allocations: 184 kB / 0.5318 GB, free: 9.391 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008595/0.7478, allocations: 3.701 MB / 0.5354 GB, free: 5.664 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003727/0.7516, allocations: 1.992 MB / 0.5374 GB, free: 3.668 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02099/0.7726, allocations: 21.44 MB / 0.5583 GB, free: 13.38 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004991/0.7776, allocations: 0.5861 MB / 0.5589 GB, free: 12.8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005973/0.7781, allocations: 0.5603 MB / 0.5594 GB, free: 12.24 MB / 442.8 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 (1052): * Single equations (assignments): 1039 * 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.002087/0.7802, allocations: 0.8828 MB / 0.5603 GB, free: 11.34 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007358/0.781, allocations: 0.5994 MB / 0.5609 GB, free: 10.74 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009949/0.7909, allocations: 5.606 MB / 0.5663 GB, free: 5.051 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.274e-05/0.791, allocations: 47.98 kB / 0.5664 GB, free: 5.004 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0082/0.7992, allocations: 4.427 MB / 0.5707 GB, free: 0.4961 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/0.7992, allocations: 15.95 kB / 0.5707 GB, free: 492 kB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0266/0.8258, allocations: 14.76 MB / 0.5851 GB, free: 1.586 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/0.8258, allocations: 8.375 kB / 0.5851 GB, free: 1.578 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/0.8277, allocations: 459.3 kB / 0.5856 GB, free: 1.129 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1769/1.005, allocations: 2.437 MB / 0.588 GB, free: 152 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009282/1.005, allocations: 59.89 kB / 0.588 GB, free: 152 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02686/1.032, allocations: 14.65 MB / 0.6023 GB, free: 144.6 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01204/1.044, allocations: 7.46 MB / 0.6096 GB, free: 140.8 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01876/1.063, allocations: 6.815 MB / 0.6163 GB, free: 139.7 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/1.065, allocations: 494.9 kB / 0.6167 GB, free: 139.7 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001809/1.067, allocations: 58.05 kB / 0.6168 GB, free: 139.7 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003815/1.071, allocations: 261.3 kB / 0.617 GB, free: 139.7 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001365/1.072, allocations: 232.3 kB / 0.6173 GB, free: 139.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000446/1.073, allocations: 89.58 kB / 0.6173 GB, free: 139.7 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005213/1.078, allocations: 2.165 MB / 0.6195 GB, free: 139.5 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.3e-07/1.078, allocations: 0 / 0.6195 GB, free: 139.5 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009158/1.087, allocations: 2.056 MB / 0.6215 GB, free: 139.5 MB / 458.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 (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.001024/1.088, allocations: 292 kB / 0.6217 GB, free: 139.4 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.009186/1.097, allocations: 6.931 MB / 0.6285 GB, free: 138 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.097, allocations: 0 / 0.6285 GB, free: 138 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003144/1.1, allocations: 2.689 MB / 0.6311 GB, free: 137.2 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/1.104, allocations: 0.7891 MB / 0.6319 GB, free: 137.1 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/1.122, allocations: 13.12 MB / 0.6447 GB, free: 128.3 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002679/1.125, allocations: 2.051 MB / 0.6467 GB, free: 126.9 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004218/1.129, allocations: 2.287 MB / 0.649 GB, free: 125.6 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009507/1.13, allocations: 343.8 kB / 0.6493 GB, free: 125.3 MB / 458.8 MB Notification: Performance of SimCode: time 2.284e-06/1.13, allocations: 0 / 0.6493 GB, free: 125.3 MB / 458.8 MB Notification: Performance of Templates: time 0.09468/1.225, allocations: 83.51 MB / 0.7308 GB, free: 43.01 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) [Timeout 240] 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","",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.700419976841658]