Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.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) 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.001351, allocations: 104 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 64 kB / 307 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1085, allocations: 50.53 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01557/0.1241, allocations: 13.19 MB / 370.7 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1804/0.3045, allocations: 4.671 MB / 375.4 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.3068, allocations: 84.28 kB / 375.5 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007018/0.3138, allocations: 4.074 MB / 379.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.3196, allocations: 2.034 MB / 381.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.3218, allocations: 0.8235 MB / 382.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006452/0.3282, allocations: 4.774 MB / 387.2 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005442/0.3337, allocations: 5.122 MB / 392.3 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.3366, allocations: 1.91 MB / 394.2 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/0.3394, allocations: 2.697 MB / 396.9 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006793/0.3401, allocations: 455.6 kB / 397.3 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.3421, allocations: 1.313 MB / 398.7 MB, free: 348 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002106/0.3442, allocations: 2.308 MB / 401 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003142/0.3474, allocations: 2.709 MB / 403.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009328/0.3567, allocations: 8.453 MB / 412.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.3567, allocations: 0 / 412.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3567, allocations: 3.938 kB / 412.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001785/0.3569, allocations: 0 / 412.1 MB, free: 3.176 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.02907/0.386, allocations: 6.961 MB / 419.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/0.3861, allocations: 16.03 kB / 419.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01761/0.4037, allocations: 2.559 MB / 421.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008714/0.4125, allocations: 3.072 MB / 424.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004073/0.4129, allocations: 300.7 kB / 425 MB, free: 6.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/0.4146, allocations: 404.7 kB / 425.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0277/0.4423, allocations: 13.25 MB / 438.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/0.4425, allocations: 47.58 kB / 438.7 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006486/0.4432, allocations: 192.9 kB / 438.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004822/0.448, allocations: 2.193 MB / 441.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02964/0.4777, allocations: 12.68 MB / 453.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07416/0.5519, allocations: 49.27 MB / 0.4913 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02555/0.5775, allocations: 6.414 MB / 0.4975 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00574/0.5833, allocations: 3.907 MB / 0.5013 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.5844, allocations: 428.2 kB / 0.5018 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.056e-05/0.5845, allocations: 59.75 kB / 0.5018 GB, free: 11.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=214): time 5.621e-06/0.5845, allocations: 0 / 0.5018 GB, free: 11.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.2877/0.8722, allocations: 36.07 MB / 0.537 GB, free: 138.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.8723, allocations: 215.8 kB / 0.5372 GB, free: 138 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006454/0.8787, allocations: 4.408 MB / 0.5415 GB, free: 136.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007211/0.8795, allocations: 61.64 kB / 0.5416 GB, free: 136.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.8814, allocations: 3.449 MB / 0.545 GB, free: 133.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.8824, allocations: 0.9477 MB / 0.5459 GB, free: 133 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002124/0.8845, allocations: 1.597 MB / 0.5475 GB, free: 132.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.162e-05/0.8846, allocations: 305.1 kB / 0.5477 GB, free: 132 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005358/0.8899, allocations: 4.325 MB / 0.552 GB, free: 130.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00588/0.8958, allocations: 8.22 MB / 0.56 GB, free: 124.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.907, allocations: 13.36 MB / 0.573 GB, free: 115.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.841e-05/0.9071, allocations: 37.81 kB / 0.5731 GB, free: 115.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.02121/0.9283, allocations: 14.75 MB / 0.5875 GB, free: 102.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.332e-05/0.9284, allocations: 64 kB / 0.5875 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.682e-05/0.9285, allocations: 136 kB / 0.5877 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005678/0.9342, allocations: 2.462 MB / 0.5901 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005777/0.94, allocations: 1.789 MB / 0.5918 GB, free: 98.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/0.9564, allocations: 17.03 MB / 0.6085 GB, free: 80.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006628/0.9631, allocations: 467.3 kB / 0.6089 GB, free: 80.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000849/0.964, allocations: 0.4919 MB / 0.6094 GB, free: 80.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (826): * Single equations (assignments): 820 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (4,21,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003276/0.9673, allocations: 2.389 MB / 0.6117 GB, free: 77.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008815/0.9681, allocations: 396 kB / 0.6121 GB, free: 77.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/0.9813, allocations: 9.645 MB / 0.6215 GB, free: 67.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.725e-05/0.9813, allocations: 28 kB / 0.6215 GB, free: 67.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.531e-05/0.9814, allocations: 8 kB / 0.6215 GB, free: 67.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.982e-05/0.9814, allocations: 7.969 kB / 0.6216 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02648/1.008, allocations: 18.11 MB / 0.6392 GB, free: 49.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.008, allocations: 0 / 0.6392 GB, free: 49.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003124/1.011, allocations: 0.5895 MB / 0.6398 GB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005658/1.017, allocations: 2.245 MB / 0.642 GB, free: 46.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005022/1.017, allocations: 123.8 kB / 0.6421 GB, free: 46.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/1.033, allocations: 15.63 MB / 0.6574 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.033, allocations: 4 kB / 0.6574 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02023/1.053, allocations: 15.12 MB / 0.6721 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.054, allocations: 464 kB / 0.6726 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000968/1.055, allocations: 39.94 kB / 0.6726 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.058, allocations: 226.8 kB / 0.6728 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007396/1.059, allocations: 245.4 kB / 0.6731 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003051/1.059, allocations: 151.8 kB / 0.6732 GB, free: 14.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0035/1.063, allocations: 2.775 MB / 0.6759 GB, free: 11.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.2e-07/1.063, allocations: 0 / 0.6759 GB, free: 11.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006239/1.069, allocations: 1.415 MB / 0.6773 GB, free: 9.914 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (195): * Single equations (assignments): 189 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (4,18,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005702/1.07, allocations: 181.5 kB / 0.6775 GB, free: 9.734 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01903/1.089, allocations: 12.97 MB / 0.6902 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.089, allocations: 0 / 0.6902 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1795/1.268, allocations: 4.624 MB / 0.6947 GB, free: 146.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/1.272, allocations: 495.9 kB / 0.6951 GB, free: 146.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/1.296, allocations: 13.25 MB / 0.7081 GB, free: 143.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005261/1.301, allocations: 3.75 MB / 0.7117 GB, free: 141.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00598/1.307, allocations: 2.373 MB / 0.7141 GB, free: 141.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001974/1.309, allocations: 0.5374 MB / 0.7146 GB, free: 141.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/1.309, allocations: 0 / 0.7146 GB, free: 141.6 MB / 462.1 MB Notification: Performance of Templates: time 0.1183/1.427, allocations: 79.74 MB / 0.7925 GB, free: 72.29 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/BevelGear1D/BevelGear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches