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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.00154, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.11 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 75.62 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1098, allocations: 62.44 MB / 479.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.2849/0.3947, allocations: 65.46 MB / 0.5326 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03162/0.4264, allocations: 13.13 MB / 0.5454 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01391/0.4404, allocations: 297.4 kB / 0.5457 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007747/0.4482, allocations: 4.19 MB / 0.5498 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00565/0.4539, allocations: 2.003 MB / 0.5518 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.4561, allocations: 0.8452 MB / 0.5526 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01097/0.4671, allocations: 8.751 MB / 0.5611 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007466/0.4746, allocations: 5.072 MB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004251/0.4789, allocations: 1.857 MB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005451/0.4844, allocations: 2.995 MB / 0.5708 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001454/0.4859, allocations: 328 kB / 0.5712 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002978/0.4889, allocations: 1.264 MB / 0.5724 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002769/0.4917, allocations: 2.392 MB / 0.5747 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003942/0.4957, allocations: 2.699 MB / 0.5774 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008452/0.5041, allocations: 7.165 MB / 0.5844 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.5042, allocations: 0 / 0.5844 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5042, allocations: 7.938 kB / 0.5844 GB, free: 12.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003193/0.5045, allocations: 0 / 0.5844 GB, free: 12.34 MB / 430.1 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.01562/0.5202, allocations: 6.059 MB / 0.5903 GB, free: 6.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.5202, allocations: 12.88 kB / 0.5903 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.5323, allocations: 2.572 MB / 0.5928 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008665/0.541, allocations: 3.727 MB / 0.5964 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002538/0.5413, allocations: 296 kB / 0.5967 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001416/0.5427, allocations: 404 kB / 0.5971 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02131/0.5641, allocations: 11.29 MB / 0.6081 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001949/0.5643, allocations: 51.59 kB / 0.6082 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006997/0.565, allocations: 183.9 kB / 0.6084 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003397/0.5684, allocations: 2.03 MB / 0.6103 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01885/0.5873, allocations: 9.537 MB / 0.6197 GB, free: 7.285 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06265/0.65, allocations: 45.11 MB / 0.6637 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.6609, allocations: 4.155 MB / 0.6678 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003406/0.6643, allocations: 2.34 MB / 0.67 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01626/0.6806, allocations: 9.379 MB / 0.6792 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.6807, allocations: 51.56 kB / 0.6793 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=169): time 6.392e-06/0.6807, allocations: 0 / 0.6793 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=191): time 0.05495/0.7357, allocations: 19.31 MB / 0.6981 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.7358, allocations: 197.2 kB / 0.6983 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00809/0.7439, allocations: 4.689 MB / 0.7029 GB, free: 196 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004537/0.7444, allocations: 53.7 kB / 0.7029 GB, free: 136 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003259/0.7477, allocations: 3.552 MB / 0.7064 GB, free: 12.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001245/0.749, allocations: 0.7405 MB / 0.7071 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002789/0.7518, allocations: 1.336 MB / 0.7084 GB, free: 10.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.7519, allocations: 301.1 kB / 0.7087 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004192/0.7561, allocations: 2.379 MB / 0.711 GB, free: 7.754 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2506/1.007, allocations: 6.204 MB / 0.7171 GB, free: 191 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/1.019, allocations: 9.221 MB / 0.7261 GB, free: 184.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001958/1.019, allocations: 39.19 kB / 0.7261 GB, free: 184.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01957/1.039, allocations: 9.688 MB / 0.7356 GB, free: 181.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002118/1.039, allocations: 62.62 kB / 0.7357 GB, free: 181.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003762/1.039, allocations: 134 kB / 0.7358 GB, free: 181.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005197/1.044, allocations: 1.596 MB / 0.7373 GB, free: 181.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004928/1.049, allocations: 1.482 MB / 0.7388 GB, free: 180.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/1.06, allocations: 9.363 MB / 0.7479 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004795/1.065, allocations: 351.3 kB / 0.7483 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.066, allocations: 393.3 kB / 0.7486 GB, free: 175.6 MB / 0.545 GB 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.004283/1.071, allocations: 2.449 MB / 0.751 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.072, allocations: 404.3 kB / 0.7514 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007759/1.079, allocations: 4.174 MB / 0.7555 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/1.079, allocations: 18.75 kB / 0.7555 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/1.08, allocations: 7.312 kB / 0.7555 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/1.08, allocations: 15.28 kB / 0.7555 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/1.096, allocations: 9.558 MB / 0.7649 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/1.096, allocations: 7.188 kB / 0.7649 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/1.098, allocations: 288.5 kB / 0.7652 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003753/1.102, allocations: 1.359 MB / 0.7665 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/1.102, allocations: 28 kB / 0.7665 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009062/1.111, allocations: 8.731 MB / 0.775 GB, free: 155.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.111, allocations: 4.031 kB / 0.775 GB, free: 155.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009235/1.12, allocations: 6.878 MB / 0.7818 GB, free: 148.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000989/1.121, allocations: 455.7 kB / 0.7822 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000771/1.122, allocations: 28 kB / 0.7822 GB, free: 147.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/1.124, allocations: 115.8 kB / 0.7823 GB, free: 147.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/1.124, allocations: 119.7 kB / 0.7824 GB, free: 147.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/1.124, allocations: 48 kB / 0.7825 GB, free: 147.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004036/1.128, allocations: 2.96 MB / 0.7854 GB, free: 144.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.128, allocations: 0 / 0.7854 GB, free: 144.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005136/1.133, allocations: 1.175 MB / 0.7865 GB, free: 143.5 MB / 0.545 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.0004438/1.134, allocations: 165.6 kB / 0.7867 GB, free: 143.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007579/1.141, allocations: 5.876 MB / 0.7924 GB, free: 137.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/1.141, allocations: 4.188 kB / 0.7924 GB, free: 137.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002562/1.144, allocations: 1.968 MB / 0.7943 GB, free: 135.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/1.147, allocations: 0.504 MB / 0.7948 GB, free: 135 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/1.165, allocations: 13.94 MB / 0.8084 GB, free: 121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00454/1.169, allocations: 3.791 MB / 0.8122 GB, free: 117.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.171, allocations: 311.4 kB / 0.8124 GB, free: 116.9 MB / 0.545 GB Notification: Performance of SimCode: time 2.274e-06/1.171, allocations: 0 / 0.8124 GB, free: 116.9 MB / 0.545 GB Notification: Performance of Templates: time 0.3262/1.497, allocations: 111.3 MB / 0.9212 GB, free: 176.4 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches