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.0008401/0.0008402, allocations: 94.28 kB / 18 MB, free: 5.734 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.0009256/0.0009258, allocations: 180.6 kB / 18.91 MB, free: 4.867 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.325/1.325, allocations: 223.3 MB / 243 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1971/0.1971, allocations: 44.25 MB / 338.3 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003285, allocations: 8 kB / 411 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.104, allocations: 61.92 MB / 472.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.2835/0.3875, allocations: 67.8 MB / 0.528 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03137/0.4189, allocations: 13.87 MB / 0.5416 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0136/0.4326, allocations: 307.6 kB / 0.5419 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.4345, allocations: 0.4894 MB / 0.5424 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005773/0.4403, allocations: 2.065 MB / 0.5444 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.4424, allocations: 0.8477 MB / 0.5452 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009252/0.4517, allocations: 8.734 MB / 0.5537 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01039/0.4621, allocations: 7.338 MB / 0.5609 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.4654, allocations: 1.512 MB / 0.5624 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004269/0.4697, allocations: 2.57 MB / 0.5649 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001047/0.4708, allocations: 179.9 kB / 0.5651 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.4735, allocations: 1.14 MB / 0.5662 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002576/0.4762, allocations: 2.209 MB / 0.5683 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003516/0.4797, allocations: 2.497 MB / 0.5708 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008306/0.488, allocations: 7.109 MB / 0.5777 GB, free: 8.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.4881, allocations: 0 / 0.5777 GB, free: 8.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.4881, allocations: 0 / 0.5777 GB, free: 8.379 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003198/0.4884, allocations: 0 / 0.5777 GB, free: 8.379 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.01178/0.5002, allocations: 5.032 MB / 0.5826 GB, free: 3.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5003, allocations: 8.031 kB / 0.5826 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/0.5125, allocations: 2.625 MB / 0.5852 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008203/0.5208, allocations: 3.805 MB / 0.5889 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.5211, allocations: 302.2 kB / 0.5892 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/0.5226, allocations: 409.5 kB / 0.5896 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02227/0.5449, allocations: 11.49 MB / 0.6008 GB, free: 104 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000192/0.5451, allocations: 59.48 kB / 0.6009 GB, free: 44 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008553/0.546, allocations: 185.8 kB / 0.601 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003634/0.5496, allocations: 2.096 MB / 0.6031 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01895/0.5686, allocations: 9.708 MB / 0.6126 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05589/0.6245, allocations: 45.57 MB / 0.6571 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/0.6351, allocations: 4.15 MB / 0.6611 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003356/0.6385, allocations: 2.352 MB / 0.6634 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01479/0.6533, allocations: 9.397 MB / 0.6726 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/0.6534, allocations: 63.42 kB / 0.6727 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=169): time 5.57e-06/0.6535, allocations: 0 / 0.6727 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.05577/0.7092, allocations: 19.38 MB / 0.6916 GB, free: 1.617 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.7094, allocations: 197.2 kB / 0.6918 GB, free: 1.379 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00799/0.7174, allocations: 4.713 MB / 0.6964 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004346/0.7179, allocations: 51.89 kB / 0.6964 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002716/0.7206, allocations: 3.593 MB / 0.6999 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001127/0.7217, allocations: 0.7533 MB / 0.7007 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.7229, allocations: 0.563 MB / 0.7012 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.723, allocations: 301.1 kB / 0.7015 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004061/0.7271, allocations: 2.394 MB / 0.7038 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2425/0.9696, allocations: 6.229 MB / 0.7099 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/0.9807, allocations: 9.265 MB / 0.719 GB, free: 177 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002799/0.9811, allocations: 42.03 kB / 0.719 GB, free: 177 MB / 0.5294 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.02008/1.001, allocations: 9.73 MB / 0.7285 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002871/1.001, allocations: 66.39 kB / 0.7286 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003121/1.002, allocations: 137 kB / 0.7287 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004519/1.006, allocations: 1.595 MB / 0.7303 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004689/1.011, allocations: 1.479 MB / 0.7317 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/1.022, allocations: 9.37 MB / 0.7409 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005265/1.027, allocations: 362.3 kB / 0.7412 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/1.029, allocations: 389 kB / 0.7416 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.004815/1.033, allocations: 2.485 MB / 0.744 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009435/1.034, allocations: 405.1 kB / 0.7444 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007981/1.042, allocations: 4.191 MB / 0.7485 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.959e-05/1.042, allocations: 20 kB / 0.7485 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/1.042, allocations: 8 kB / 0.7485 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.9e-05/1.042, allocations: 7.781 kB / 0.7485 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/1.06, allocations: 9.626 MB / 0.7579 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/1.06, allocations: 4 kB / 0.7579 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/1.062, allocations: 292.4 kB / 0.7582 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00375/1.066, allocations: 1.364 MB / 0.7595 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002562/1.066, allocations: 28.78 kB / 0.7596 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009482/1.075, allocations: 8.745 MB / 0.7681 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.075, allocations: 0 / 0.7681 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/1.086, allocations: 6.899 MB / 0.7748 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.087, allocations: 467.6 kB / 0.7753 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/1.088, allocations: 28 kB / 0.7753 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.09, allocations: 119.8 kB / 0.7754 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000451/1.091, allocations: 123.1 kB / 0.7755 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/1.091, allocations: 52.92 kB / 0.7756 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004848/1.096, allocations: 2.968 MB / 0.7785 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.21e-07/1.096, allocations: 0 / 0.7785 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006438/1.102, allocations: 1.192 MB / 0.7796 GB, free: 133.6 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.0006894/1.103, allocations: 171.9 kB / 0.7798 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009468/1.112, allocations: 5.893 MB / 0.7856 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.112, allocations: 4 kB / 0.7856 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003153/1.115, allocations: 1.988 MB / 0.7875 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.004527/1.12, allocations: 0.5124 MB / 0.788 GB, free: 125 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/1.14, allocations: 14.15 MB / 0.8018 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005182/1.145, allocations: 3.84 MB / 0.8056 GB, free: 107 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.147, allocations: 307.4 kB / 0.8059 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.503e-06/1.147, allocations: 0 / 0.8059 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.3597/1.506, allocations: 111.6 MB / 0.9148 GB, free: 171.2 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/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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches