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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 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 1.515/1.515, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 55.91 kB / 347.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2916, allocations: 49.15 MB / 396.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01353/0.3052, allocations: 14.31 MB / 411.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.3172, allocations: 4.698 MB / 415.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004069/0.3213, allocations: 112.1 kB / 415.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009138/0.3304, allocations: 4.292 MB / 420.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008223/0.3387, allocations: 2.333 MB / 422.6 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.3414, allocations: 0.9226 MB / 423.5 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01133/0.3527, allocations: 5.908 MB / 429.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005793/0.3585, allocations: 3.832 MB / 433.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004738/0.3632, allocations: 2.255 MB / 435.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005476/0.3687, allocations: 3.151 MB / 438.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.3701, allocations: 496 kB / 439.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.3734, allocations: 1.401 MB / 440.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00331/0.3767, allocations: 2.711 MB / 443.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004642/0.3813, allocations: 3.003 MB / 446.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.3946, allocations: 9.604 MB / 455.8 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3947, allocations: 0 / 455.8 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3947, allocations: 4 kB / 455.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003071/0.395, allocations: 3.938 kB / 455.8 MB, free: 8.172 MB / 366.1 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.01503/0.41, allocations: 6.429 MB / 462.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.41, allocations: 19.98 kB / 462.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.4216, allocations: 2.641 MB / 464.9 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.4317, allocations: 3.973 MB / 468.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003344/0.432, allocations: 312.5 kB / 469.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001658/0.4337, allocations: 447.9 kB / 469.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/0.4579, allocations: 12.23 MB / 481.9 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/0.458, allocations: 59.52 kB / 481.9 MB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005365/0.4586, allocations: 199.8 kB / 482.1 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00377/0.4623, allocations: 2.206 MB / 484.3 MB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0208/0.4831, allocations: 10.54 MB / 494.9 MB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06662/0.5498, allocations: 47.26 MB / 0.5294 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.5607, allocations: 3.994 MB / 0.5333 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003677/0.5644, allocations: 2.463 MB / 0.5357 GB, free: 9.043 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01785/0.5822, allocations: 9.962 MB / 0.5455 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.071e-05/0.5823, allocations: 51.88 kB / 0.5455 GB, free: 14.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=192): time 5.22e-06/0.5823, allocations: 0 / 0.5455 GB, free: 14.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=218): time 0.2989/0.8812, allocations: 21.03 MB / 0.566 GB, free: 143.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.8813, allocations: 211.2 kB / 0.5662 GB, free: 143.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008724/0.89, allocations: 4.83 MB / 0.571 GB, free: 141.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005713/0.8906, allocations: 56.55 kB / 0.571 GB, free: 141.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002679/0.8932, allocations: 3.867 MB / 0.5748 GB, free: 139.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001123/0.8944, allocations: 0.8706 MB / 0.5756 GB, free: 138.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001835/0.8962, allocations: 1.407 MB / 0.577 GB, free: 138.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.8962, allocations: 302.4 kB / 0.5773 GB, free: 137.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004271/0.9005, allocations: 2.577 MB / 0.5798 GB, free: 137 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006434/0.907, allocations: 6.556 MB / 0.5862 GB, free: 130.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008899/0.9158, allocations: 9.806 MB / 0.5958 GB, free: 122.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001702/0.916, allocations: 42.12 kB / 0.5958 GB, free: 122.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01763/0.9336, allocations: 10.26 MB / 0.6059 GB, free: 117.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.9338, allocations: 67.94 kB / 0.6059 GB, free: 117.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002361/0.9341, allocations: 140 kB / 0.6061 GB, free: 117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004013/0.9381, allocations: 1.622 MB / 0.6076 GB, free: 115.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004813/0.9429, allocations: 1.563 MB / 0.6092 GB, free: 113.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.9539, allocations: 10.06 MB / 0.619 GB, free: 103.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006023/0.9599, allocations: 383.5 kB / 0.6194 GB, free: 103.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/0.9613, allocations: 408 kB / 0.6197 GB, free: 102.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 (834): * Single equations (assignments): 829 * 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.005721/0.967, allocations: 2.573 MB / 0.6223 GB, free: 100.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002175/0.9692, allocations: 441 kB / 0.6227 GB, free: 99.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009094/0.9783, allocations: 4.613 MB / 0.6272 GB, free: 95.06 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.736e-05/0.9783, allocations: 24 kB / 0.6272 GB, free: 95.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/0.9783, allocations: 11.94 kB / 0.6272 GB, free: 95.03 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/0.9784, allocations: 11.95 kB / 0.6272 GB, free: 95.02 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/0.9989, allocations: 10.4 MB / 0.6374 GB, free: 84.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.9989, allocations: 0 / 0.6374 GB, free: 84.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.001, allocations: 339.5 kB / 0.6377 GB, free: 84.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003605/1.004, allocations: 1.367 MB / 0.639 GB, free: 82.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002368/1.004, allocations: 39.98 kB / 0.6391 GB, free: 82.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009143/1.013, allocations: 9.18 MB / 0.648 GB, free: 73.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.013, allocations: 7.406 kB / 0.6481 GB, free: 73.46 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/1.024, allocations: 7.57 MB / 0.6554 GB, free: 65.85 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002773/1.027, allocations: 0.7234 MB / 0.6561 GB, free: 65.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008407/1.028, allocations: 36 kB / 0.6562 GB, free: 65.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/1.029, allocations: 139.8 kB / 0.6563 GB, free: 64.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004042/1.03, allocations: 133.7 kB / 0.6564 GB, free: 64.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/1.03, allocations: 59.89 kB / 0.6565 GB, free: 64.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003794/1.034, allocations: 3.041 MB / 0.6595 GB, free: 61.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.034, allocations: 0 / 0.6595 GB, free: 61.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006317/1.04, allocations: 1.258 MB / 0.6607 GB, free: 60.48 MB / 478.1 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 (169): * Single equations (assignments): 164 * 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.0004718/1.041, allocations: 182.8 kB / 0.6609 GB, free: 60.29 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009297/1.05, allocations: 6.126 MB / 0.6669 GB, free: 54.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.05, allocations: 1.875 kB / 0.6669 GB, free: 54.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002846/1.053, allocations: 2.05 MB / 0.6689 GB, free: 52.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/1.056, allocations: 0.5455 MB / 0.6694 GB, free: 51.56 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/1.075, allocations: 11.99 MB / 0.6811 GB, free: 39.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003627/1.078, allocations: 4.006 MB / 0.685 GB, free: 35.49 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00401/1.082, allocations: 2.079 MB / 0.687 GB, free: 33.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007948/1.083, allocations: 279.4 kB / 0.6873 GB, free: 33.14 MB / 478.1 MB Notification: Performance of SimCode: time 1.984e-06/1.083, allocations: 4 kB / 0.6873 GB, free: 33.14 MB / 478.1 MB Notification: Performance of Templates: time 0.08841/1.172, allocations: 49.03 MB / 0.7352 GB, free: 212 kB / 494.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.4379364950582385]