Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.001188/0.001188, allocations: 81.91 kB / 21.43 MB, free: 3.062 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.001189/0.001189, allocations: 162.7 kB / 24.82 MB, free: 9.262 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.04/1.04, allocations: 177 MB / 205.1 MB, free: 5.445 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.308/0.308, allocations: 34.87 MB / 296.6 MB, free: 492 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.Bevel1D,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.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,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.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.239e-05, allocations: 2.312 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01058/0.01061, allocations: 12.69 MB / 391.9 MB, free: 5.07 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009807/0.02041, allocations: 4.442 MB / 396.4 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002958/0.02337, allocations: 111.4 kB / 396.5 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005098/0.02847, allocations: 4.427 MB / 400.9 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005389/0.03386, allocations: 2.267 MB / 403.2 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.03565, allocations: 1.025 MB / 404.2 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007428/0.04308, allocations: 6.835 MB / 411 MB, free: 1.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005087/0.04817, allocations: 4.633 MB / 415.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008396/0.05656, allocations: 4.266 MB / 419.9 MB, free: 8.934 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005464/0.06203, allocations: 3.098 MB / 423 MB, free: 5.828 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.06374, allocations: 476 kB / 423.5 MB, free: 5.363 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004412/0.06816, allocations: 1.299 MB / 424.8 MB, free: 4.062 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004958/0.07311, allocations: 2.692 MB / 427.5 MB, free: 1.363 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005833/0.07895, allocations: 1.71 MB / 429.2 MB, free: 15.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.0912, allocations: 5.808 MB / 435 MB, free: 9.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.09121, allocations: 4 kB / 435 MB, free: 9.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.09121, allocations: 0 / 435 MB, free: 9.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000379/0.09159, allocations: 0 / 435 MB, free: 9.816 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: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.01708/0.1087, allocations: 6.381 MB / 441.4 MB, free: 3.363 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.1087, allocations: 8.031 kB / 441.4 MB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006074/0.1148, allocations: 2.167 MB / 443.6 MB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1938/0.3086, allocations: 2.85 MB / 446.4 MB, free: 92.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/0.3089, allocations: 301.2 kB / 446.7 MB, free: 92.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000979/0.3099, allocations: 402.7 kB / 447.1 MB, free: 92.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.32, allocations: 6.266 MB / 453.4 MB, free: 89.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002254/0.3202, allocations: 49.25 kB / 453.4 MB, free: 89.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005762/0.3208, allocations: 190.3 kB / 453.6 MB, free: 89.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001811/0.3226, allocations: 1.767 MB / 455.4 MB, free: 89.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007117/0.3297, allocations: 2.645 MB / 458 MB, free: 89.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03552/0.3652, allocations: 47.71 MB / 0.4939 GB, free: 50.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004544/0.3698, allocations: 1.594 MB / 0.4954 GB, free: 50.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000868/0.3706, allocations: 471.8 kB / 0.4959 GB, free: 50.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006962/0.3776, allocations: 4.19 MB / 0.5 GB, free: 48.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.3776, allocations: 56.36 kB / 0.5 GB, free: 48.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 3.567e-06/0.3776, allocations: 0 / 0.5 GB, free: 48.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=151): time 0.01688/0.3945, allocations: 6.198 MB / 0.5061 GB, free: 46.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.3946, allocations: 199.8 kB / 0.5063 GB, free: 46.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004601/0.3992, allocations: 4.166 MB / 0.5103 GB, free: 44.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001959/0.3994, allocations: 45.39 kB / 0.5104 GB, free: 44.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001934/0.4013, allocations: 4.01 MB / 0.5143 GB, free: 41.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006138/0.4019, allocations: 0.6588 MB / 0.5149 GB, free: 40.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.4031, allocations: 1.441 MB / 0.5163 GB, free: 39.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.929e-05/0.4032, allocations: 482 kB / 0.5168 GB, free: 39.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008946/0.4041, allocations: 0.563 MB / 0.5173 GB, free: 39.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.4065, allocations: 6.631 MB / 0.5238 GB, free: 29.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003972/0.4104, allocations: 7.827 MB / 0.5315 GB, free: 19.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/0.4105, allocations: 44 kB / 0.5315 GB, free: 19.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=839) (initialization): time 0.006071/0.4166, allocations: 5.18 MB / 0.5366 GB, free: 14.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.048e-05/0.4167, allocations: 64 kB / 0.5366 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/0.4168, allocations: 144 kB / 0.5368 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/0.4175, allocations: 395.2 kB / 0.5371 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.42, allocations: 1.455 MB / 0.5386 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.422, allocations: 4.48 MB / 0.5429 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/0.4253, allocations: 287.7 kB / 0.5432 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003648/0.4256, allocations: 347.8 kB / 0.5435 GB, free: 7.734 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 652 * 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 (801): * Single equations (assignments): 796 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001456/0.4271, allocations: 0.6959 MB / 0.5442 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005615/0.4277, allocations: 433.4 kB / 0.5446 GB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.4287, allocations: 0.941 MB / 0.5456 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.4287, allocations: 19.94 kB / 0.5456 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4287, allocations: 7.141 kB / 0.5456 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4287, allocations: 7.422 kB / 0.5456 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006366/0.4351, allocations: 4.975 MB / 0.5504 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.4351, allocations: 4 kB / 0.5504 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005484/0.4357, allocations: 235.7 kB / 0.5507 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004681/0.4361, allocations: 210.9 kB / 0.5509 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/0.4362, allocations: 35.94 kB / 0.5509 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.4383, allocations: 3.884 MB / 0.5547 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4383, allocations: 8 kB / 0.5547 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.4409, allocations: 2.113 MB / 0.5568 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008734/0.4418, allocations: 381.2 kB / 0.5571 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/0.4421, allocations: 31.98 kB / 0.5572 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006882/0.4428, allocations: 35.98 kB / 0.5572 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.4429, allocations: 108.7 kB / 0.5573 GB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/0.443, allocations: 36 kB / 0.5573 GB, free: 9.707 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001769/0.4448, allocations: 1.705 MB / 0.559 GB, free: 7.996 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4448, allocations: 4 kB / 0.559 GB, free: 7.992 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005166/0.4499, allocations: 1.125 MB / 0.5601 GB, free: 6.867 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (123): * Single equations (assignments): 118 * 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.0005695/0.4505, allocations: 171.6 kB / 0.5603 GB, free: 6.688 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004425/0.4549, allocations: 2.986 MB / 0.5632 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/0.4549, allocations: 3.984 kB / 0.5632 GB, free: 3.688 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008151/0.4557, allocations: 0.7977 MB / 0.564 GB, free: 2.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.458, allocations: 0.501 MB / 0.5645 GB, free: 2.367 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.4714, allocations: 8.707 MB / 0.573 GB, free: 9.473 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.473, allocations: 1.472 MB / 0.5744 GB, free: 7.969 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001528/0.4745, allocations: 0.5379 MB / 0.5749 GB, free: 7.426 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007681/0.4753, allocations: 0.6426 MB / 0.5756 GB, free: 6.781 MB / 442.7 MB Notification: Performance of SimCode: time 2.054e-06/0.4753, allocations: 0 / 0.5756 GB, free: 6.781 MB / 442.7 MB Notification: Performance of Templates: time 0.05098/0.5263, allocations: 31.84 MB / 0.6066 GB, free: 7.316 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.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.682414152659476]