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.001892/0.001892, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001682/0.001682, allocations: 156.9 kB / 24.27 MB, free: 172 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.504/1.504, allocations: 177 MB / 204.4 MB, free: 5.613 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.3672/0.3672, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.174e-06/2.174e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.755e-05/3.972e-05, allocations: 2.312 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.02646/0.0265, allocations: 11.74 MB / 389 MB, free: 7.109 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01809/0.04459, allocations: 4.353 MB / 393.3 MB, free: 2.742 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004069/0.04866, allocations: 111.4 kB / 393.4 MB, free: 2.633 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01554/0.06419, allocations: 4.35 MB / 397.8 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009704/0.0739, allocations: 2.267 MB / 400 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.07722, allocations: 1.025 MB / 401.1 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01332/0.09054, allocations: 6.819 MB / 407.9 MB, free: 4.133 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008557/0.09909, allocations: 4.617 MB / 412.5 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008192/0.1073, allocations: 3.208 MB / 415.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006522/0.1138, allocations: 3.055 MB / 418.8 MB, free: 9.168 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001549/0.1154, allocations: 484 kB / 419.2 MB, free: 8.695 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/0.1185, allocations: 1.295 MB / 420.5 MB, free: 7.398 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003527/0.1221, allocations: 2.688 MB / 423.2 MB, free: 4.703 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003674/0.1257, allocations: 1.71 MB / 424.9 MB, free: 2.988 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01458/0.1403, allocations: 9.21 MB / 434.1 MB, free: 9.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1403, allocations: 0 / 434.1 MB, free: 9.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1403, allocations: 3.938 kB / 434.1 MB, free: 9.738 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003355/0.1407, allocations: 0 / 434.1 MB, free: 9.738 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.02151/0.1622, allocations: 6.233 MB / 440.4 MB, free: 3.441 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.1622, allocations: 12.03 kB / 440.4 MB, free: 3.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/0.176, allocations: 3.235 MB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2124/0.3885, allocations: 3.746 MB / 447.4 MB, free: 96.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.3887, allocations: 295.6 kB / 447.7 MB, free: 96.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001211/0.3899, allocations: 407.7 kB / 448.1 MB, free: 96.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.4064, allocations: 11.45 MB / 459.5 MB, free: 90.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/0.4065, allocations: 63.53 kB / 459.6 MB, free: 90.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005223/0.407, allocations: 189.2 kB / 459.7 MB, free: 90.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002964/0.41, allocations: 2.027 MB / 461.8 MB, free: 90.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01698/0.427, allocations: 9.588 MB / 471.4 MB, free: 87.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05039/0.4774, allocations: 41.76 MB / 0.5011 GB, free: 55.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009603/0.487, allocations: 3.591 MB / 0.5046 GB, free: 52.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.4894, allocations: 2.209 MB / 0.5068 GB, free: 50.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/0.5014, allocations: 8.797 MB / 0.5153 GB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5015, allocations: 51.44 kB / 0.5154 GB, free: 42.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=170): time 4.459e-06/0.5015, allocations: 4 kB / 0.5154 GB, free: 42.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.06694/0.5684, allocations: 27.81 MB / 0.5426 GB, free: 14.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.5685, allocations: 209.2 kB / 0.5428 GB, free: 14.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004743/0.5732, allocations: 4.594 MB / 0.5472 GB, free: 9.863 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003578/0.5736, allocations: 53.7 kB / 0.5473 GB, free: 9.805 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.575, allocations: 3.662 MB / 0.5509 GB, free: 6.109 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007205/0.5757, allocations: 0.7636 MB / 0.5516 GB, free: 5.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001367/0.5771, allocations: 1.314 MB / 0.5529 GB, free: 4.016 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.815e-05/0.5771, allocations: 305.1 kB / 0.5532 GB, free: 3.715 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002869/0.58, allocations: 2.613 MB / 0.5557 GB, free: 1.098 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00788/0.5879, allocations: 6.458 MB / 0.562 GB, free: 8.746 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01436/0.6023, allocations: 9.66 MB / 0.5715 GB, free: 13.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001264/0.6024, allocations: 40 kB / 0.5715 GB, free: 13.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=842) (initialization): time 0.0242/0.6266, allocations: 11.12 MB / 0.5824 GB, free: 2.039 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.6267, allocations: 60 kB / 0.5824 GB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/0.6269, allocations: 132 kB / 0.5826 GB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009243/0.6361, allocations: 2.734 MB / 0.5852 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005771/0.6419, allocations: 1.556 MB / 0.5867 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02065/0.6625, allocations: 12.24 MB / 0.5987 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005639/0.6682, allocations: 455.5 kB / 0.5991 GB, free: 0.668 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/0.6694, allocations: 388 kB / 0.5995 GB, free: 296 kB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * 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 (780): * Single equations (assignments): 775 * 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,33,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1879/0.8573, allocations: 2.451 MB / 0.6019 GB, free: 127.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/0.8585, allocations: 441.1 kB / 0.6023 GB, free: 127.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009828/0.8683, allocations: 5.335 MB / 0.6075 GB, free: 126.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.284e-05/0.8683, allocations: 20.34 kB / 0.6075 GB, free: 126.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/0.8684, allocations: 12.12 kB / 0.6076 GB, free: 126.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-05/0.8684, allocations: 9.562 kB / 0.6076 GB, free: 126.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/0.888, allocations: 10.3 MB / 0.6176 GB, free: 122.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/0.888, allocations: 6.688 kB / 0.6176 GB, free: 122.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/0.8899, allocations: 389.9 kB / 0.618 GB, free: 122.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007443/0.8974, allocations: 2.481 MB / 0.6204 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003911/0.8977, allocations: 37.3 kB / 0.6205 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/0.9115, allocations: 11.67 MB / 0.6318 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9115, allocations: 3.219 kB / 0.6319 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.9267, allocations: 8.482 MB / 0.6401 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.928, allocations: 401.5 kB / 0.6405 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006239/0.9286, allocations: 29.25 kB / 0.6405 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/0.9307, allocations: 215.8 kB / 0.6407 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005159/0.9313, allocations: 123.7 kB / 0.6409 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.9314, allocations: 54.17 kB / 0.6409 GB, free: 113.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00404/0.9355, allocations: 2.745 MB / 0.6436 GB, free: 112.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.9355, allocations: 4.406 kB / 0.6436 GB, free: 112.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005943/0.9414, allocations: 1.356 MB / 0.6449 GB, free: 112.3 MB / 458.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 (140): * Single equations (assignments): 135 * 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,29,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.0005215/0.9419, allocations: 177.2 kB / 0.6451 GB, free: 112.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009378/0.9513, allocations: 6.279 MB / 0.6512 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.9513, allocations: 0 / 0.6512 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003567/0.9549, allocations: 2.243 MB / 0.6534 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/0.9585, allocations: 0.5036 MB / 0.6539 GB, free: 108.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/0.9753, allocations: 11.43 MB / 0.6651 GB, free: 98.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003647/0.9789, allocations: 3.3 MB / 0.6683 GB, free: 95.44 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003828/0.9827, allocations: 1.938 MB / 0.6702 GB, free: 93.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008358/0.9836, allocations: 260.4 kB / 0.6704 GB, free: 93.24 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/0.9836, allocations: 0 / 0.6704 GB, free: 93.24 MB / 458.7 MB Notification: Performance of Templates: time 0.06861/1.052, allocations: 44.7 MB / 0.7141 GB, free: 49.06 MB / 458.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 480] 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.4819090879755095]