Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 94.53 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 172.7 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2066/0.2066, allocations: 44.26 MB / 337.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 8 kB / 410.3 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1201, allocations: 61.92 MB / 472.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.3347/0.4548, allocations: 67.8 MB / 0.5274 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0404/0.4953, allocations: 13.87 MB / 0.5409 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02002/0.5153, allocations: 303.2 kB / 0.5412 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.5177, allocations: 0.4942 MB / 0.5417 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007027/0.5248, allocations: 2.058 MB / 0.5437 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.527, allocations: 0.8532 MB / 0.5446 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01367/0.5407, allocations: 8.735 MB / 0.5531 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01232/0.5531, allocations: 7.34 MB / 0.5603 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004298/0.5574, allocations: 1.51 MB / 0.5617 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004923/0.5624, allocations: 2.571 MB / 0.5642 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000874/0.5633, allocations: 180 kB / 0.5644 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.5661, allocations: 1.134 MB / 0.5655 GB, free: 4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002399/0.5685, allocations: 2.22 MB / 0.5677 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002847/0.5713, allocations: 2.492 MB / 0.5701 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0098/0.5811, allocations: 8.529 MB / 0.5785 GB, free: 6.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5812, allocations: 0 / 0.5785 GB, free: 6.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.5812, allocations: 0 / 0.5785 GB, free: 6.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003041/0.5815, allocations: 0 / 0.5785 GB, free: 6.941 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.01263/0.5942, allocations: 5.025 MB / 0.5834 GB, free: 1.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.5942, allocations: 8.031 kB / 0.5834 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.6069, allocations: 2.628 MB / 0.5859 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00916/0.6161, allocations: 3.815 MB / 0.5897 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/0.6164, allocations: 296.5 kB / 0.5899 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/0.6179, allocations: 405.4 kB / 0.5903 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02339/0.6413, allocations: 11.49 MB / 0.6016 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/0.6416, allocations: 59.42 kB / 0.6016 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007855/0.6424, allocations: 190.1 kB / 0.6018 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004019/0.6464, allocations: 2.085 MB / 0.6038 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02114/0.6676, allocations: 9.712 MB / 0.6133 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06179/0.7294, allocations: 45.57 MB / 0.6578 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.7408, allocations: 4.155 MB / 0.6619 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003964/0.7448, allocations: 2.346 MB / 0.6642 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01713/0.7619, allocations: 9.403 MB / 0.6733 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/0.762, allocations: 55.55 kB / 0.6734 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=169): time 6.452e-06/0.7621, allocations: 4 kB / 0.6734 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.06202/0.8241, allocations: 19.37 MB / 0.6923 GB, free: 188 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.8243, allocations: 205.2 kB / 0.6925 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00961/0.8339, allocations: 4.713 MB / 0.6971 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004531/0.8344, allocations: 53.7 kB / 0.6972 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003406/0.8378, allocations: 3.597 MB / 0.7007 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001186/0.839, allocations: 0.7405 MB / 0.7014 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.8404, allocations: 0.5669 MB / 0.702 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.8405, allocations: 301.1 kB / 0.7022 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004397/0.8449, allocations: 2.39 MB / 0.7046 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2666/1.112, allocations: 6.231 MB / 0.7107 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01297/1.125, allocations: 9.263 MB / 0.7197 GB, free: 177 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003354/1.125, allocations: 42.38 kB / 0.7197 GB, free: 177 MB / 0.5294 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.02469/1.15, allocations: 9.733 MB / 0.7293 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/1.15, allocations: 63.75 kB / 0.7293 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002353/1.15, allocations: 134.8 kB / 0.7294 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004391/1.155, allocations: 1.6 MB / 0.731 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004479/1.159, allocations: 1.475 MB / 0.7324 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/1.169, allocations: 9.375 MB / 0.7416 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00526/1.174, allocations: 365.6 kB / 0.7419 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008435/1.175, allocations: 384.7 kB / 0.7423 GB, free: 167.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.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 (790): * Single equations (assignments): 785 * 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.004411/1.18, allocations: 2.482 MB / 0.7447 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006696/1.18, allocations: 404.9 kB / 0.7451 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00697/1.187, allocations: 4.192 MB / 0.7492 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.349e-05/1.187, allocations: 27.55 kB / 0.7492 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.187, allocations: 4 kB / 0.7492 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/1.187, allocations: 11.59 kB / 0.7493 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/1.202, allocations: 9.625 MB / 0.7587 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/1.202, allocations: 4 kB / 0.7587 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/1.203, allocations: 295.5 kB / 0.7589 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003718/1.207, allocations: 1.359 MB / 0.7603 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/1.207, allocations: 35.98 kB / 0.7603 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008821/1.216, allocations: 8.734 MB / 0.7688 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.216, allocations: 3.984 kB / 0.7688 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009267/1.225, allocations: 6.9 MB / 0.7756 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.227, allocations: 463.6 kB / 0.776 GB, free: 138 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004971/1.227, allocations: 28 kB / 0.776 GB, free: 138 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/1.229, allocations: 126 kB / 0.7762 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003792/1.229, allocations: 121.1 kB / 0.7763 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.229, allocations: 48 kB / 0.7763 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003784/1.233, allocations: 2.968 MB / 0.7792 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/1.233, allocations: 0 / 0.7792 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005711/1.239, allocations: 1.196 MB / 0.7804 GB, free: 133.5 MB / 0.5294 GB 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.0005198/1.239, allocations: 170.5 kB / 0.7806 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00854/1.248, allocations: 5.896 MB / 0.7863 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.248, allocations: 0 / 0.7863 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002672/1.251, allocations: 1.984 MB / 0.7883 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/1.254, allocations: 0.5068 MB / 0.7887 GB, free: 125 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/1.273, allocations: 13.69 MB / 0.8021 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0045/1.277, allocations: 3.851 MB / 0.8059 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004871/1.282, allocations: 1.988 MB / 0.8078 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008812/1.283, allocations: 263.4 kB / 0.8081 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/1.283, allocations: 0 / 0.8081 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.0706/1.354, allocations: 42.87 MB / 0.8499 GB, free: 62.44 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches