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.001333/0.001333, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.001479, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.21/0.21, allocations: 46.11 MB / 344.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 84.42 kB / 419 MB, free: 18.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1311, allocations: 62.44 MB / 481.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01366/0.1448, allocations: 13.41 MB / 494.9 MB, free: 7.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.1551, allocations: 4.547 MB / 499.4 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.1579, allocations: 91.75 kB / 499.5 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007758/0.1658, allocations: 4.174 MB / 0.4919 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006003/0.1718, allocations: 2.128 MB / 0.494 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.1741, allocations: 0.9281 MB / 0.4949 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008457/0.1826, allocations: 6.07 MB / 0.5008 GB, free: 5.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2631/0.4457, allocations: 5.156 MB / 0.5058 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004059/0.4498, allocations: 2.106 MB / 0.5079 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005439/0.4553, allocations: 2.799 MB / 0.5106 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002037/0.4574, allocations: 467.3 kB / 0.5111 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003375/0.4608, allocations: 1.336 MB / 0.5124 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003423/0.4642, allocations: 2.492 MB / 0.5148 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004892/0.4691, allocations: 2.827 MB / 0.5176 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.482, allocations: 9.003 MB / 0.5263 GB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4821, allocations: 2.375 kB / 0.5263 GB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4821, allocations: 0 / 0.5263 GB, free: 11.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003793/0.4825, allocations: 0 / 0.5263 GB, free: 11.47 MB / 382.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.01739/0.4999, allocations: 6.063 MB / 0.5323 GB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.5, allocations: 10.12 kB / 0.5323 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.5103, allocations: 2.574 MB / 0.5348 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008926/0.5193, allocations: 3.814 MB / 0.5385 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.5195, allocations: 297.1 kB / 0.5388 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/0.5206, allocations: 402.1 kB / 0.5392 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/0.5406, allocations: 11.28 MB / 0.5502 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/0.5408, allocations: 50.97 kB / 0.5502 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007355/0.5415, allocations: 195.2 kB / 0.5504 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003205/0.5448, allocations: 2.022 MB / 0.5524 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02055/0.5653, allocations: 9.529 MB / 0.5617 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05617/0.6215, allocations: 44.92 MB / 0.6056 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009884/0.6315, allocations: 4.148 MB / 0.6096 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/0.6344, allocations: 2.339 MB / 0.6119 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01371/0.6482, allocations: 9.37 MB / 0.6211 GB, free: 2.395 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.6483, allocations: 59.59 kB / 0.6211 GB, free: 2.332 MB / 462.1 MB Notification: Performance of pre-optimization done (n=169): time 4.629e-06/0.6483, allocations: 0 / 0.6211 GB, free: 2.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=191): time 0.04877/0.697, allocations: 19.31 MB / 0.64 GB, free: 14.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.6972, allocations: 200 kB / 0.6402 GB, free: 14.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006828/0.704, allocations: 4.693 MB / 0.6448 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003716/0.7044, allocations: 60.28 kB / 0.6448 GB, free: 9.961 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002298/0.7067, allocations: 3.547 MB / 0.6483 GB, free: 6.414 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008666/0.7076, allocations: 0.7343 MB / 0.649 GB, free: 5.684 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/0.7093, allocations: 1.331 MB / 0.6503 GB, free: 4.344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.682e-05/0.7094, allocations: 301.1 kB / 0.6506 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/0.7129, allocations: 2.382 MB / 0.6529 GB, free: 1.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005725/0.7186, allocations: 6.205 MB / 0.659 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.7296, allocations: 9.232 MB / 0.668 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/0.7298, allocations: 36 kB / 0.668 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02085/0.7506, allocations: 9.687 MB / 0.6775 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.7508, allocations: 64.22 kB / 0.6775 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/0.751, allocations: 147.9 kB / 0.6777 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00447/0.7554, allocations: 1.595 MB / 0.6792 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005286/0.7607, allocations: 1.474 MB / 0.6807 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.773, allocations: 9.99 MB / 0.6904 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005477/0.7785, allocations: 355.4 kB / 0.6908 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/0.7795, allocations: 394.9 kB / 0.6911 GB, free: 7.051 MB / 0.5294 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.004582/0.7841, allocations: 2.459 MB / 0.6936 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008586/0.785, allocations: 402.8 kB / 0.6939 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008056/0.793, allocations: 4.169 MB / 0.698 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.684e-05/0.7931, allocations: 23.94 kB / 0.698 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.7931, allocations: 14.19 kB / 0.698 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.7932, allocations: 7.922 kB / 0.698 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01969/0.8129, allocations: 9.513 MB / 0.7073 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-05/0.8129, allocations: 0 / 0.7073 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/0.815, allocations: 287.5 kB / 0.7076 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005493/0.8205, allocations: 1.364 MB / 0.7089 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004179/0.8209, allocations: 35.98 kB / 0.709 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2818/1.103, allocations: 9.375 MB / 0.7181 GB, free: 189.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.103, allocations: 5.078 kB / 0.7181 GB, free: 189.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/1.115, allocations: 6.864 MB / 0.7248 GB, free: 187.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/1.116, allocations: 455.9 kB / 0.7253 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005514/1.117, allocations: 29.55 kB / 0.7253 GB, free: 186.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/1.119, allocations: 118.4 kB / 0.7254 GB, free: 186.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004758/1.119, allocations: 116.7 kB / 0.7255 GB, free: 186.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/1.119, allocations: 49.97 kB / 0.7256 GB, free: 186.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005093/1.124, allocations: 2.955 MB / 0.7285 GB, free: 185.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/1.124, allocations: 0 / 0.7285 GB, free: 185.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005428/1.13, allocations: 1.174 MB / 0.7296 GB, free: 185.8 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.000444/1.13, allocations: 170.3 kB / 0.7298 GB, free: 185.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007885/1.138, allocations: 5.899 MB / 0.7355 GB, free: 183.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/1.138, allocations: 0 / 0.7355 GB, free: 183.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002514/1.141, allocations: 1.982 MB / 0.7375 GB, free: 182.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/1.144, allocations: 0.538 MB / 0.738 GB, free: 182.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/1.16, allocations: 10.95 MB / 0.7487 GB, free: 177.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00345/1.163, allocations: 3.82 MB / 0.7524 GB, free: 174.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003737/1.167, allocations: 1.984 MB / 0.7544 GB, free: 173.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006741/1.168, allocations: 271 kB / 0.7546 GB, free: 172.8 MB / 0.545 GB Notification: Performance of SimCode: time 9.21e-07/1.168, allocations: 0 / 0.7546 GB, free: 172.8 MB / 0.545 GB Notification: Performance of Templates: time 0.06278/1.231, allocations: 39.45 MB / 0.7931 GB, free: 135.2 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 -s cvode -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