Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 51.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2282, allocations: 53.36 MB / 431.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01609/0.2443, allocations: 13.27 MB / 444.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.2544, allocations: 4.716 MB / 449.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.257, allocations: 99.5 kB / 449.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008122/0.2651, allocations: 4.139 MB / 453.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005574/0.2707, allocations: 2.089 MB / 455.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.2728, allocations: 0.8421 MB / 456.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006998/0.2798, allocations: 4.779 MB / 461.1 MB, free: 8.805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004949/0.2848, allocations: 3.937 MB / 465 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.288, allocations: 1.963 MB / 467 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004792/0.2928, allocations: 2.87 MB / 469.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008973/0.2937, allocations: 452 kB / 470.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.2961, allocations: 1.365 MB / 471.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00241/0.2985, allocations: 2.353 MB / 474 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003814/0.3023, allocations: 2.785 MB / 476.8 MB, free: 8.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.3133, allocations: 8.885 MB / 485.7 MB, free: 68 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3133, allocations: 0 / 485.7 MB, free: 68 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3133, allocations: 0 / 485.7 MB, free: 68 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002319/0.3135, allocations: 4 kB / 485.7 MB, free: 64 kB / 382.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.02988/0.3434, allocations: 7.177 MB / 492.9 MB, free: 8.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3435, allocations: 8.031 kB / 492.9 MB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001628/0.3451, allocations: 0.8428 MB / 493.7 MB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1065/0.4516, allocations: 7.191 MB / 0.4892 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009118/0.4607, allocations: 3.409 MB / 0.4925 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/0.461, allocations: 303.8 kB / 0.4928 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001707/0.4627, allocations: 407.8 kB / 0.4932 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02724/0.49, allocations: 13.25 MB / 0.5061 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001426/0.4901, allocations: 47.62 kB / 0.5062 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005967/0.4907, allocations: 191.8 kB / 0.5063 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004252/0.495, allocations: 2.202 MB / 0.5085 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02994/0.5249, allocations: 12.68 MB / 0.5209 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2701/0.795, allocations: 48.98 MB / 0.5687 GB, free: 65.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02089/0.8159, allocations: 5.787 MB / 0.5744 GB, free: 64.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00368/0.8196, allocations: 3.691 MB / 0.578 GB, free: 62.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007004/0.8203, allocations: 201.9 kB / 0.5781 GB, free: 62.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.8203, allocations: 51.5 kB / 0.5782 GB, free: 62.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 4.358e-06/0.8203, allocations: 0 / 0.5782 GB, free: 62.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.08583/0.9061, allocations: 35.97 MB / 0.6133 GB, free: 27.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.9062, allocations: 209.8 kB / 0.6135 GB, free: 27.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004867/0.9111, allocations: 4.444 MB / 0.6179 GB, free: 23.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006036/0.9117, allocations: 69.7 kB / 0.6179 GB, free: 23.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.913, allocations: 3.608 MB / 0.6215 GB, free: 19.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009018/0.9139, allocations: 0.9861 MB / 0.6224 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001706/0.9156, allocations: 1.568 MB / 0.624 GB, free: 17.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.9157, allocations: 301.1 kB / 0.6242 GB, free: 17.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004218/0.9199, allocations: 4.276 MB / 0.6284 GB, free: 12.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005449/0.9253, allocations: 8.159 MB / 0.6364 GB, free: 2.758 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/0.9413, allocations: 13.29 MB / 0.6494 GB, free: 3.566 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.97e-05/0.9414, allocations: 40 kB / 0.6494 GB, free: 3.527 MB / 462.1 MB Notification: Performance of matching and sorting (n=880) (initialization): time 0.02816/0.9695, allocations: 14.62 MB / 0.6637 GB, free: 4.887 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.043e-05/0.9696, allocations: 64 kB / 0.6637 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001522/0.9698, allocations: 136 kB / 0.6639 GB, free: 4.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006997/0.9768, allocations: 2.505 MB / 0.6663 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006657/0.9834, allocations: 1.754 MB / 0.668 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0242/1.008, allocations: 16.91 MB / 0.6845 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005986/1.014, allocations: 475.1 kB / 0.685 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/1.015, allocations: 495.7 kB / 0.6855 GB, free: 14.24 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.004201/1.019, allocations: 2.384 MB / 0.6878 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.02, allocations: 421.2 kB / 0.6882 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/1.037, allocations: 9.606 MB / 0.6976 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.813e-05/1.037, allocations: 28 kB / 0.6976 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.664e-05/1.037, allocations: 12 kB / 0.6976 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.656e-05/1.037, allocations: 11.95 kB / 0.6976 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0326/1.07, allocations: 18.13 MB / 0.7153 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/1.07, allocations: 0 / 0.7153 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003182/1.073, allocations: 0.5849 MB / 0.7159 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006767/1.08, allocations: 2.266 MB / 0.7181 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005481/1.08, allocations: 133.7 kB / 0.7182 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02173/1.102, allocations: 15.35 MB / 0.7332 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/1.102, allocations: 3.938 kB / 0.7332 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2107/1.313, allocations: 15.13 MB / 0.748 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.314, allocations: 411.2 kB / 0.7484 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009477/1.315, allocations: 43.16 kB / 0.7484 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/1.318, allocations: 223.5 kB / 0.7487 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007393/1.319, allocations: 241 kB / 0.7489 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003534/1.319, allocations: 152.5 kB / 0.749 GB, free: 190.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003746/1.323, allocations: 2.807 MB / 0.7518 GB, free: 190.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.323, allocations: 0 / 0.7518 GB, free: 190.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005543/1.328, allocations: 1.407 MB / 0.7531 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.01776/1.346, allocations: 15.79 MB / 0.7686 GB, free: 184.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.358, allocations: 10.12 MB / 0.7785 GB, free: 178.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.358, allocations: 0 / 0.7785 GB, free: 178.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005137/1.363, allocations: 4.395 MB / 0.7827 GB, free: 174.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/1.366, allocations: 0.4991 MB / 0.7832 GB, free: 174.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07569/1.442, allocations: 69.99 MB / 0.8516 GB, free: 99.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003181/1.445, allocations: 3.739 MB / 0.8552 GB, free: 95.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004689/1.449, allocations: 2.383 MB / 0.8576 GB, free: 93.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003414/1.453, allocations: 2.51 MB / 0.86 GB, free: 90.82 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/1.453, allocations: 0 / 0.86 GB, free: 90.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3621/1.815, allocations: 122.1 MB / 0.9793 GB, free: 173.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.74/23.55, allocations: 15.89 kB / 0.9793 GB, free: 173.8 MB / 0.545 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 26.50601852592081]