Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009506/0.0009506, allocations: 88.2 kB / 20.94 MB, free: 3.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.001045/0.001045, allocations: 169 kB / 24.25 MB, free: 304 kB / 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.8805/0.8805, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1243/0.1243, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 3.938 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.495e-05, allocations: 4.281 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01213/0.01214, allocations: 13.75 MB / 361.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007081/0.01922, allocations: 4.56 MB / 366 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.02031, allocations: 111.4 kB / 366.1 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00501/0.02532, allocations: 4.536 MB / 370.6 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002853/0.02817, allocations: 2.403 MB / 373 MB, free: 312 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.02954, allocations: 1.037 MB / 374.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005449/0.03499, allocations: 6.529 MB / 380.6 MB, free: 8.723 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004418/0.03941, allocations: 4.75 MB / 385.4 MB, free: 3.906 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003982/0.04339, allocations: 3.372 MB / 388.7 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003132/0.04652, allocations: 3.297 MB / 392 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005563/0.04708, allocations: 500 kB / 392.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.04888, allocations: 1.33 MB / 393.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001675/0.05055, allocations: 2.856 MB / 396.7 MB, free: 8.539 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.05191, allocations: 1.811 MB / 398.5 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00475/0.05666, allocations: 6.131 MB / 404.6 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.05667, allocations: 4 kB / 404.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.05667, allocations: 0 / 404.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.29e-05/0.05673, allocations: 4 kB / 404.6 MB, free: 0.5625 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: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.007094/0.06383, allocations: 6.903 MB / 411.5 MB, free: 9.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.06387, allocations: 12.03 kB / 411.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006492/0.07036, allocations: 3.223 MB / 414.8 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00417/0.07453, allocations: 3.499 MB / 418.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.07468, allocations: 316.3 kB / 418.6 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004411/0.07512, allocations: 416.2 kB / 419 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008374/0.08349, allocations: 7.178 MB / 426.2 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-05/0.08359, allocations: 59.52 kB / 426.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/0.08391, allocations: 195.8 kB / 426.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002115/0.08602, allocations: 2.202 MB / 428.6 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006185/0.09221, allocations: 3.761 MB / 432.4 MB, free: 3.582 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1673/0.2595, allocations: 49.69 MB / 482.1 MB, free: 63.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004544/0.2641, allocations: 2.222 MB / 484.3 MB, free: 63.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009127/0.265, allocations: 0.7849 MB / 485.1 MB, free: 63.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006221/0.2712, allocations: 6.293 MB / 491.4 MB, free: 60.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.2713, allocations: 63.08 kB / 491.4 MB, free: 60.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=190): time 4.178e-06/0.2713, allocations: 3.344 kB / 491.4 MB, free: 60.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=212): time 0.02441/0.2957, allocations: 14.71 MB / 0.4943 GB, free: 49.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.2957, allocations: 205.2 kB / 0.4945 GB, free: 49.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003104/0.2988, allocations: 4.157 MB / 0.4985 GB, free: 45.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.2989, allocations: 65.08 kB / 0.4986 GB, free: 45.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.3002, allocations: 4.036 MB / 0.5025 GB, free: 41.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004646/0.3006, allocations: 0.8709 MB / 0.5034 GB, free: 40.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.3017, allocations: 1.476 MB / 0.5048 GB, free: 39.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.718e-05/0.3017, allocations: 480.7 kB / 0.5053 GB, free: 38.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.3029, allocations: 0.8214 MB / 0.5061 GB, free: 38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/0.3053, allocations: 6.722 MB / 0.5127 GB, free: 28.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004661/0.3099, allocations: 8.259 MB / 0.5207 GB, free: 17.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.172e-05/0.31, allocations: 40 kB / 0.5208 GB, free: 17.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=888) (initialization): time 0.007744/0.3177, allocations: 6.684 MB / 0.5273 GB, free: 11.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.3178, allocations: 64 kB / 0.5274 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.012e-05/0.3179, allocations: 140 kB / 0.5275 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/0.3202, allocations: 1.125 MB / 0.5286 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.3226, allocations: 1.545 MB / 0.5301 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004574/0.3271, allocations: 6.211 MB / 0.5362 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/0.33, allocations: 439.4 kB / 0.5366 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/0.3302, allocations: 408 kB / 0.537 GB, free: 0.8555 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * 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 (828): * Single equations (assignments): 823 * 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 {(3,31,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001269/0.3315, allocations: 0.7045 MB / 0.5377 GB, free: 144 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004933/0.332, allocations: 469.4 kB / 0.5381 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.3359, allocations: 2.349 MB / 0.5404 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.3359, allocations: 25.95 kB / 0.5404 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.3359, allocations: 8 kB / 0.5404 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.3359, allocations: 11.95 kB / 0.5404 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009567/0.3455, allocations: 6.781 MB / 0.5471 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.3455, allocations: 4 kB / 0.5471 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008316/0.3464, allocations: 335.5 kB / 0.5474 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002258/0.3486, allocations: 0.8845 MB / 0.5483 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.3487, allocations: 40 kB / 0.5483 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005469/0.3542, allocations: 5.783 MB / 0.5539 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3542, allocations: 0 / 0.5539 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005083/0.3593, allocations: 3.455 MB / 0.5573 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.3603, allocations: 0.6845 MB / 0.558 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/0.3606, allocations: 35.98 kB / 0.558 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.3617, allocations: 191.7 kB / 0.5582 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/0.362, allocations: 144.9 kB / 0.5583 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.593e-05/0.3621, allocations: 52 kB / 0.5584 GB, free: 10.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002318/0.3644, allocations: 1.842 MB / 0.5602 GB, free: 8.742 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3644, allocations: 0 / 0.5602 GB, free: 8.742 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004296/0.3687, allocations: 1.418 MB / 0.5616 GB, free: 7.328 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (163): * Single equations (assignments): 158 * 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,27,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.0003969/0.3691, allocations: 186.9 kB / 0.5617 GB, free: 7.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005077/0.3742, allocations: 3.821 MB / 0.5655 GB, free: 3.305 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3742, allocations: 0 / 0.5655 GB, free: 3.305 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.3755, allocations: 1.225 MB / 0.5667 GB, free: 2.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.377, allocations: 0.5053 MB / 0.5672 GB, free: 1.559 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.3894, allocations: 9.582 MB / 0.5765 GB, free: 7.898 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/0.3908, allocations: 1.595 MB / 0.5781 GB, free: 6.277 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002491/0.3932, allocations: 1.737 MB / 0.5798 GB, free: 4.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005482/0.3938, allocations: 276.4 kB / 0.58 GB, free: 4.266 MB / 426.7 MB Notification: Performance of SimCode: time 1.413e-06/0.3938, allocations: 0 / 0.58 GB, free: 4.266 MB / 426.7 MB Notification: Performance of Templates: time 0.1865/0.5802, allocations: 42.23 MB / 0.6213 GB, free: 165.8 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.490975386230275]