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.0009302/0.0009302, 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.0009483/0.0009483, allocations: 163.2 kB / 24.91 MB, free: 8.715 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.9388/0.9388, allocations: 177 MB / 205.2 MB, free: 5.035 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.2739/0.2739, 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.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 1.213e-06/1.213e-06, allocations: 0 / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.245e-05, allocations: 4.703 kB / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01015/0.01017, allocations: 12.69 MB / 338.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008569/0.01874, allocations: 4.614 MB / 343.2 MB, free: 5.793 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.021, allocations: 111.4 kB / 343.3 MB, free: 5.684 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004883/0.02588, allocations: 4.482 MB / 347.8 MB, free: 1.188 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004814/0.0307, allocations: 2.278 MB / 350.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.03262, allocations: 1.037 MB / 351.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007079/0.0397, allocations: 6.818 MB / 358 MB, free: 7.035 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004972/0.04467, allocations: 4.736 MB / 362.7 MB, free: 2.211 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005879/0.05055, allocations: 4.223 MB / 366.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003674/0.05422, allocations: 2.97 MB / 369.9 MB, free: 11 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.05529, allocations: 476 kB / 370.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.05727, allocations: 1.295 MB / 371.6 MB, free: 9.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002313/0.05958, allocations: 2.696 MB / 374.3 MB, free: 6.539 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002517/0.0621, allocations: 1.706 MB / 376 MB, free: 4.828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006017/0.06811, allocations: 5.809 MB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.06812, allocations: 0 / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.06812, allocations: 0 / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002137/0.06833, allocations: 4 kB / 381.9 MB, free: 15 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: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.008013/0.07635, allocations: 5.715 MB / 387.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.07638, allocations: 12.03 kB / 387.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003318/0.0797, allocations: 1.366 MB / 388.9 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00389/0.08359, allocations: 2.654 MB / 391.6 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.08375, allocations: 296.1 kB / 391.9 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005231/0.08427, allocations: 404.1 kB / 392.3 MB, free: 4.453 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006874/0.09115, allocations: 5.684 MB / 398 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.09126, allocations: 55.56 kB / 398 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003153/0.09157, allocations: 183.9 kB / 398.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001404/0.09297, allocations: 1.773 MB / 400 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005305/0.09828, allocations: 2.727 MB / 402.7 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02989/0.1282, allocations: 34.48 MB / 437.2 MB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003568/0.1317, allocations: 1.63 MB / 438.8 MB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005034/0.1322, allocations: 372.2 kB / 439.2 MB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1598/0.2921, allocations: 3.955 MB / 443.1 MB, free: 109.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.2921, allocations: 50.59 kB / 443.2 MB, free: 109.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 5.149e-06/0.2921, allocations: 0.5625 kB / 443.2 MB, free: 109.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=151): time 0.01395/0.3061, allocations: 5.573 MB / 448.8 MB, free: 109.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3061, allocations: 195.9 kB / 448.9 MB, free: 109.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/0.3093, allocations: 3.745 MB / 452.7 MB, free: 108.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.3094, allocations: 47.86 kB / 452.7 MB, free: 108.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.3107, allocations: 3.49 MB / 456.2 MB, free: 107 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004211/0.3112, allocations: 0.6348 MB / 456.9 MB, free: 106.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008742/0.312, allocations: 1.236 MB / 458.1 MB, free: 106.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.617e-05/0.3121, allocations: 304.8 kB / 458.4 MB, free: 106.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.3132, allocations: 0.7531 MB / 459.1 MB, free: 106.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.3152, allocations: 4.691 MB / 463.8 MB, free: 100.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003466/0.3186, allocations: 6.003 MB / 469.8 MB, free: 94.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-05/0.3187, allocations: 43.42 kB / 469.9 MB, free: 94 MB / 410.7 MB Notification: Performance of matching and sorting (n=839) (initialization): time 0.00488/0.3236, allocations: 4.402 MB / 474.3 MB, free: 90.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/0.3237, allocations: 68 kB / 474.4 MB, free: 90.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/0.3238, allocations: 144 kB / 474.5 MB, free: 90.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006758/0.3245, allocations: 391.6 kB / 474.9 MB, free: 89.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/0.3265, allocations: 1.454 MB / 476.3 MB, free: 88.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.3283, allocations: 3.34 MB / 479.7 MB, free: 84.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/0.3312, allocations: 294.6 kB / 480 MB, free: 84.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/0.3315, allocations: 336 kB / 480.3 MB, free: 84.35 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.00135/0.3328, allocations: 0.664 MB / 481 MB, free: 83.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000417/0.3333, allocations: 235.7 kB / 481.2 MB, free: 83.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009181/0.3342, allocations: 0.839 MB / 482 MB, free: 82.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.3342, allocations: 19.98 kB / 482 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3342, allocations: 4 kB / 482 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3342, allocations: 7.984 kB / 482.1 MB, free: 82.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004486/0.3387, allocations: 4.154 MB / 486.2 MB, free: 78.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3387, allocations: 8.094 kB / 486.2 MB, free: 78.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.3392, allocations: 231.6 kB / 486.4 MB, free: 78.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006464/0.3399, allocations: 415.4 kB / 486.8 MB, free: 77.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.3399, allocations: 31.56 kB / 486.9 MB, free: 77.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.3413, allocations: 2.77 MB / 489.6 MB, free: 74.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3413, allocations: 7.938 kB / 489.7 MB, free: 74.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.3429, allocations: 1.724 MB / 491.4 MB, free: 72.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005363/0.3434, allocations: 357.3 kB / 491.7 MB, free: 72.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.3437, allocations: 31.5 kB / 491.8 MB, free: 72.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.3443, allocations: 35.98 kB / 491.8 MB, free: 72.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.3445, allocations: 120.5 kB / 491.9 MB, free: 72.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.3445, allocations: 36 kB / 491.9 MB, free: 72.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001326/0.3459, allocations: 1.402 MB / 493.3 MB, free: 70.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3459, allocations: 4 kB / 493.4 MB, free: 70.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00343/0.3493, allocations: 1.133 MB / 494.5 MB, free: 69.71 MB / 410.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.0003288/0.3496, allocations: 152.1 kB / 494.6 MB, free: 69.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00287/0.3525, allocations: 2.689 MB / 497.3 MB, free: 66.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001591/0.3527, allocations: 104.2 kB / 497.4 MB, free: 66.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006153/0.3533, allocations: 0.6317 MB / 498.1 MB, free: 66.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/0.3558, allocations: 0.7316 MB / 498.8 MB, free: 65.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.3667, allocations: 8.588 MB / 0.4955 GB, free: 56.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.3679, allocations: 1.472 MB / 0.4969 GB, free: 55.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001378/0.3692, allocations: 0.5347 MB / 0.4974 GB, free: 54.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007074/0.3699, allocations: 0.587 MB / 0.498 GB, free: 54.01 MB / 410.7 MB Notification: Performance of SimCode: time 2.485e-06/0.3699, allocations: 0 / 0.498 GB, free: 54.01 MB / 410.7 MB Notification: Performance of Templates: time 0.04529/0.4152, allocations: 31.69 MB / 0.529 GB, free: 22.76 MB / 410.7 MB " [Timeout remaining time 660] 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.041994045022875]