Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.001264/0.001264, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.006746/0.006746, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 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.8396/0.8396, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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(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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.256e-05, allocations: 2.281 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.00833/0.008352, allocations: 11.76 MB / 337.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007522/0.01587, allocations: 4.368 MB / 341.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.0175, allocations: 111.4 kB / 342 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004044/0.02154, allocations: 4.287 MB / 346.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003467/0.02501, allocations: 2.259 MB / 348.6 MB, free: 8.496 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.02637, allocations: 1.025 MB / 349.6 MB, free: 7.469 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005717/0.03208, allocations: 6.864 MB / 356.4 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003819/0.0359, allocations: 4.53 MB / 361 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.03873, allocations: 3.243 MB / 364.2 MB, free: 8.742 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.04146, allocations: 3.028 MB / 367.2 MB, free: 5.707 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004653/0.04193, allocations: 480 kB / 367.7 MB, free: 5.238 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.04339, allocations: 1.307 MB / 369 MB, free: 3.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.04482, allocations: 2.673 MB / 371.7 MB, free: 1.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.046, allocations: 1.71 MB / 373.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006302/0.0523, allocations: 9.191 MB / 382.6 MB, free: 6.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.0523, allocations: 0 / 382.6 MB, free: 6.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.05231, allocations: 0 / 382.6 MB, free: 6.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.353e-05/0.05239, allocations: 0 / 382.6 MB, free: 6.316 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1731 * Number of variables: 1731 Notification: Performance of Generate backend data structure: time 0.007457/0.05985, allocations: 6.214 MB / 388.8 MB, free: 40 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.05989, allocations: 11.98 kB / 388.8 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005747/0.06564, allocations: 2.703 MB / 391.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00464/0.07028, allocations: 3.718 MB / 395.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.07041, allocations: 300.1 kB / 395.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000709/0.07112, allocations: 429.6 kB / 396 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.08258, allocations: 11.6 MB / 407.6 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.354e-05/0.08267, allocations: 67.45 kB / 407.6 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003221/0.08299, allocations: 183.9 kB / 407.8 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002039/0.08503, allocations: 2.026 MB / 409.8 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.09659, allocations: 9.92 MB / 419.7 MB, free: 272 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1776/0.2742, allocations: 41.87 MB / 461.6 MB, free: 84.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005641/0.2798, allocations: 3.908 MB / 465.5 MB, free: 84.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.2814, allocations: 2.3 MB / 467.8 MB, free: 83.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007669/0.2891, allocations: 9.059 MB / 476.9 MB, free: 79.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2891, allocations: 58.19 kB / 476.9 MB, free: 79.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=171): time 3.888e-06/0.2891, allocations: 0 / 476.9 MB, free: 79.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=197): time 0.02794/0.317, allocations: 20.7 MB / 497.6 MB, free: 61.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.3171, allocations: 201.2 kB / 497.8 MB, free: 60.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/0.3203, allocations: 4.609 MB / 0.4907 GB, free: 56.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.97e-05/0.3204, allocations: 49.7 kB / 0.4907 GB, free: 56.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008745/0.3212, allocations: 3.687 MB / 0.4943 GB, free: 52.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/0.3216, allocations: 0.7823 MB / 0.4951 GB, free: 52.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008468/0.3225, allocations: 1.326 MB / 0.4964 GB, free: 50.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.557e-05/0.3225, allocations: 305.1 kB / 0.4967 GB, free: 50.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.3243, allocations: 2.402 MB / 0.499 GB, free: 48.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002494/0.3268, allocations: 6.299 MB / 0.5052 GB, free: 39.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005099/0.3319, allocations: 9.296 MB / 0.5142 GB, free: 28.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.259e-05/0.3319, allocations: 40 kB / 0.5143 GB, free: 28.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.008225/0.3401, allocations: 9.743 MB / 0.5238 GB, free: 19.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/0.3402, allocations: 60 kB / 0.5239 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.752e-05/0.3402, allocations: 136 kB / 0.524 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/0.3424, allocations: 1.608 MB / 0.5256 GB, free: 17.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.3445, allocations: 1.489 MB / 0.527 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006982/0.3515, allocations: 9.933 MB / 0.5367 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.3541, allocations: 419.4 kB / 0.5371 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/0.3544, allocations: 396 kB / 0.5375 GB, free: 4.879 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * 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 (793): * Single equations (assignments): 788 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002362/0.3568, allocations: 2.465 MB / 0.5399 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/0.3571, allocations: 385.4 kB / 0.5403 GB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/0.3619, allocations: 4.181 MB / 0.5443 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.362, allocations: 23.89 kB / 0.5444 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.362, allocations: 11.98 kB / 0.5444 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.362, allocations: 7.969 kB / 0.5444 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.3728, allocations: 8.455 MB / 0.5526 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.3728, allocations: 8.031 kB / 0.5527 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/0.3735, allocations: 295.6 kB / 0.5529 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.3757, allocations: 1.349 MB / 0.5542 GB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.3758, allocations: 43.92 kB / 0.5543 GB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007745/0.3835, allocations: 9.146 MB / 0.5632 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3835, allocations: 0 / 0.5632 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007292/0.3908, allocations: 6.935 MB / 0.57 GB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007841/0.3916, allocations: 397.3 kB / 0.5704 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.3919, allocations: 32 kB / 0.5704 GB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009297/0.3928, allocations: 175.7 kB / 0.5706 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.393, allocations: 129 kB / 0.5707 GB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.377e-05/0.3931, allocations: 51.28 kB / 0.5707 GB, free: 2.547 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002952/0.3961, allocations: 2.741 MB / 0.5734 GB, free: 15.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3961, allocations: 0 / 0.5734 GB, free: 15.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003504/0.3996, allocations: 1.336 MB / 0.5747 GB, free: 14.46 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (147): * Single equations (assignments): 142 * 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.0003393/0.3999, allocations: 182.4 kB / 0.5749 GB, free: 14.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005871/0.4058, allocations: 5.733 MB / 0.5805 GB, free: 8.543 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4058, allocations: 0 / 0.5805 GB, free: 8.543 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.4075, allocations: 1.883 MB / 0.5823 GB, free: 6.633 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.409, allocations: 482.8 kB / 0.5828 GB, free: 6.168 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.422, allocations: 11.68 MB / 0.5942 GB, free: 10.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002726/0.4247, allocations: 3.276 MB / 0.5974 GB, free: 7.109 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007265/0.4254, allocations: 304.4 kB / 0.5977 GB, free: 6.812 MB / 474.7 MB Notification: Performance of SimCode: time 1.153e-06/0.4254, allocations: 0 / 0.5977 GB, free: 6.812 MB / 474.7 MB Notification: Performance of Templates: time 0.2247/0.6502, allocations: 113.9 MB / 0.7089 GB, free: 91.79 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.410828894004226]