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.001492/0.001492, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001883/0.001883, allocations: 170.1 kB / 25.33 MB, free: 8.598 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.9215/0.9215, allocations: 158.6 MB / 187.2 MB, free: 2.926 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 1.904e-06/1.904e-06, allocations: 0 / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.807e-05, allocations: 2.312 kB / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.0159/0.01593, allocations: 19.1 MB / 270.2 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.02803, allocations: 6.213 MB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003709/0.03174, allocations: 179.1 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007762/0.0395, allocations: 6.546 MB / 283.1 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006473/0.04597, allocations: 2.826 MB / 285.9 MB, free: 4.504 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004085/0.05006, allocations: 2.63 MB / 288.5 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009203/0.05926, allocations: 7.374 MB / 295.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008482/0.06774, allocations: 6.575 MB / 302.5 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007588/0.07533, allocations: 4.394 MB / 306.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005439/0.08077, allocations: 3.917 MB / 310.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00204/0.08281, allocations: 0.668 MB / 311.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004157/0.08696, allocations: 1.83 MB / 313.3 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004042/0.09101, allocations: 3.698 MB / 317 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004131/0.09514, allocations: 2.349 MB / 319.3 MB, free: 2.918 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.1061, allocations: 7.782 MB / 327.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.1061, allocations: 0 / 327.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1061, allocations: 0 / 327.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004/0.1065, allocations: 8 kB / 327.1 MB, free: 11.1 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.01576/0.1223, allocations: 8.992 MB / 336.1 MB, free: 2.023 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1223, allocations: 12.03 kB / 336.1 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005495/0.1278, allocations: 3.055 MB / 339.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007072/0.1349, allocations: 3.839 MB / 343 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/0.1352, allocations: 431.7 kB / 343.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/0.1365, allocations: 0.5783 MB / 344 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.23/0.3665, allocations: 10.27 MB / 354.3 MB, free: 87.28 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002206/0.3667, allocations: 64.44 kB / 354.4 MB, free: 87.28 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005598/0.3672, allocations: 264.5 kB / 354.6 MB, free: 87.28 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002352/0.3696, allocations: 2.638 MB / 357.3 MB, free: 87.26 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.3842, allocations: 5.905 MB / 363.2 MB, free: 87.18 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05049/0.4347, allocations: 64.26 MB / 427.4 MB, free: 25.19 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.4456, allocations: 5.057 MB / 432.5 MB, free: 20.09 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/0.4476, allocations: 1.312 MB / 433.8 MB, free: 18.77 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/0.4594, allocations: 9.63 MB / 443.4 MB, free: 9.375 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.4594, allocations: 63.39 kB / 443.5 MB, free: 9.305 MB / 330.8 MB Notification: Performance of pre-optimization done (n=274): time 6.041e-06/0.4594, allocations: 0 / 443.5 MB, free: 9.305 MB / 330.8 MB Notification: Performance of matching and sorting (n=340): time 0.0663/0.5257, allocations: 29.79 MB / 473.3 MB, free: 11.73 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01276/0.5385, allocations: 10.82 MB / 484.1 MB, free: 480 kB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006891/0.5454, allocations: 5.084 MB / 489.2 MB, free: 11.6 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008112/0.5462, allocations: 76.67 kB / 489.3 MB, free: 11.52 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003292/0.5495, allocations: 5.134 MB / 494.4 MB, free: 6.422 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002/0.5515, allocations: 1.368 MB / 495.8 MB, free: 5.07 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002347/0.5538, allocations: 2.025 MB / 497.8 MB, free: 3.031 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.554, allocations: 484.7 kB / 498.3 MB, free: 2.555 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002508/0.5565, allocations: 1.388 MB / 499.7 MB, free: 1.16 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1386/0.6951, allocations: 9.162 MB / 0.4969 GB, free: 109.9 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.7053, allocations: 11.71 MB / 0.5083 GB, free: 99.66 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002686/0.7055, allocations: 60.66 kB / 0.5084 GB, free: 99.65 MB / 378.8 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02363/0.7292, allocations: 11.13 MB / 0.5193 GB, free: 97.94 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.7293, allocations: 81.22 kB / 0.5193 GB, free: 97.94 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001847/0.7295, allocations: 190.4 kB / 0.5195 GB, free: 97.93 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009375/0.7388, allocations: 3.715 MB / 0.5231 GB, free: 97.73 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004474/0.7433, allocations: 2.037 MB / 0.5251 GB, free: 96.78 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/0.762, allocations: 21.42 MB / 0.546 GB, free: 79.62 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005448/0.7674, allocations: 0.597 MB / 0.5466 GB, free: 79.31 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/0.7685, allocations: 0.5598 MB / 0.5472 GB, free: 78.85 MB / 378.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.002298/0.7708, allocations: 0.9083 MB / 0.5481 GB, free: 78.06 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009091/0.7717, allocations: 0.6139 MB / 0.5487 GB, free: 77.74 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009171/0.7808, allocations: 5.685 MB / 0.5542 GB, free: 72.18 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.936e-05/0.7809, allocations: 48 kB / 0.5543 GB, free: 72.13 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008249/0.7891, allocations: 4.477 MB / 0.5586 GB, free: 67.57 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-05/0.7892, allocations: 19.94 kB / 0.5587 GB, free: 67.55 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02794/0.8171, allocations: 15.09 MB / 0.5734 GB, free: 52.41 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-05/0.8171, allocations: 4 kB / 0.5734 GB, free: 52.41 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/0.819, allocations: 491.9 kB / 0.5739 GB, free: 51.93 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007768/0.8268, allocations: 2.429 MB / 0.5762 GB, free: 49.49 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005396/0.8273, allocations: 64.81 kB / 0.5763 GB, free: 49.43 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01923/0.8466, allocations: 14.7 MB / 0.5907 GB, free: 34.46 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01186/0.8584, allocations: 7.465 MB / 0.5979 GB, free: 26.82 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01756/0.876, allocations: 6.994 MB / 0.6048 GB, free: 19.71 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003138/0.8791, allocations: 1.001 MB / 0.6057 GB, free: 18.71 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/0.8803, allocations: 59.98 kB / 0.6058 GB, free: 18.65 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/0.8826, allocations: 282.4 kB / 0.6061 GB, free: 18.38 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007038/0.8833, allocations: 253.4 kB / 0.6063 GB, free: 18.13 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002824/0.8836, allocations: 91.98 kB / 0.6064 GB, free: 18.04 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.00356/0.8871, allocations: 2.203 MB / 0.6086 GB, free: 15.86 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.9e-07/0.8871, allocations: 0 / 0.6086 GB, free: 15.86 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.007897/0.895, allocations: 2.086 MB / 0.6106 GB, free: 13.79 MB / 378.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.0008734/0.8959, allocations: 302 kB / 0.6109 GB, free: 13.5 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.009234/0.9051, allocations: 7.011 MB / 0.6177 GB, free: 6.371 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.9052, allocations: 4 kB / 0.6177 GB, free: 6.367 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003059/0.9082, allocations: 2.73 MB / 0.6204 GB, free: 3.559 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/0.9116, allocations: 0.7941 MB / 0.6212 GB, free: 2.789 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1452/1.057, allocations: 13.44 MB / 0.6343 GB, free: 105.5 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/1.059, allocations: 2.086 MB / 0.6363 GB, free: 105.2 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.004335/1.063, allocations: 2.329 MB / 0.6386 GB, free: 105.2 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.065, allocations: 351.2 kB / 0.6389 GB, free: 105.2 MB / 378.8 MB Notification: Performance of SimCode: time 2.896e-06/1.065, allocations: 0 / 0.6389 GB, free: 105.2 MB / 378.8 MB Notification: Performance of Templates: time 0.1042/1.169, allocations: 84.45 MB / 0.7214 GB, free: 29.68 MB / 378.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.452404711861163]