Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.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.001004/0.001004, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001165/0.001165, allocations: 159.4 kB / 24.91 MB, free: 8.719 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.9542/0.9542, allocations: 177 MB / 205.2 MB, free: 5.039 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.2516/0.2516, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 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.Joints.GearConstraint,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.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,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.Joints.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.779e-05, allocations: 9.406 kB / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.0162/0.01623, allocations: 17.42 MB / 343.4 MB, free: 5.641 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009182/0.02541, allocations: 5.443 MB / 348.8 MB, free: 184 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.0266, allocations: 135.4 kB / 348.9 MB, free: 48 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004646/0.03125, allocations: 5.12 MB / 354 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004629/0.03588, allocations: 3.262 MB / 357.3 MB, free: 7.633 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.0374, allocations: 1.018 MB / 358.3 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008396/0.0458, allocations: 9.2 MB / 367.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006427/0.05223, allocations: 6.068 MB / 373.6 MB, free: 7.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006447/0.05867, allocations: 5.434 MB / 379 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004455/0.06313, allocations: 4.158 MB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.06417, allocations: 0.6328 MB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.06598, allocations: 1.452 MB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002222/0.0682, allocations: 3.896 MB / 389.2 MB, free: 7.625 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002416/0.07062, allocations: 2.399 MB / 391.6 MB, free: 5.219 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007323/0.07794, allocations: 8.465 MB / 400 MB, free: 12.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.07795, allocations: 0 / 400 MB, free: 12.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.07795, allocations: 4 kB / 400 MB, free: 12.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002619/0.07821, allocations: 0 / 400 MB, free: 12.72 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2997 * Number of variables: 2997 Notification: Performance of Generate backend data structure: time 0.02101/0.09922, allocations: 8.26 MB / 408.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.09927, allocations: 8.031 kB / 408.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/0.1128, allocations: 2.576 MB / 410.9 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.1238, allocations: 3.479 MB / 414.4 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004899/0.1243, allocations: 439.5 kB / 414.8 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005445/0.1297, allocations: 0.5742 MB / 415.4 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01539/0.1451, allocations: 9.168 MB / 424.5 MB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002312/0.1454, allocations: 71.38 kB / 424.6 MB, free: 2.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000626/0.146, allocations: 275.7 kB / 424.9 MB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003541/0.1495, allocations: 3.693 MB / 428.6 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.1625, allocations: 4.808 MB / 433.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3518/0.5144, allocations: 54.9 MB / 488.3 MB, free: 66.08 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004986/0.5193, allocations: 2.803 MB / 491.1 MB, free: 65.54 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008631/0.5202, allocations: 0.7692 MB / 491.8 MB, free: 65.43 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007967/0.5282, allocations: 6.737 MB / 498.6 MB, free: 60.19 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.5282, allocations: 72.39 kB / 498.6 MB, free: 60.11 MB / 410.8 MB Notification: Performance of pre-optimization done (n=334): time 4.839e-06/0.5282, allocations: 0 / 498.6 MB, free: 60.11 MB / 410.8 MB Notification: Performance of matching and sorting (n=364): time 0.02191/0.5501, allocations: 11.61 MB / 0.4983 GB, free: 49.23 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.5502, allocations: 211.1 kB / 0.4985 GB, free: 48.98 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003091/0.5533, allocations: 5.187 MB / 0.5036 GB, free: 44.25 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.5534, allocations: 69.7 kB / 0.5036 GB, free: 44.18 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.5547, allocations: 5.573 MB / 0.5091 GB, free: 38.72 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005071/0.5552, allocations: 1.407 MB / 0.5104 GB, free: 37.3 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001298/0.5565, allocations: 2.01 MB / 0.5124 GB, free: 35.29 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.477e-05/0.5565, allocations: 301.1 kB / 0.5127 GB, free: 34.99 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.5583, allocations: 1.405 MB / 0.5141 GB, free: 33.58 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002913/0.5612, allocations: 7.331 MB / 0.5212 GB, free: 23.35 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004776/0.566, allocations: 9.53 MB / 0.5305 GB, free: 11.08 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.015e-05/0.566, allocations: 64 kB / 0.5306 GB, free: 11.02 MB / 410.8 MB Notification: Performance of matching and sorting (n=1415) (initialization): time 0.006404/0.5724, allocations: 7.197 MB / 0.5376 GB, free: 3.773 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.5725, allocations: 96 kB / 0.5377 GB, free: 3.68 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.864e-05/0.5726, allocations: 220.1 kB / 0.5379 GB, free: 3.465 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008557/0.5734, allocations: 0.5825 MB / 0.5385 GB, free: 2.875 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003347/0.5768, allocations: 2.32 MB / 0.5408 GB, free: 0.5508 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003873/0.5806, allocations: 6.571 MB / 0.5472 GB, free: 9.641 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/0.584, allocations: 443.9 kB / 0.5476 GB, free: 9.207 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005234/0.5845, allocations: 0.5351 MB / 0.5481 GB, free: 8.672 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 980 * Number of states: 0 () * Number of discrete variables: 53 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],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 (1319): * Single equations (assignments): 1306 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (2,13,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002073/0.5866, allocations: 0.9664 MB / 0.5491 GB, free: 7.695 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005376/0.5871, allocations: 379.6 kB / 0.5494 GB, free: 7.324 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.5896, allocations: 1.928 MB / 0.5513 GB, free: 5.336 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/0.5896, allocations: 43.98 kB / 0.5514 GB, free: 5.293 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5896, allocations: 7.938 kB / 0.5514 GB, free: 5.285 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.5896, allocations: 15.95 kB / 0.5514 GB, free: 5.27 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00972/0.5993, allocations: 8.149 MB / 0.5593 GB, free: 12.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.5993, allocations: 15.83 kB / 0.5594 GB, free: 12.79 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.6004, allocations: 459.3 kB / 0.5598 GB, free: 12.34 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008496/0.6013, allocations: 0.5712 MB / 0.5603 GB, free: 11.76 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.6014, allocations: 72 kB / 0.5604 GB, free: 11.69 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.6042, allocations: 5.684 MB / 0.566 GB, free: 5.648 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/0.6043, allocations: 23.88 kB / 0.566 GB, free: 5.625 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/0.6075, allocations: 3.268 MB / 0.5692 GB, free: 1.98 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005925/0.6081, allocations: 0.5234 MB / 0.5697 GB, free: 1.453 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003684/0.6085, allocations: 71.97 kB / 0.5698 GB, free: 1.383 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009272/0.6094, allocations: 68 kB / 0.5698 GB, free: 1.316 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.6097, allocations: 237.2 kB / 0.5701 GB, free: 1.086 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.6098, allocations: 95.97 kB / 0.5701 GB, free: 0.9922 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001577/0.6114, allocations: 1.875 MB / 0.572 GB, free: 15.14 MB / 458.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6114, allocations: 0 / 0.572 GB, free: 15.14 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005014/0.6164, allocations: 1.836 MB / 0.5738 GB, free: 13.31 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * 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 (283): * Single equations (assignments): 270 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,10,100.0%), (1,2,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003516/0.6168, allocations: 219.6 kB / 0.574 GB, free: 13.09 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.004444/0.6212, allocations: 4.774 MB / 0.5786 GB, free: 8.285 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 0.00019/0.6214, allocations: 128.2 kB / 0.5788 GB, free: 8.152 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.6226, allocations: 1.422 MB / 0.5801 GB, free: 6.672 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/0.6252, allocations: 1.135 MB / 0.5813 GB, free: 5.559 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.6399, allocations: 14.67 MB / 0.5956 GB, free: 6.574 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/0.6419, allocations: 2.436 MB / 0.598 GB, free: 4.102 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.001977/0.6438, allocations: 0.8649 MB / 0.5988 GB, free: 3.234 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/0.6452, allocations: 0.8995 MB / 0.5997 GB, free: 2.332 MB / 474.8 MB Notification: Performance of SimCode: time 1.333e-06/0.6452, allocations: 4 kB / 0.5997 GB, free: 2.328 MB / 474.8 MB Notification: Performance of Templates: time 0.2096/0.8548, allocations: 54.95 MB / 0.6533 GB, free: 146.8 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.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: 5.095083913765848]