Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001845/0.001845, allocations: 112.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.002298/0.002298, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.441/1.441, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 59.84 kB / 378.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2171, allocations: 53.31 MB / 432 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01599/0.2331, allocations: 13.55 MB / 445.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009082/0.2421, allocations: 4.591 MB / 450.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.2438, allocations: 91.75 kB / 450.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007929/0.2517, allocations: 4.241 MB / 454.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00482/0.2565, allocations: 2.185 MB / 456.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.2583, allocations: 0.9359 MB / 457.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007421/0.2657, allocations: 6.124 MB / 463.8 MB, free: 7.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004391/0.2701, allocations: 3.735 MB / 467.5 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.2728, allocations: 2.126 MB / 469.6 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003793/0.2766, allocations: 3.01 MB / 472.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000693/0.2773, allocations: 472 kB / 473.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.2795, allocations: 1.377 MB / 474.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002521/0.282, allocations: 2.556 MB / 477 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002911/0.2849, allocations: 2.84 MB / 479.9 MB, free: 7.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009808/0.2947, allocations: 9.056 MB / 488.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2947, allocations: 4 kB / 488.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2947, allocations: 4 kB / 488.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001284/0.2949, allocations: 0 / 488.9 MB, free: 14.3 MB / 398.1 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.01162/0.3065, allocations: 6.223 MB / 495.1 MB, free: 7.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3065, allocations: 12.03 kB / 495.2 MB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/0.3187, allocations: 2.614 MB / 497.8 MB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008554/0.3273, allocations: 3.826 MB / 0.4898 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.3275, allocations: 296.1 kB / 0.4901 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008471/0.3284, allocations: 431.9 kB / 0.4905 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01852/0.3469, allocations: 11.55 MB / 0.5018 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001375/0.347, allocations: 59.52 kB / 0.5019 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005094/0.3476, allocations: 187.9 kB / 0.5021 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003602/0.3512, allocations: 2.026 MB / 0.504 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.3693, allocations: 9.928 MB / 0.5137 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2343/0.6036, allocations: 45.43 MB / 0.5581 GB, free: 70.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009623/0.6132, allocations: 4.214 MB / 0.5622 GB, free: 69.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/0.6155, allocations: 2.303 MB / 0.5645 GB, free: 68.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01318/0.6287, allocations: 9.865 MB / 0.5741 GB, free: 63.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.6287, allocations: 57.7 kB / 0.5741 GB, free: 63.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=171): time 4.228e-06/0.6287, allocations: 0 / 0.5741 GB, free: 63.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=197): time 0.04663/0.6754, allocations: 20.16 MB / 0.5938 GB, free: 45.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.6754, allocations: 209.2 kB / 0.594 GB, free: 45.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004408/0.6798, allocations: 4.693 MB / 0.5986 GB, free: 40.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.68, allocations: 53.7 kB / 0.5987 GB, free: 40.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.6812, allocations: 3.699 MB / 0.6023 GB, free: 36.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004228/0.6817, allocations: 0.7921 MB / 0.6031 GB, free: 36.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/0.6829, allocations: 1.345 MB / 0.6044 GB, free: 34.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.031e-05/0.6829, allocations: 301.1 kB / 0.6047 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002582/0.6855, allocations: 2.415 MB / 0.607 GB, free: 32.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003652/0.6892, allocations: 6.25 MB / 0.6131 GB, free: 23.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006945/0.6961, allocations: 9.29 MB / 0.6222 GB, free: 12.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.685e-05/0.6962, allocations: 40 kB / 0.6222 GB, free: 12.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01304/0.7092, allocations: 9.773 MB / 0.6318 GB, free: 2.945 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.187e-05/0.7093, allocations: 62.97 kB / 0.6318 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.721e-05/0.7094, allocations: 136 kB / 0.632 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003879/0.7132, allocations: 1.617 MB / 0.6335 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003952/0.7172, allocations: 1.478 MB / 0.635 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/0.7314, allocations: 10.26 MB / 0.645 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004082/0.7355, allocations: 367 kB / 0.6453 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005366/0.736, allocations: 391.9 kB / 0.6457 GB, free: 4.367 MB / 462.1 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.003543/0.7396, allocations: 2.452 MB / 0.6481 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006604/0.7402, allocations: 425.1 kB / 0.6485 GB, free: 1.484 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008633/0.7489, allocations: 4.22 MB / 0.6526 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.7489, allocations: 11.91 kB / 0.6527 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7489, allocations: 4 kB / 0.6527 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008535/0.7498, allocations: 474.1 kB / 0.6531 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/0.7502, allocations: 28 kB / 0.6531 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.7519, allocations: 119.8 kB / 0.6533 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003354/0.7522, allocations: 141 kB / 0.6534 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009408/0.7616, allocations: 4.644 MB / 0.6579 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008093/0.7697, allocations: 5.746 MB / 0.6635 GB, free: 2.086 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002056/0.7718, allocations: 1.392 MB / 0.6649 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004477/0.7762, allocations: 2.96 MB / 0.6678 GB, free: 13.73 MB / 494.1 MB Notification: Performance of Backend: time 3.4e-07/0.7762, allocations: 0 / 0.6678 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009772/0.786, allocations: 4.646 MB / 0.6723 GB, free: 9.098 MB / 494.1 MB Notification: Performance of SimCode: time 0.01852/0.8045, allocations: 11.33 MB / 0.6834 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.1048/0.9093, allocations: 56.02 MB / 0.7381 GB, free: 5.941 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.494152729865164]