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.001709/0.001709, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.002227/0.002227, allocations: 167.4 kB / 25.61 MB, free: 8.578 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 1.017/1.017, allocations: 177 MB / 205.9 MB, free: 4.453 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.1767/0.1767, allocations: 34.87 MB / 297.4 MB, free: 13.35 MB / 282.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.413e-06/1.413e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.276e-05, allocations: 2.875 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.007991/0.008013, allocations: 12.75 MB / 392.8 MB, free: 9.945 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007432/0.01545, allocations: 4.466 MB / 397.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.01777, allocations: 107.4 kB / 397.3 MB, free: 5.363 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004058/0.02183, allocations: 4.424 MB / 401.8 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004868/0.0267, allocations: 2.278 MB / 404 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.02846, allocations: 1.029 MB / 405.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008011/0.03647, allocations: 6.89 MB / 412 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005582/0.04206, allocations: 4.684 MB / 416.6 MB, free: 1.953 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006795/0.04885, allocations: 4.238 MB / 420.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004696/0.05355, allocations: 3.114 MB / 424 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.05472, allocations: 487.9 kB / 424.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.05732, allocations: 1.303 MB / 425.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0024/0.05972, allocations: 2.692 MB / 428.5 MB, free: 6.105 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002953/0.06268, allocations: 1.726 MB / 430.2 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007572/0.07025, allocations: 5.851 MB / 436 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.07025, allocations: 0 / 436 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.07025, allocations: 0 / 436 MB, free: 14.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001774/0.07043, allocations: 0 / 436 MB, free: 14.5 MB / 362.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.009974/0.08041, allocations: 6.401 MB / 442.4 MB, free: 8.031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.08045, allocations: 8.031 kB / 442.4 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007915/0.08837, allocations: 2.233 MB / 444.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005152/0.09352, allocations: 2.846 MB / 447.5 MB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.09369, allocations: 300.1 kB / 447.8 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008339/0.09452, allocations: 432.5 kB / 448.2 MB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.1049, allocations: 6.38 MB / 454.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.1051, allocations: 55.55 kB / 454.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000477/0.1055, allocations: 187.9 kB / 454.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001535/0.1071, allocations: 1.773 MB / 456.6 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007168/0.1142, allocations: 2.805 MB / 459.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2776/0.3918, allocations: 47.82 MB / 0.4954 GB, free: 59.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003936/0.3958, allocations: 1.705 MB / 0.497 GB, free: 58.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005681/0.3963, allocations: 0.5028 MB / 0.4975 GB, free: 58.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005374/0.4017, allocations: 4.388 MB / 0.5018 GB, free: 58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.4017, allocations: 53.11 kB / 0.5019 GB, free: 57.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 3.237e-06/0.4018, allocations: 0 / 0.5019 GB, free: 57.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01284/0.4146, allocations: 5.952 MB / 0.5077 GB, free: 57.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.4146, allocations: 198.5 kB / 0.5079 GB, free: 56.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/0.4174, allocations: 4.131 MB / 0.5119 GB, free: 56.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.4174, allocations: 49.83 kB / 0.5119 GB, free: 56.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001679/0.4191, allocations: 4.009 MB / 0.5159 GB, free: 54.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004409/0.4195, allocations: 0.6863 MB / 0.5165 GB, free: 53.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/0.421, allocations: 1.446 MB / 0.5179 GB, free: 53.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.421, allocations: 480.7 kB / 0.5184 GB, free: 53.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.4221, allocations: 0.5605 MB / 0.5189 GB, free: 53.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002409/0.4245, allocations: 6.624 MB / 0.5254 GB, free: 45.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004031/0.4285, allocations: 7.822 MB / 0.5331 GB, free: 36.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.416e-05/0.4286, allocations: 40 kB / 0.5331 GB, free: 36.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=844) (initialization): time 0.005729/0.4343, allocations: 5.196 MB / 0.5382 GB, free: 33.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.4344, allocations: 64 kB / 0.5382 GB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.123e-05/0.4345, allocations: 144 kB / 0.5384 GB, free: 33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007524/0.4352, allocations: 418.2 kB / 0.5388 GB, free: 32.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/0.4379, allocations: 1.451 MB / 0.5402 GB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.44, allocations: 4.779 MB / 0.5448 GB, free: 26.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003001/0.443, allocations: 287.7 kB / 0.5451 GB, free: 26.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003757/0.4434, allocations: 344 kB / 0.5454 GB, free: 25.75 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.001357/0.4448, allocations: 0.7003 MB / 0.5461 GB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004603/0.4452, allocations: 435.2 kB / 0.5465 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.4466, allocations: 0.9765 MB / 0.5475 GB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.4467, allocations: 23.12 kB / 0.5475 GB, free: 23.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.4467, allocations: 7.938 kB / 0.5475 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.4467, allocations: 3.984 kB / 0.5475 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00696/0.4536, allocations: 5.058 MB / 0.5525 GB, free: 19.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.4536, allocations: 4 kB / 0.5525 GB, free: 19.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007352/0.4544, allocations: 241.9 kB / 0.5527 GB, free: 18.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006245/0.455, allocations: 219.1 kB / 0.5529 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.368e-05/0.4551, allocations: 36 kB / 0.553 GB, free: 18.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.457, allocations: 3.872 MB / 0.5567 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.457, allocations: 11.88 kB / 0.5567 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/0.46, allocations: 2.156 MB / 0.5588 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/0.4605, allocations: 379.7 kB / 0.5592 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003229/0.4608, allocations: 35.98 kB / 0.5592 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009008/0.4617, allocations: 34.66 kB / 0.5593 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.4619, allocations: 116.6 kB / 0.5594 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/0.462, allocations: 43.98 kB / 0.5594 GB, free: 11.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001898/0.4639, allocations: 1.685 MB / 0.5611 GB, free: 10.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4639, allocations: 0 / 0.5611 GB, free: 10.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004702/0.4686, allocations: 1.143 MB / 0.5622 GB, free: 8.992 MB / 410.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.0002805/0.4689, allocations: 179.4 kB / 0.5624 GB, free: 8.812 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003053/0.4719, allocations: 3.012 MB / 0.5653 GB, free: 5.855 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4719, allocations: 0 / 0.5653 GB, free: 5.855 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007783/0.4727, allocations: 0.8045 MB / 0.5661 GB, free: 5.031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.4748, allocations: 0.4993 MB / 0.5666 GB, free: 4.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.4874, allocations: 8.762 MB / 0.5751 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/0.4894, allocations: 1.472 MB / 0.5766 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001622/0.491, allocations: 0.5327 MB / 0.5771 GB, free: 9.633 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000881/0.4919, allocations: 0.6403 MB / 0.5777 GB, free: 8.992 MB / 426.7 MB Notification: Performance of SimCode: time 2.194e-06/0.4919, allocations: 0 / 0.5777 GB, free: 8.992 MB / 426.7 MB Notification: Performance of Templates: time 0.05521/0.5471, allocations: 32.74 MB / 0.6097 GB, free: 8.914 MB / 458.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.8730732668191195]