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.002429/0.002429, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002728/0.002728, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.556/1.556, allocations: 177 MB / 204.5 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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.3451/0.3451, allocations: 34.25 MB / 295.2 MB, free: 0.6211 MB / 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.924e-06/1.924e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.461e-05, allocations: 4.141 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.02501/0.02504, allocations: 12.97 MB / 390.2 MB, free: 5.879 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.03888, allocations: 4.474 MB / 394.7 MB, free: 1.391 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002901/0.04178, allocations: 107.4 kB / 394.8 MB, free: 1.285 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01252/0.0543, allocations: 4.486 MB / 399.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008246/0.06254, allocations: 2.263 MB / 401.5 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.06578, allocations: 1.029 MB / 402.5 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01153/0.07731, allocations: 6.816 MB / 409.4 MB, free: 2.648 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007444/0.08475, allocations: 4.633 MB / 414 MB, free: 13.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007817/0.09257, allocations: 3.232 MB / 417.2 MB, free: 10.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006785/0.09936, allocations: 3.145 MB / 420.4 MB, free: 7.555 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001713/0.1011, allocations: 480 kB / 420.8 MB, free: 7.086 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003517/0.1046, allocations: 1.295 MB / 422.1 MB, free: 5.789 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004217/0.1088, allocations: 2.708 MB / 424.8 MB, free: 3.074 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004171/0.113, allocations: 1.71 MB / 426.5 MB, free: 1.359 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01456/0.1275, allocations: 9.191 MB / 435.7 MB, free: 8.141 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1275, allocations: 3.938 kB / 435.7 MB, free: 8.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.659e-06/0.1275, allocations: 4 kB / 435.7 MB, free: 8.133 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000369/0.1279, allocations: 0 / 435.7 MB, free: 8.133 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.01901/0.1469, allocations: 7.182 MB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.147, allocations: 12.03 kB / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.174/0.321, allocations: 3.152 MB / 446.1 MB, free: 97.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008813/0.3298, allocations: 3.419 MB / 449.5 MB, free: 96.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.33, allocations: 297.9 kB / 449.8 MB, free: 96.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/0.3314, allocations: 400.4 kB / 450.2 MB, free: 96.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/0.346, allocations: 7.423 MB / 457.6 MB, free: 92.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001687/0.3461, allocations: 52.53 kB / 457.7 MB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004748/0.3466, allocations: 189.7 kB / 457.9 MB, free: 92.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002961/0.3496, allocations: 2.025 MB / 459.9 MB, free: 91.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01287/0.3624, allocations: 3.919 MB / 463.8 MB, free: 91.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05698/0.4194, allocations: 53.01 MB / 0.5047 GB, free: 49.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009028/0.4284, allocations: 2.257 MB / 0.5069 GB, free: 48.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.4302, allocations: 0.7824 MB / 0.5077 GB, free: 47.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01408/0.4443, allocations: 6.069 MB / 0.5136 GB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.4443, allocations: 55 kB / 0.5136 GB, free: 42.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=169): time 4.769e-06/0.4443, allocations: 0 / 0.5136 GB, free: 42.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.04402/0.4883, allocations: 14.18 MB / 0.5275 GB, free: 28.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.4884, allocations: 201.2 kB / 0.5277 GB, free: 28.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005761/0.4942, allocations: 5.077 MB / 0.5326 GB, free: 23.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003847/0.4946, allocations: 53.7 kB / 0.5327 GB, free: 23.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001882/0.4964, allocations: 4.116 MB / 0.5367 GB, free: 19.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009136/0.4973, allocations: 0.8418 MB / 0.5375 GB, free: 18.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/0.4991, allocations: 1.685 MB / 0.5392 GB, free: 16.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.4992, allocations: 480.7 kB / 0.5396 GB, free: 16.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.5009, allocations: 0.8676 MB / 0.5405 GB, free: 15.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003564/0.5045, allocations: 6.797 MB / 0.5471 GB, free: 6.094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.5149, allocations: 8.444 MB / 0.5554 GB, free: 11.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002427/0.5152, allocations: 40 kB / 0.5554 GB, free: 11.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01939/0.5346, allocations: 6.636 MB / 0.5619 GB, free: 4.383 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.5348, allocations: 60 kB / 0.5619 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003197/0.5351, allocations: 139.9 kB / 0.5621 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005528/0.5406, allocations: 1.141 MB / 0.5632 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005512/0.5461, allocations: 1.47 MB / 0.5646 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.5585, allocations: 6.539 MB / 0.571 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006165/0.5647, allocations: 419.5 kB / 0.5714 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001594/0.5663, allocations: 388 kB / 0.5718 GB, free: 9.984 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * 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 (787): * Single equations (assignments): 782 * 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 {(3,31,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004022/0.5703, allocations: 0.8009 MB / 0.5726 GB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/0.572, allocations: 453.3 kB / 0.573 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008061/0.5801, allocations: 2.301 MB / 0.5752 GB, free: 6.398 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.261e-05/0.5802, allocations: 20 kB / 0.5753 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.553e-05/0.5802, allocations: 12 kB / 0.5753 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.272e-05/0.5802, allocations: 7.969 kB / 0.5753 GB, free: 6.359 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02476/0.605, allocations: 7.657 MB / 0.5828 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/0.605, allocations: 4 kB / 0.5828 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.6067, allocations: 283.6 kB / 0.583 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005099/0.6118, allocations: 0.9145 MB / 0.5839 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003641/0.6122, allocations: 32 kB / 0.584 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/0.6238, allocations: 6.103 MB / 0.5899 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6238, allocations: 0 / 0.5899 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.6339, allocations: 3.538 MB / 0.5934 GB, free: 3.504 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/0.6355, allocations: 397.2 kB / 0.5937 GB, free: 3.113 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/0.6366, allocations: 35.98 kB / 0.5938 GB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/0.6391, allocations: 163.7 kB / 0.5939 GB, free: 2.918 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005626/0.6397, allocations: 121.1 kB / 0.594 GB, free: 2.801 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/0.6399, allocations: 47.98 kB / 0.5941 GB, free: 2.754 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005258/0.6452, allocations: 2.148 MB / 0.5962 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6452, allocations: 0 / 0.5962 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009587/0.6547, allocations: 1.328 MB / 0.5975 GB, free: 15.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (141): * Single equations (assignments): 136 * 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,27,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.0008448/0.6556, allocations: 167.4 kB / 0.5976 GB, free: 15.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01016/0.6657, allocations: 4.021 MB / 0.6016 GB, free: 11.06 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.6658, allocations: 3.938 kB / 0.6016 GB, free: 11.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002834/0.6686, allocations: 1.275 MB / 0.6028 GB, free: 9.746 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/0.6721, allocations: 0.5027 MB / 0.6033 GB, free: 9.262 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/0.6931, allocations: 9.158 MB / 0.6123 GB, free: 4 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1628/0.8559, allocations: 2.991 MB / 0.6152 GB, free: 135 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003712/0.8596, allocations: 1.667 MB / 0.6168 GB, free: 135 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000732/0.8604, allocations: 260.3 kB / 0.6171 GB, free: 135 MB / 474.7 MB Notification: Performance of SimCode: time 2.053e-06/0.8604, allocations: 0 / 0.6171 GB, free: 135 MB / 474.7 MB Notification: Performance of Templates: time 0.07312/0.9335, allocations: 40.09 MB / 0.6562 GB, free: 124.2 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.3608095509698614]