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.002051/0.002051, allocations: 78.89 kB / 20.49 MB, free: 1.387 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.00238/0.00238, allocations: 162.2 kB / 23.74 MB, free: 4.578 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.467/1.467, allocations: 177.1 MB / 204 MB, free: 9.234 MB / 190.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: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 70 kB / 324.8 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.105, allocations: 53.38 MB / 378.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01527/0.1203, allocations: 11.53 MB / 389.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009948/0.1302, allocations: 4.471 MB / 394.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.1322, allocations: 99.5 kB / 394.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008635/0.1408, allocations: 4.155 MB / 398.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005677/0.1465, allocations: 2.12 MB / 400.5 MB, free: 9.301 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.1488, allocations: 0.893 MB / 401.4 MB, free: 8.406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007557/0.1564, allocations: 4.791 MB / 406.2 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006272/0.1627, allocations: 3.887 MB / 410.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005897/0.1685, allocations: 2.778 MB / 412.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00494/0.1735, allocations: 2.683 MB / 415.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001643/0.1751, allocations: 452 kB / 416 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/0.1785, allocations: 1.217 MB / 417.2 MB, free: 8.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003895/0.1824, allocations: 2.357 MB / 419.6 MB, free: 6.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004681/0.1871, allocations: 2.028 MB / 421.6 MB, free: 4.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.1996, allocations: 8.764 MB / 430.4 MB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1996, allocations: 4 kB / 430.4 MB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1996, allocations: 4 kB / 430.4 MB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000266/0.1998, allocations: 0 / 430.4 MB, free: 11.3 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.03421/0.234, allocations: 7.353 MB / 437.7 MB, free: 3.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.2341, allocations: 19.92 kB / 437.7 MB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/0.2504, allocations: 2.646 MB / 440.4 MB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009372/0.2597, allocations: 3.073 MB / 443.5 MB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.2601, allocations: 303.7 kB / 443.8 MB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001773/0.2619, allocations: 415.8 kB / 444.2 MB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03213/0.294, allocations: 13.49 MB / 457.7 MB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002296/0.2942, allocations: 51.62 kB / 457.7 MB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00141/0.2956, allocations: 191.9 kB / 457.9 MB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00483/0.3004, allocations: 2.202 MB / 460.1 MB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2758/0.5763, allocations: 12.83 MB / 472.9 MB, free: 75.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06429/0.6406, allocations: 46.13 MB / 0.5069 GB, free: 46.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0236/0.6642, allocations: 6.142 MB / 0.5129 GB, free: 40.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003933/0.6681, allocations: 3.713 MB / 0.5165 GB, free: 36.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000832/0.6689, allocations: 184.9 kB / 0.5167 GB, free: 36.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.669, allocations: 63.81 kB / 0.5167 GB, free: 36.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=214): time 5.31e-06/0.669, allocations: 112 / 0.5167 GB, free: 36.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.1146/0.7836, allocations: 37.13 MB / 0.553 GB, free: 15.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.7837, allocations: 205.9 kB / 0.5532 GB, free: 15.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00597/0.7897, allocations: 4.184 MB / 0.5573 GB, free: 11.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000722/0.7904, allocations: 69.7 kB / 0.5574 GB, free: 11.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002832/0.7932, allocations: 3.614 MB / 0.5609 GB, free: 7.555 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001451/0.7947, allocations: 1.002 MB / 0.5619 GB, free: 6.566 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002601/0.7973, allocations: 1.659 MB / 0.5635 GB, free: 4.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.7974, allocations: 302.9 kB / 0.5638 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006559/0.804, allocations: 4.363 MB / 0.568 GB, free: 236 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0102/0.8142, allocations: 8.304 MB / 0.5761 GB, free: 6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01959/0.8338, allocations: 13.44 MB / 0.5893 GB, free: 6.652 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001681/0.8339, allocations: 36 kB / 0.5893 GB, free: 6.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.02974/0.8637, allocations: 14.83 MB / 0.6038 GB, free: 7.766 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.8638, allocations: 64 kB / 0.6039 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002107/0.864, allocations: 132 kB / 0.604 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007339/0.8714, allocations: 2.462 MB / 0.6064 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007516/0.8789, allocations: 1.852 MB / 0.6082 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02445/0.9033, allocations: 16.48 MB / 0.6243 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006388/0.9097, allocations: 484.9 kB / 0.6247 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/0.9112, allocations: 0.5231 MB / 0.6253 GB, free: 1.477 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 (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.006106/0.9173, allocations: 2.4 MB / 0.6276 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00127/0.9185, allocations: 389.4 kB / 0.628 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01848/0.937, allocations: 9.701 MB / 0.6374 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.677e-05/0.9371, allocations: 28 kB / 0.6375 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.968e-05/0.9371, allocations: 8 kB / 0.6375 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.356e-05/0.9372, allocations: 11.95 kB / 0.6375 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03973/0.9769, allocations: 16.58 MB / 0.6537 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/0.9769, allocations: 4 kB / 0.6537 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00365/0.9806, allocations: 0.6552 MB / 0.6543 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007038/0.9876, allocations: 2.236 MB / 0.6565 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009175/0.9885, allocations: 159.8 kB / 0.6567 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02252/1.011, allocations: 15.14 MB / 0.6715 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.011, allocations: 1.172 kB / 0.6715 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2555/1.267, allocations: 15.25 MB / 0.6863 GB, free: 186.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009829/1.268, allocations: 367.8 kB / 0.6867 GB, free: 186.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007448/1.268, allocations: 47.31 kB / 0.6867 GB, free: 186.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00274/1.271, allocations: 239.1 kB / 0.687 GB, free: 186.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007575/1.272, allocations: 277.5 kB / 0.6872 GB, free: 186.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003065/1.272, allocations: 169.2 kB / 0.6874 GB, free: 186.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003007/1.275, allocations: 2.456 MB / 0.6898 GB, free: 185.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.275, allocations: 0 / 0.6898 GB, free: 185.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006074/1.281, allocations: 1.423 MB / 0.6912 GB, free: 185.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.000603/1.282, allocations: 194 kB / 0.6914 GB, free: 185.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01353/1.295, allocations: 10.15 MB / 0.7013 GB, free: 181.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.295, allocations: 0 / 0.7013 GB, free: 181.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006235/1.302, allocations: 4.437 MB / 0.7056 GB, free: 178.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/1.306, allocations: 469.9 kB / 0.7061 GB, free: 178 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/1.328, allocations: 13.36 MB / 0.7191 GB, free: 166.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005082/1.333, allocations: 3.216 MB / 0.7222 GB, free: 163.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004995/1.338, allocations: 2.337 MB / 0.7245 GB, free: 161.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/1.34, allocations: 0.6248 MB / 0.7251 GB, free: 160.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.593e-06/1.34, allocations: 3.828 kB / 0.7251 GB, free: 160.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1067/1.447, allocations: 73.82 MB / 0.7972 GB, free: 87.01 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[2001]=0.400000 File[2502]=1.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.215762635692954]