Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009666/0.0009666, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000955/0.000955, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9911/0.9911, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2584/0.2584, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 378.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.593e-05, allocations: 2.312 kB / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01479/0.01481, allocations: 13.06 MB / 391.8 MB, free: 4.996 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.02482, allocations: 4.47 MB / 396.3 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002248/0.02707, allocations: 111.4 kB / 396.4 MB, free: 412 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00707/0.03414, allocations: 4.498 MB / 400.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004936/0.03908, allocations: 2.263 MB / 403.2 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.04093, allocations: 1.033 MB / 404.2 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006894/0.04783, allocations: 6.82 MB / 411 MB, free: 1.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004385/0.05221, allocations: 4.644 MB / 415.7 MB, free: 13.04 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00517/0.05738, allocations: 4.246 MB / 419.9 MB, free: 8.781 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003855/0.06124, allocations: 3.094 MB / 423 MB, free: 5.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.06224, allocations: 476 kB / 423.5 MB, free: 5.215 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.06434, allocations: 1.299 MB / 424.8 MB, free: 3.914 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002508/0.06684, allocations: 2.704 MB / 427.5 MB, free: 1.203 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00239/0.06923, allocations: 1.706 MB / 429.2 MB, free: 15.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007584/0.07682, allocations: 5.816 MB / 435 MB, free: 9.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.07683, allocations: 0 / 435 MB, free: 9.656 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.07683, allocations: 0 / 435 MB, free: 9.656 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001891/0.07702, allocations: 0 / 435 MB, free: 9.656 MB / 410.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.01061/0.08762, allocations: 6.659 MB / 441.7 MB, free: 2.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.08767, allocations: 16.03 kB / 441.7 MB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1806/0.2683, allocations: 3.078 MB / 444.8 MB, free: 92.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00535/0.2737, allocations: 3.225 MB / 448 MB, free: 92.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.2738, allocations: 296.5 kB / 448.3 MB, free: 92.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007682/0.2746, allocations: 405.3 kB / 448.7 MB, free: 92.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009763/0.2844, allocations: 6.859 MB / 455.5 MB, free: 89.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001771/0.2846, allocations: 58.3 kB / 455.6 MB, free: 89.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003963/0.285, allocations: 184.2 kB / 455.8 MB, free: 89.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001758/0.2867, allocations: 1.922 MB / 457.7 MB, free: 88.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007538/0.2942, allocations: 3.36 MB / 461 MB, free: 88.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03272/0.327, allocations: 48.05 MB / 0.4972 GB, free: 49.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004374/0.3313, allocations: 1.809 MB / 0.4989 GB, free: 48.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/0.3322, allocations: 0.5449 MB / 0.4995 GB, free: 48.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006436/0.3386, allocations: 4.417 MB / 0.5038 GB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.3386, allocations: 57.27 kB / 0.5038 GB, free: 46.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 3.867e-06/0.3386, allocations: 0 / 0.5038 GB, free: 46.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=151): time 0.0212/0.3599, allocations: 10.29 MB / 0.5139 GB, free: 41.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.3599, allocations: 198.1 kB / 0.5141 GB, free: 41.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004463/0.3644, allocations: 4.202 MB / 0.5182 GB, free: 37.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.3646, allocations: 45.7 kB / 0.5182 GB, free: 37.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001931/0.3665, allocations: 3.98 MB / 0.5221 GB, free: 34.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005576/0.3671, allocations: 0.6545 MB / 0.5227 GB, free: 33.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/0.3682, allocations: 1.41 MB / 0.5241 GB, free: 32.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.3683, allocations: 476.8 kB / 0.5246 GB, free: 31.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009824/0.3693, allocations: 0.6306 MB / 0.5252 GB, free: 31.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002553/0.3718, allocations: 6.666 MB / 0.5317 GB, free: 22.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00498/0.3768, allocations: 7.966 MB / 0.5395 GB, free: 11.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-05/0.3769, allocations: 40 kB / 0.5395 GB, free: 11.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=839) (initialization): time 0.006819/0.3837, allocations: 5.57 MB / 0.545 GB, free: 6.461 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.167e-05/0.3838, allocations: 68 kB / 0.545 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/0.3839, allocations: 147.9 kB / 0.5452 GB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008691/0.3848, allocations: 450.7 kB / 0.5456 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/0.3874, allocations: 1.493 MB / 0.547 GB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.3898, allocations: 4.615 MB / 0.5516 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003242/0.393, allocations: 424.4 kB / 0.552 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004528/0.3934, allocations: 398 kB / 0.5523 GB, free: 14.84 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.001474/0.3949, allocations: 0.7003 MB / 0.553 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006178/0.3955, allocations: 437.3 kB / 0.5534 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.397, allocations: 1.045 MB / 0.5545 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.397, allocations: 25.64 kB / 0.5545 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.397, allocations: 8 kB / 0.5545 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.397, allocations: 3.984 kB / 0.5545 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007878/0.4049, allocations: 5.123 MB / 0.5595 GB, free: 7.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.4049, allocations: 4 kB / 0.5595 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000684/0.4056, allocations: 275.6 kB / 0.5598 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006336/0.4062, allocations: 263 kB / 0.56 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.928e-05/0.4063, allocations: 32 kB / 0.56 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/0.409, allocations: 4.003 MB / 0.564 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.409, allocations: 11.94 kB / 0.564 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/0.4118, allocations: 2.282 MB / 0.5662 GB, free: 120 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008332/0.4127, allocations: 381.5 kB / 0.5666 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/0.4129, allocations: 33.41 kB / 0.5666 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007833/0.4137, allocations: 135.7 kB / 0.5667 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.4139, allocations: 112.5 kB / 0.5668 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/0.414, allocations: 53.61 kB / 0.5669 GB, free: 15.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002346/0.4164, allocations: 1.835 MB / 0.5687 GB, free: 13.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4164, allocations: 3.938 kB / 0.5687 GB, free: 13.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004365/0.4207, allocations: 1.137 MB / 0.5698 GB, free: 12.44 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.0004439/0.4212, allocations: 175.7 kB / 0.5699 GB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004615/0.4258, allocations: 3.161 MB / 0.573 GB, free: 9.086 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.4258, allocations: 4 kB / 0.573 GB, free: 9.082 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009078/0.4267, allocations: 0.8477 MB / 0.5739 GB, free: 8.199 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.4288, allocations: 0.4953 MB / 0.5744 GB, free: 7.723 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.4425, allocations: 8.749 MB / 0.5829 GB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001915/0.4444, allocations: 1.472 MB / 0.5843 GB, free: 13.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003871/0.4482, allocations: 1.692 MB / 0.586 GB, free: 11.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006039/0.4488, allocations: 252.5 kB / 0.5862 GB, free: 11.34 MB / 458.7 MB Notification: Performance of SimCode: time 1.824e-06/0.4489, allocations: 3.938 kB / 0.5862 GB, free: 11.34 MB / 458.7 MB Notification: Performance of Templates: time 0.2001/0.649, allocations: 29.85 MB / 0.6154 GB, free: 136.3 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.524884651880711]