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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.89 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2557, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.016/0.2717, allocations: 13.28 MB / 444.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009946/0.2816, allocations: 4.716 MB / 449.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.2836, allocations: 99.5 kB / 449.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007824/0.2914, allocations: 4.135 MB / 453.4 MB, free: 384 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005326/0.2967, allocations: 2.089 MB / 455.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.2988, allocations: 0.8461 MB / 456.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006899/0.3057, allocations: 4.771 MB / 461.1 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006106/0.3118, allocations: 3.937 MB / 465.1 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003733/0.3155, allocations: 1.963 MB / 467 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004877/0.3204, allocations: 2.878 MB / 469.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001486/0.3219, allocations: 459.9 kB / 470.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.3251, allocations: 1.342 MB / 471.7 MB, free: 14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003328/0.3284, allocations: 2.368 MB / 474.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005176/0.3336, allocations: 2.774 MB / 476.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.3465, allocations: 8.889 MB / 485.7 MB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3465, allocations: 4 kB / 485.7 MB, free: 15.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3465, allocations: 0 / 485.7 MB, free: 15.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002988/0.3468, allocations: 0 / 485.7 MB, free: 15.9 MB / 398.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.03176/0.3785, allocations: 7.185 MB / 492.9 MB, free: 8.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3786, allocations: 8.031 kB / 492.9 MB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002398/0.381, allocations: 0.8389 MB / 493.8 MB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0818/0.4628, allocations: 7.191 MB / 0.4892 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009123/0.4719, allocations: 3.409 MB / 0.4925 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.4722, allocations: 303.8 kB / 0.4928 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/0.4736, allocations: 399.8 kB / 0.4932 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02791/0.5015, allocations: 13.26 MB / 0.5062 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001808/0.5017, allocations: 51.58 kB / 0.5062 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00106/0.5028, allocations: 187.8 kB / 0.5064 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004485/0.5073, allocations: 2.198 MB / 0.5085 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02772/0.535, allocations: 12.67 MB / 0.5209 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2533/0.7883, allocations: 48.99 MB / 0.5687 GB, free: 65.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02055/0.8088, allocations: 5.794 MB / 0.5744 GB, free: 64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003515/0.8124, allocations: 3.689 MB / 0.578 GB, free: 62.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007064/0.8131, allocations: 197.5 kB / 0.5782 GB, free: 62.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.8131, allocations: 63.08 kB / 0.5783 GB, free: 62.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 3.968e-06/0.8131, allocations: 0 / 0.5783 GB, free: 62.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.08476/0.8979, allocations: 35.97 MB / 0.6134 GB, free: 27.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.8979, allocations: 209.8 kB / 0.6136 GB, free: 27.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004923/0.9028, allocations: 4.449 MB / 0.6179 GB, free: 23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006204/0.9035, allocations: 61.7 kB / 0.618 GB, free: 22.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.9049, allocations: 3.604 MB / 0.6215 GB, free: 19.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001005/0.9059, allocations: 0.9934 MB / 0.6225 GB, free: 18.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001959/0.9079, allocations: 1.564 MB / 0.624 GB, free: 17.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.9079, allocations: 309.1 kB / 0.6243 GB, free: 16.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004457/0.9124, allocations: 4.269 MB / 0.6285 GB, free: 12.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006098/0.9185, allocations: 8.159 MB / 0.6364 GB, free: 2.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01756/0.936, allocations: 13.29 MB / 0.6494 GB, free: 3.258 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/0.9361, allocations: 43.56 kB / 0.6495 GB, free: 3.219 MB / 462.1 MB Notification: Performance of matching and sorting (n=880) (initialization): time 0.02964/0.9658, allocations: 14.62 MB / 0.6637 GB, free: 4.582 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.9659, allocations: 68.06 kB / 0.6638 GB, free: 4.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/0.9661, allocations: 136 kB / 0.6639 GB, free: 4.383 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007114/0.9732, allocations: 2.499 MB / 0.6664 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006596/0.9798, allocations: 1.754 MB / 0.6681 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0242/1.004, allocations: 16.91 MB / 0.6846 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006084/1.01, allocations: 475.4 kB / 0.685 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.011, allocations: 499.7 kB / 0.6855 GB, free: 13.93 MB / 0.4981 GB 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 (807): * Single equations (assignments): 801 * 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,15,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.004693/1.016, allocations: 2.376 MB / 0.6878 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.017, allocations: 425.2 kB / 0.6882 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01778/1.035, allocations: 9.606 MB / 0.6976 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-05/1.035, allocations: 32 kB / 0.6977 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.804e-05/1.035, allocations: 12 kB / 0.6977 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-05/1.035, allocations: 11.95 kB / 0.6977 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03324/1.068, allocations: 18.11 MB / 0.7154 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/1.068, allocations: 4 kB / 0.7154 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003175/1.071, allocations: 0.5849 MB / 0.7159 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006796/1.078, allocations: 2.265 MB / 0.7181 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006081/1.079, allocations: 135.7 kB / 0.7183 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02215/1.101, allocations: 15.37 MB / 0.7333 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.101, allocations: 0 / 0.7333 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2276/1.328, allocations: 15.12 MB / 0.7481 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/1.33, allocations: 405.2 kB / 0.7484 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/1.331, allocations: 47.91 kB / 0.7485 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003171/1.334, allocations: 224.1 kB / 0.7487 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009674/1.335, allocations: 248.2 kB / 0.7489 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004009/1.335, allocations: 148.6 kB / 0.7491 GB, free: 190.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004103/1.34, allocations: 2.807 MB / 0.7518 GB, free: 190.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/1.34, allocations: 0 / 0.7518 GB, free: 190.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005844/1.345, allocations: 1.403 MB / 0.7532 GB, free: 190.2 MB / 0.545 GB 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.0183/1.364, allocations: 15.8 MB / 0.7686 GB, free: 184.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.376, allocations: 10.11 MB / 0.7785 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.376, allocations: 3.781 kB / 0.7785 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005086/1.381, allocations: 4.396 MB / 0.7828 GB, free: 174.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/1.384, allocations: 0.506 MB / 0.7833 GB, free: 173.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08129/1.465, allocations: 69.97 MB / 0.8516 GB, free: 99.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003113/1.468, allocations: 3.736 MB / 0.8553 GB, free: 95.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004658/1.473, allocations: 2.383 MB / 0.8576 GB, free: 92.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003208/1.476, allocations: 2.51 MB / 0.86 GB, free: 90.39 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/1.476, allocations: 0 / 0.86 GB, free: 90.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3634/1.839, allocations: 122.1 MB / 0.9793 GB, free: 173.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.11/22.95, allocations: 6.812 kB / 0.9793 GB, free: 173.5 MB / 0.545 GB " [Timeout remaining time 637] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/BevelGear1D/BevelGear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[2001]=0.400000 File[2503]=1.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.94275231100619]