Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.001737/0.001737, allocations: 111 kB / 21.19 MB, free: 0.6758 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.002173/0.002173, allocations: 215.5 kB / 24.48 MB, free: 3.98 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.615/1.615, allocations: 230.6 MB / 258.2 MB, free: 7.809 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 43.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3408, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01516/0.356, allocations: 9.832 MB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.3687, allocations: 3.851 MB / 446 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002517/0.3712, allocations: 79.69 kB / 446.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.3815, allocations: 3.092 MB / 449.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009462/0.391, allocations: 1.942 MB / 451.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.3945, allocations: 0.8227 MB / 452 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01113/0.4056, allocations: 4.405 MB / 456.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006494/0.4121, allocations: 3.043 MB / 459.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004174/0.4163, allocations: 1.636 MB / 461 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006023/0.4223, allocations: 2.282 MB / 463.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00128/0.4236, allocations: 351.9 kB / 463.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003837/0.4274, allocations: 1.147 MB / 464.8 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004035/0.4314, allocations: 2.053 MB / 466.9 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003644/0.4351, allocations: 1.681 MB / 468.5 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01468/0.4498, allocations: 7.42 MB / 476 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4498, allocations: 0 / 476 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.072e-06/0.4498, allocations: 3.984 kB / 476 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001765/0.4499, allocations: 0 / 476 MB, free: 10.89 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: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.01907/0.469, allocations: 5.122 MB / 481.1 MB, free: 5.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.4691, allocations: 12.03 kB / 481.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01765/0.4867, allocations: 2.151 MB / 483.3 MB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.4989, allocations: 2.724 MB / 486 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003957/0.4993, allocations: 242.2 kB / 486.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002011/0.5013, allocations: 319.8 kB / 486.5 MB, free: 220 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03534/0.5366, allocations: 10.47 MB / 497 MB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/0.5368, allocations: 39.69 kB / 497 MB, free: 5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007401/0.5375, allocations: 151.9 kB / 497.2 MB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006954/0.5445, allocations: 2.029 MB / 499.2 MB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0356/0.5801, allocations: 8.889 MB / 0.4962 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07233/0.6524, allocations: 38.3 MB / 0.5336 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2438/0.8962, allocations: 3.848 MB / 0.5374 GB, free: 100.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003421/0.8996, allocations: 2.301 MB / 0.5396 GB, free: 99.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.9111, allocations: 6.141 MB / 0.5456 GB, free: 97.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.9112, allocations: 58.41 kB / 0.5457 GB, free: 97.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 5.861e-06/0.9112, allocations: 0 / 0.5457 GB, free: 97.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.04237/0.9535, allocations: 18.71 MB / 0.5639 GB, free: 84.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.9536, allocations: 179.5 kB / 0.5641 GB, free: 84.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003948/0.9576, allocations: 3.896 MB / 0.5679 GB, free: 80.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003918/0.958, allocations: 57.69 kB / 0.568 GB, free: 80.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.9593, allocations: 3.275 MB / 0.5712 GB, free: 77.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006713/0.9599, allocations: 0.7892 MB / 0.5719 GB, free: 76.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/0.9613, allocations: 1.29 MB / 0.5732 GB, free: 75.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.9613, allocations: 309 kB / 0.5735 GB, free: 74.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/0.9639, allocations: 2.382 MB / 0.5758 GB, free: 72.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004037/0.968, allocations: 6.096 MB / 0.5818 GB, free: 64.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008297/0.9763, allocations: 9.152 MB / 0.5907 GB, free: 53.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/0.9764, allocations: 40 kB / 0.5907 GB, free: 53.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01452/0.9909, allocations: 9.226 MB / 0.5997 GB, free: 44.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.611e-05/0.991, allocations: 60 kB / 0.5998 GB, free: 44.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/0.9911, allocations: 135.9 kB / 0.5999 GB, free: 44.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002674/0.9938, allocations: 1.191 MB / 0.6011 GB, free: 43.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004945/0.9987, allocations: 1.435 MB / 0.6025 GB, free: 41.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007563/1.006, allocations: 7.079 MB / 0.6094 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004735/1.011, allocations: 354.9 kB / 0.6097 GB, free: 34.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000971/1.012, allocations: 383.6 kB / 0.6101 GB, free: 33.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 757 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003409/1.015, allocations: 2.175 MB / 0.6122 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007615/1.016, allocations: 345.7 kB / 0.6126 GB, free: 31.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/1.022, allocations: 3.977 MB / 0.6165 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/1.022, allocations: 20 kB / 0.6165 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/1.022, allocations: 12 kB / 0.6165 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/1.022, allocations: 11.95 kB / 0.6165 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/1.037, allocations: 8.25 MB / 0.6246 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-05/1.037, allocations: 4 kB / 0.6246 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/1.039, allocations: 327.5 kB / 0.6249 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/1.041, allocations: 1.026 MB / 0.6259 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002443/1.041, allocations: 39.98 kB / 0.6259 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007714/1.049, allocations: 6.672 MB / 0.6324 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.049, allocations: 11.94 kB / 0.6324 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009193/1.058, allocations: 6.987 MB / 0.6393 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/1.06, allocations: 317.7 kB / 0.6396 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000681/1.06, allocations: 43.92 kB / 0.6396 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/1.062, allocations: 115.8 kB / 0.6397 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003857/1.063, allocations: 140.9 kB / 0.6398 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.063, allocations: 59.83 kB / 0.6399 GB, free: 2.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003205/1.066, allocations: 2.259 MB / 0.6421 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/1.066, allocations: 0 / 0.6421 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006226/1.072, allocations: 1.039 MB / 0.6431 GB, free: 15.62 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (157): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006233/1.073, allocations: 176.5 kB / 0.6433 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01091/1.084, allocations: 5.483 MB / 0.6486 GB, free: 9.973 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/1.084, allocations: 8.062 kB / 0.6487 GB, free: 9.965 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003911/1.088, allocations: 1.927 MB / 0.6505 GB, free: 8.023 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/1.091, allocations: 410.1 kB / 0.6509 GB, free: 7.625 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02207/1.113, allocations: 10.19 MB / 0.6609 GB, free: 13.33 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004831/1.118, allocations: 2.841 MB / 0.6636 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005134/1.123, allocations: 1.943 MB / 0.6655 GB, free: 8.496 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008714/1.124, allocations: 231.4 kB / 0.6658 GB, free: 8.27 MB / 478.1 MB Notification: Performance of SimCode: time 2.054e-06/1.124, allocations: 0 / 0.6658 GB, free: 8.27 MB / 478.1 MB Notification: Performance of Templates: time 0.08861/1.212, allocations: 40.77 MB / 0.7056 GB, free: 15.98 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.190609534998657]