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.00126/0.00126, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001367/0.001367, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.525/1.525, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.001712/0.001712, allocations: 59.91 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/0.09992, allocations: 53.33 MB / 426.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01498/0.1149, allocations: 13.25 MB / 439.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.1253, allocations: 4.688 MB / 444.6 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.1279, allocations: 83.75 kB / 444.7 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2089/0.3368, allocations: 4.103 MB / 448.8 MB, free: 7.934 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006604/0.3434, allocations: 2.089 MB / 450.9 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.3456, allocations: 0.829 MB / 451.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006986/0.3526, allocations: 4.778 MB / 456.5 MB, free: 7.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00557/0.3582, allocations: 4.261 MB / 460.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004066/0.3622, allocations: 1.939 MB / 462.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005772/0.368, allocations: 2.877 MB / 465.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001666/0.3697, allocations: 452.1 kB / 466 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/0.3731, allocations: 1.356 MB / 467.4 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002817/0.3759, allocations: 2.36 MB / 469.7 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004309/0.3802, allocations: 2.776 MB / 472.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.3919, allocations: 8.888 MB / 481.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.392, allocations: 0 / 481.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.392, allocations: 3.938 kB / 481.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003777/0.3923, allocations: 2.969 kB / 481.4 MB, free: 12.97 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: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.03476/0.4271, allocations: 7.243 MB / 488.6 MB, free: 8.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4271, allocations: 10.12 kB / 488.6 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002972/0.4301, allocations: 0.8411 MB / 489.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08023/0.5103, allocations: 7.2 MB / 496.7 MB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.5215, allocations: 3.497 MB / 0.4885 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003585/0.5219, allocations: 294.8 kB / 0.4887 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002197/0.5241, allocations: 409.6 kB / 0.4891 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03449/0.5586, allocations: 13.25 MB / 0.5021 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002822/0.5589, allocations: 51.52 kB / 0.5021 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001852/0.5607, allocations: 193.1 kB / 0.5023 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004896/0.5656, allocations: 2.195 MB / 0.5044 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03064/0.5963, allocations: 12.66 MB / 0.5168 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08042/0.6767, allocations: 49.16 MB / 0.5648 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02435/0.701, allocations: 6.252 MB / 0.5709 GB, free: 8.211 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005433/0.7065, allocations: 3.666 MB / 0.5745 GB, free: 4.539 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.7075, allocations: 413.5 kB / 0.5749 GB, free: 4.094 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.775e-05/0.7076, allocations: 59.86 kB / 0.575 GB, free: 4.023 MB / 478.1 MB Notification: Performance of pre-optimization done (n=214): time 4.749e-06/0.7076, allocations: 112 / 0.575 GB, free: 4.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=252): time 0.1085/0.8161, allocations: 36.33 MB / 0.6104 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.8162, allocations: 217.8 kB / 0.6106 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008354/0.8246, allocations: 4.445 MB / 0.615 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006213/0.8252, allocations: 61.7 kB / 0.615 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0031/0.8283, allocations: 3.611 MB / 0.6186 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001412/0.8297, allocations: 0.9879 MB / 0.6195 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003293/0.833, allocations: 1.566 MB / 0.6211 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.8331, allocations: 301.1 kB / 0.6213 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006498/0.8396, allocations: 4.276 MB / 0.6255 GB, free: 32 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01143/0.8511, allocations: 8.157 MB / 0.6335 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2377/1.089, allocations: 13.29 MB / 0.6465 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001399/1.089, allocations: 37.84 kB / 0.6465 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=880) (initialization): time 0.03093/1.12, allocations: 14.61 MB / 0.6608 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003146/1.12, allocations: 64.81 kB / 0.6608 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005742/1.121, allocations: 134.9 kB / 0.661 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008089/1.129, allocations: 2.503 MB / 0.6634 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006954/1.136, allocations: 1.758 MB / 0.6651 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/1.154, allocations: 17.21 MB / 0.6819 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006675/1.161, allocations: 474.2 kB / 0.6824 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001589/1.163, allocations: 0.4891 MB / 0.6829 GB, free: 150.4 MB / 0.5294 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.005571/1.168, allocations: 2.376 MB / 0.6852 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/1.17, allocations: 420.3 kB / 0.6856 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/1.185, allocations: 9.618 MB / 0.695 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.284e-05/1.185, allocations: 24 kB / 0.695 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.309e-05/1.185, allocations: 12 kB / 0.695 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-05/1.185, allocations: 7.969 kB / 0.695 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0304/1.215, allocations: 18.15 MB / 0.7127 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/1.215, allocations: 1 kB / 0.7127 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0028/1.218, allocations: 0.5849 MB / 0.7133 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005476/1.224, allocations: 2.279 MB / 0.7155 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004288/1.224, allocations: 130.1 kB / 0.7157 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01498/1.239, allocations: 15.67 MB / 0.731 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.239, allocations: 4.656 kB / 0.731 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0186/1.258, allocations: 15.12 MB / 0.7457 GB, free: 92.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/1.259, allocations: 486 kB / 0.7462 GB, free: 91.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/1.26, allocations: 47.94 kB / 0.7463 GB, free: 91.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003188/1.263, allocations: 223.6 kB / 0.7465 GB, free: 91.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007402/1.264, allocations: 233.6 kB / 0.7467 GB, free: 91.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004168/1.264, allocations: 151.3 kB / 0.7468 GB, free: 90.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004327/1.269, allocations: 2.808 MB / 0.7496 GB, free: 88.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.269, allocations: 4 kB / 0.7496 GB, free: 88.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006551/1.275, allocations: 1.398 MB / 0.7509 GB, free: 86.7 MB / 0.5294 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.01849/1.294, allocations: 15.8 MB / 0.7664 GB, free: 70.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01248/1.306, allocations: 10.12 MB / 0.7763 GB, free: 60.69 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.306, allocations: 0 / 0.7763 GB, free: 60.69 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005307/1.312, allocations: 4.391 MB / 0.7805 GB, free: 56.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/1.315, allocations: 0.5023 MB / 0.781 GB, free: 55.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2961/1.611, allocations: 69.87 MB / 0.8493 GB, free: 183 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007184/1.619, allocations: 3.741 MB / 0.8529 GB, free: 182.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006265/1.625, allocations: 2.387 MB / 0.8552 GB, free: 182.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003502/1.628, allocations: 2.512 MB / 0.8577 GB, free: 181.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/1.628, allocations: 3.062 kB / 0.8577 GB, free: 181.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1649/1.793, allocations: 116.2 MB / 0.9712 GB, free: 85.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.63/22.43, allocations: 10.88 kB / 0.9712 GB, free: 85.13 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/BevelGear1D/BevelGear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.855410430114716]