Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.001112/0.001112, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001588/0.0027, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001052/0.001052, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.002388, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8064/0.8064, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1542/0.9606, allocations: 49.49 MB / 220.5 MB, free: 1.449 MB / 218.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.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.326e-05, allocations: 10.05 kB / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.02976/0.02978, allocations: 13.57 MB / 235.4 MB, free: 2.543 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01892/0.0487, allocations: 4.777 MB / 240.2 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.05007, allocations: 115.4 kB / 240.3 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006652/0.05673, allocations: 4.287 MB / 244.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.05948, allocations: 2.383 MB / 247 MB, free: 6.941 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.06052, allocations: 0.9592 MB / 247.9 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004175/0.0647, allocations: 6.165 MB / 254.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002975/0.06767, allocations: 4.389 MB / 258.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003268/0.07094, allocations: 3.97 MB / 262.4 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.07343, allocations: 3.11 MB / 265.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005425/0.07397, allocations: 0.4961 MB / 266 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.07543, allocations: 1.366 MB / 267.4 MB, free: 2.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.07681, allocations: 2.541 MB / 269.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.07796, allocations: 1.48 MB / 271.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.08175, allocations: 5.714 MB / 277.1 MB, free: 8.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.08176, allocations: 0 / 277.1 MB, free: 8.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.08177, allocations: 0 / 277.1 MB, free: 8.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.419e-05/0.08182, allocations: 0 / 277.1 MB, free: 8.59 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.005989/0.08781, allocations: 7.193 MB / 284.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.521e-05/0.08783, allocations: 8.031 kB / 284.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1036/0.1915, allocations: 1.465 MB / 285.8 MB, free: 47.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004374/0.1958, allocations: 2.739 MB / 288.5 MB, free: 47.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.196, allocations: 317 kB / 288.9 MB, free: 47.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005685/0.1966, allocations: 443.6 kB / 289.3 MB, free: 47.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006876/0.2035, allocations: 6.054 MB / 295.3 MB, free: 45.37 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/0.2036, allocations: 49.88 kB / 295.4 MB, free: 45.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003214/0.2039, allocations: 192.9 kB / 295.6 MB, free: 45.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001478/0.2054, allocations: 1.954 MB / 297.5 MB, free: 45.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004324/0.2097, allocations: 3.033 MB / 300.6 MB, free: 44.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01826/0.228, allocations: 36.03 MB / 336.6 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.2312, allocations: 1.757 MB / 338.4 MB, free: 8.941 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.2316, allocations: 451.1 kB / 338.8 MB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004266/0.2359, allocations: 4.34 MB / 343.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.2359, allocations: 55.38 kB / 343.2 MB, free: 4.078 MB / 282.7 MB Notification: Performance of pre-optimization done (n=162): time 3.386e-06/0.2359, allocations: 0 / 343.2 MB, free: 4.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=178): time 0.01073/0.2467, allocations: 5.586 MB / 348.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.2467, allocations: 149.5 kB / 348.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.2495, allocations: 3.803 MB / 352.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.257e-05/0.2496, allocations: 49.7 kB / 352.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.2511, allocations: 3.66 MB / 356.4 MB, free: 6.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.2515, allocations: 0.721 MB / 357.2 MB, free: 6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.2525, allocations: 1.306 MB / 358.5 MB, free: 4.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.2526, allocations: 305.1 kB / 358.8 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.2541, allocations: 0.8076 MB / 359.6 MB, free: 3.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003668/0.2577, allocations: 4.871 MB / 364.4 MB, free: 12.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005096/0.2628, allocations: 6.228 MB / 370.7 MB, free: 4.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.449e-05/0.2629, allocations: 40 kB / 370.7 MB, free: 4.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.006225/0.2691, allocations: 4.61 MB / 375.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.85e-05/0.2692, allocations: 74.88 kB / 375.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001187/0.2693, allocations: 150.5 kB / 375.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000817/0.2701, allocations: 400.3 kB / 375.9 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00363/0.2738, allocations: 1.712 MB / 377.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.2766, allocations: 3.578 MB / 381.2 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/0.2798, allocations: 303.8 kB / 381.5 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004148/0.2802, allocations: 352 kB / 381.9 MB, free: 8.949 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 670 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (844): * Single equations (assignments): 839 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001438/0.2816, allocations: 0.6819 MB / 382.5 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/0.2821, allocations: 255.7 kB / 382.8 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.2836, allocations: 0.9786 MB / 383.8 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.2836, allocations: 20 kB / 383.8 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2836, allocations: 0 / 383.8 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.2836, allocations: 11.97 kB / 383.8 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006438/0.2901, allocations: 4.519 MB / 388.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.2901, allocations: 8 kB / 388.3 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.2911, allocations: 328.2 kB / 388.7 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/0.2918, allocations: 0.4971 MB / 389.1 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008779/0.2927, allocations: 430.5 kB / 389.6 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.544e-05/0.2928, allocations: 36 kB / 389.6 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.2948, allocations: 2.763 MB / 392.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.2949, allocations: 15.86 kB / 392.4 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.2971, allocations: 1.917 MB / 394.3 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003536/0.2974, allocations: 36 kB / 394.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009116/0.2983, allocations: 39.98 kB / 394.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.2985, allocations: 124.6 kB / 394.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.51e-05/0.2986, allocations: 43.98 kB / 394.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001484/0.3001, allocations: 1.435 MB / 396 MB, free: 10.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3001, allocations: 0 / 396 MB, free: 10.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003855/0.304, allocations: 1.226 MB / 397.2 MB, free: 9.145 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (151): * Single equations (assignments): 146 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003324/0.3043, allocations: 175.9 kB / 397.4 MB, free: 8.961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002786/0.3071, allocations: 2.848 MB / 400.2 MB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001678/0.3073, allocations: 122.8 kB / 400.3 MB, free: 5.977 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006206/0.3079, allocations: 0.7081 MB / 401 MB, free: 5.242 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.3097, allocations: 1.054 MB / 402.1 MB, free: 4.195 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.3236, allocations: 9.359 MB / 411.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.3248, allocations: 1.566 MB / 413 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001185/0.326, allocations: 0.5627 MB / 413.6 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000798/0.3268, allocations: 0.6183 MB / 414.2 MB, free: 7.906 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3268, allocations: 0 / 414.2 MB, free: 7.906 MB / 362.7 MB Notification: Performance of Templates: time 0.1513/0.4781, allocations: 34.67 MB / 448.9 MB, free: 100.1 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.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: 3.783300755545497]