Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.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.0009961/0.0009961, allocations: 82.59 kB / 21.42 MB, free: 3.066 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.000984/0.000984, allocations: 166.5 kB / 24.82 MB, free: 9.305 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.983/0.983, allocations: 177 MB / 205.1 MB, free: 5.465 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.3453/0.3453, allocations: 34.87 MB / 296.6 MB, free: 448 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.Parts.Rotor1D.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.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.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.Parts.Rotor1D.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.491e-05, allocations: 2.312 kB / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.0102/0.01022, allocations: 12.76 MB / 392 MB, free: 4.984 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007832/0.01805, allocations: 4.458 MB / 396.5 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/0.02025, allocations: 107.4 kB / 396.6 MB, free: 416 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00488/0.02513, allocations: 4.431 MB / 401 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005065/0.03019, allocations: 2.27 MB / 403.3 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.03189, allocations: 1.037 MB / 404.3 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00652/0.03841, allocations: 6.882 MB / 411.2 MB, free: 1.746 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005078/0.04349, allocations: 4.68 MB / 415.9 MB, free: 13 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005441/0.04893, allocations: 4.242 MB / 420.1 MB, free: 8.746 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003569/0.0525, allocations: 3.11 MB / 423.2 MB, free: 5.629 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008563/0.05335, allocations: 484 kB / 423.7 MB, free: 5.156 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.05511, allocations: 1.303 MB / 425 MB, free: 3.852 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002022/0.05713, allocations: 2.704 MB / 427.7 MB, free: 1.141 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001841/0.05897, allocations: 1.726 MB / 429.4 MB, free: 15.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007543/0.06652, allocations: 5.84 MB / 435.3 MB, free: 9.551 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.06652, allocations: 4 kB / 435.3 MB, free: 9.547 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.06653, allocations: 0 / 435.3 MB, free: 9.547 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002491/0.06678, allocations: 0 / 435.3 MB, free: 9.547 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: 1731 * Number of variables: 1731 Notification: Performance of Generate backend data structure: time 0.008181/0.07496, allocations: 6.401 MB / 441.7 MB, free: 3.074 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0003513/0.07531, allocations: 12.03 kB / 441.7 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005557/0.08087, allocations: 2.233 MB / 443.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1924/0.2733, allocations: 2.841 MB / 446.7 MB, free: 92.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.2736, allocations: 299.6 kB / 447 MB, free: 92.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/0.2749, allocations: 424.7 kB / 447.5 MB, free: 92.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.2869, allocations: 6.385 MB / 453.8 MB, free: 89.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002823/0.2872, allocations: 59.8 kB / 453.9 MB, free: 89.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009176/0.2881, allocations: 185.9 kB / 454.1 MB, free: 89.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002165/0.2903, allocations: 1.772 MB / 455.8 MB, free: 89.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008703/0.299, allocations: 2.795 MB / 458.6 MB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03803/0.337, allocations: 47.84 MB / 0.4946 GB, free: 50.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004615/0.3416, allocations: 1.701 MB / 0.4963 GB, free: 50.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008874/0.3425, allocations: 0.4968 MB / 0.4968 GB, free: 50.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007841/0.3503, allocations: 4.392 MB / 0.501 GB, free: 48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.3504, allocations: 61.16 kB / 0.5011 GB, free: 47.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 4.889e-06/0.3504, allocations: 0 / 0.5011 GB, free: 47.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01819/0.3686, allocations: 5.945 MB / 0.5069 GB, free: 46.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.3686, allocations: 204.4 kB / 0.5071 GB, free: 46.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005326/0.374, allocations: 4.147 MB / 0.5112 GB, free: 44.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002183/0.3742, allocations: 45.52 kB / 0.5112 GB, free: 44.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002343/0.3765, allocations: 4.007 MB / 0.5151 GB, free: 41.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008453/0.3774, allocations: 0.6783 MB / 0.5158 GB, free: 40.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001626/0.379, allocations: 1.451 MB / 0.5172 GB, free: 39.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.3791, allocations: 476.8 kB / 0.5176 GB, free: 38.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.3801, allocations: 0.5599 MB / 0.5182 GB, free: 38.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003204/0.3833, allocations: 6.627 MB / 0.5247 GB, free: 29.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005052/0.3884, allocations: 7.809 MB / 0.5323 GB, free: 18.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001378/0.3885, allocations: 44 kB / 0.5323 GB, free: 18.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=844) (initialization): time 0.007647/0.3961, allocations: 5.199 MB / 0.5374 GB, free: 14.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/0.3962, allocations: 68 kB / 0.5375 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001831/0.3964, allocations: 144 kB / 0.5376 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008713/0.3973, allocations: 404.3 kB / 0.538 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/0.3997, allocations: 1.46 MB / 0.5394 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.402, allocations: 4.784 MB / 0.5441 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/0.4054, allocations: 287.7 kB / 0.5444 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005172/0.4059, allocations: 339.8 kB / 0.5447 GB, free: 6.789 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * 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 (804): * Single equations (assignments): 799 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002123/0.408, allocations: 0.709 MB / 0.5454 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/0.4091, allocations: 429.4 kB / 0.5458 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.4105, allocations: 0.9847 MB / 0.5468 GB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.4105, allocations: 20 kB / 0.5468 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.4105, allocations: 4 kB / 0.5468 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.4105, allocations: 5.062 kB / 0.5468 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008567/0.4191, allocations: 5.067 MB / 0.5517 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.4191, allocations: 4 kB / 0.5517 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/0.4197, allocations: 244.3 kB / 0.552 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005589/0.4203, allocations: 203.1 kB / 0.5522 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.4204, allocations: 32 kB / 0.5522 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002751/0.4232, allocations: 3.89 MB / 0.556 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.4232, allocations: 8 kB / 0.556 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.4263, allocations: 2.157 MB / 0.5581 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.4273, allocations: 373.3 kB / 0.5585 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/0.4277, allocations: 31.98 kB / 0.5585 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007318/0.4284, allocations: 43.98 kB / 0.5585 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.4286, allocations: 108.7 kB / 0.5586 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.785e-05/0.4286, allocations: 47.92 kB / 0.5587 GB, free: 8.309 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002517/0.4312, allocations: 1.681 MB / 0.5603 GB, free: 6.621 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4312, allocations: 0 / 0.5603 GB, free: 6.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005305/0.4365, allocations: 1.148 MB / 0.5614 GB, free: 5.473 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (130): * Single equations (assignments): 125 * 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.0004659/0.4369, allocations: 174.9 kB / 0.5616 GB, free: 5.289 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005648/0.4426, allocations: 3.02 MB / 0.5646 GB, free: 2.258 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.4426, allocations: 0 / 0.5646 GB, free: 2.258 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009546/0.4435, allocations: 0.8101 MB / 0.5654 GB, free: 1.414 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.4463, allocations: 0.4964 MB / 0.5658 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/0.4641, allocations: 8.742 MB / 0.5744 GB, free: 8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00286/0.4669, allocations: 1.477 MB / 0.5758 GB, free: 6.492 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001841/0.4688, allocations: 0.5379 MB / 0.5763 GB, free: 5.949 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.4699, allocations: 0.6426 MB / 0.577 GB, free: 5.305 MB / 442.7 MB Notification: Performance of SimCode: time 2.785e-06/0.4699, allocations: 0 / 0.577 GB, free: 5.305 MB / 442.7 MB Notification: Performance of Templates: time 0.06084/0.5307, allocations: 32.04 MB / 0.6083 GB, free: 5.645 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/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: 4.672278421930969]