Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.0009573/0.0009573, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001055/0.001055, allocations: 170.1 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9166/0.9166, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1747/0.1747, allocations: 34.26 MB / 296.1 MB, free: 13.98 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 325.2 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.41e-05, allocations: 2.312 kB / 325.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01122/0.01125, allocations: 12.69 MB / 337.9 MB, free: 4.023 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1638/0.1751, allocations: 4.615 MB / 342.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.177, allocations: 109.5 kB / 342.7 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005514/0.1826, allocations: 4.484 MB / 347.1 MB, free: 19.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004362/0.1869, allocations: 2.277 MB / 349.4 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.1885, allocations: 1.047 MB / 350.5 MB, free: 18.92 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005796/0.1943, allocations: 6.804 MB / 357.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003894/0.1982, allocations: 4.74 MB / 362 MB, free: 12.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004304/0.2025, allocations: 4.227 MB / 366.2 MB, free: 8.617 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/0.2051, allocations: 2.969 MB / 369.2 MB, free: 5.848 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008288/0.206, allocations: 476 kB / 369.7 MB, free: 5.383 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.2075, allocations: 1.296 MB / 371 MB, free: 4.145 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.2089, allocations: 2.699 MB / 373.7 MB, free: 1.527 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001941/0.2108, allocations: 1.705 MB / 375.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005694/0.2165, allocations: 5.811 MB / 381.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2165, allocations: 4 kB / 381.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2165, allocations: 0 / 381.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002301/0.2167, allocations: 0 / 381.2 MB, free: 10.43 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.007678/0.2244, allocations: 5.715 MB / 386.9 MB, free: 5.102 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2244, allocations: 8.031 kB / 386.9 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/0.2278, allocations: 1.366 MB / 388.3 MB, free: 3.777 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003951/0.2318, allocations: 2.657 MB / 390.9 MB, free: 1.254 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.2319, allocations: 294.7 kB / 391.2 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006208/0.2325, allocations: 400 kB / 391.6 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006811/0.2393, allocations: 5.683 MB / 397.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.2394, allocations: 55.55 kB / 397.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003071/0.2398, allocations: 183.9 kB / 397.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001471/0.2412, allocations: 1.774 MB / 399.3 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005205/0.2464, allocations: 2.719 MB / 402 MB, free: 5.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02881/0.2752, allocations: 34.49 MB / 436.5 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/0.2787, allocations: 1.608 MB / 438.1 MB, free: 436 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/0.2791, allocations: 374.8 kB / 438.5 MB, free: 48 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005491/0.2846, allocations: 3.97 MB / 442.5 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.2847, allocations: 47.5 kB / 442.5 MB, free: 12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=138): time 4.469e-06/0.2847, allocations: 4 kB / 442.5 MB, free: 12 MB / 394.7 MB Notification: Performance of matching and sorting (n=151): time 0.01264/0.2973, allocations: 5.573 MB / 448.1 MB, free: 6.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.2974, allocations: 200.9 kB / 448.3 MB, free: 6.156 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003278/0.3007, allocations: 3.729 MB / 452 MB, free: 2.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.501e-05/0.3008, allocations: 57.69 kB / 452.1 MB, free: 2.324 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.3023, allocations: 3.488 MB / 455.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000533/0.3028, allocations: 0.6281 MB / 456.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009403/0.3038, allocations: 1.247 MB / 457.4 MB, free: 12.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.3038, allocations: 301.1 kB / 457.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.3049, allocations: 0.7518 MB / 458.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002775/0.3077, allocations: 4.701 MB / 463.2 MB, free: 5.121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004279/0.312, allocations: 5.992 MB / 469.2 MB, free: 13.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.011e-05/0.312, allocations: 40 kB / 469.2 MB, free: 13.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=839) (initialization): time 0.006029/0.3181, allocations: 4.406 MB / 473.6 MB, free: 8.637 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.3181, allocations: 64 kB / 473.7 MB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.599e-05/0.3182, allocations: 147.9 kB / 473.8 MB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007367/0.319, allocations: 396.3 kB / 474.2 MB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.3211, allocations: 1.45 MB / 475.7 MB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.3233, allocations: 3.348 MB / 479 MB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/0.3262, allocations: 295.7 kB / 479.3 MB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003206/0.3266, allocations: 336 kB / 479.6 MB, free: 2.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 652 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (801): * Single equations (assignments): 796 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001334/0.3279, allocations: 0.6651 MB / 480.3 MB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/0.3284, allocations: 235.7 kB / 480.5 MB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.3295, allocations: 0.833 MB / 481.4 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.3295, allocations: 20 kB / 481.4 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.3296, allocations: 4 kB / 481.4 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.3296, allocations: 3.984 kB / 481.4 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/0.335, allocations: 4.16 MB / 485.5 MB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/0.335, allocations: 4 kB / 485.5 MB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005639/0.3356, allocations: 232.2 kB / 485.8 MB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007157/0.3363, allocations: 411.4 kB / 486.2 MB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.852e-05/0.3364, allocations: 31.98 kB / 486.2 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.3382, allocations: 2.769 MB / 489 MB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3382, allocations: 11.94 kB / 489 MB, free: 8.711 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.3401, allocations: 1.725 MB / 490.7 MB, free: 6.883 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006325/0.3407, allocations: 361.3 kB / 491.1 MB, free: 6.527 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.341, allocations: 32.09 kB / 491.1 MB, free: 6.496 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/0.3416, allocations: 47.86 kB / 491.1 MB, free: 6.449 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.3417, allocations: 108.6 kB / 491.2 MB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/0.3418, allocations: 36 kB / 491.3 MB, free: 6.305 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001396/0.3432, allocations: 1.406 MB / 492.7 MB, free: 4.887 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3432, allocations: 0 / 492.7 MB, free: 4.887 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003807/0.347, allocations: 1.121 MB / 493.8 MB, free: 3.766 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (123): * Single equations (assignments): 118 * 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.0003559/0.3474, allocations: 168 kB / 494 MB, free: 3.594 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00337/0.3507, allocations: 2.689 MB / 496.7 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001719/0.3509, allocations: 104.2 kB / 496.8 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000696/0.3516, allocations: 0.6254 MB / 497.4 MB, free: 140 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/0.3543, allocations: 0.7372 MB / 498.1 MB, free: 15.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.3661, allocations: 8.586 MB / 0.4948 GB, free: 6.664 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.3674, allocations: 1.472 MB / 0.4963 GB, free: 5.164 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001526/0.369, allocations: 0.534 MB / 0.4968 GB, free: 4.625 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009024/0.3699, allocations: 0.5987 MB / 0.4974 GB, free: 4.027 MB / 458.7 MB Notification: Performance of SimCode: time 2.324e-06/0.3699, allocations: 0 / 0.4974 GB, free: 4.027 MB / 458.7 MB Notification: Performance of Templates: time 0.1893/0.5591, allocations: 31.68 MB / 0.5283 GB, free: 134.5 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.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: 4.169904523994774]