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.001579/0.001579, allocations: 111 kB / 21.18 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.001657/0.001657, allocations: 211.2 kB / 24.47 MB, free: 3.977 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.482/1.482, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001561/0.001561, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2097, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01251/0.2223, allocations: 9.832 MB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007252/0.2295, allocations: 3.851 MB / 446 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006293/0.2301, allocations: 83.62 kB / 446.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005857/0.236, allocations: 3.084 MB / 449.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.2397, allocations: 1.95 MB / 451.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.2412, allocations: 0.8189 MB / 452 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005118/0.2463, allocations: 4.409 MB / 456.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003354/0.2497, allocations: 3.035 MB / 459.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.2515, allocations: 1.643 MB / 461 MB, free: 9.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.2542, allocations: 2.294 MB / 463.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005413/0.2548, allocations: 344 kB / 463.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.2567, allocations: 1.139 MB / 464.8 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001853/0.2585, allocations: 2.049 MB / 466.9 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.2602, allocations: 1.685 MB / 468.5 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007403/0.2676, allocations: 7.42 MB / 476 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2676, allocations: 3.938 kB / 476 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2676, allocations: 0 / 476 MB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.283e-05/0.2677, allocations: 0 / 476 MB, free: 10.86 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.008975/0.2767, allocations: 5.122 MB / 481.1 MB, free: 5.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2767, allocations: 8.031 kB / 481.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008875/0.2856, allocations: 2.154 MB / 483.3 MB, free: 3.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006058/0.2916, allocations: 2.717 MB / 486 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.2919, allocations: 250.2 kB / 486.2 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006/0.2925, allocations: 319.8 kB / 486.5 MB, free: 188 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/0.3089, allocations: 10.47 MB / 497 MB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.309, allocations: 47.67 kB / 497 MB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004044/0.3094, allocations: 155.8 kB / 497.2 MB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003539/0.3129, allocations: 2.029 MB / 499.2 MB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/0.329, allocations: 8.889 MB / 0.4962 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04679/0.3758, allocations: 38.29 MB / 0.5336 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1842/0.56, allocations: 3.849 MB / 0.5374 GB, free: 100.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002817/0.5628, allocations: 2.303 MB / 0.5396 GB, free: 99.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/0.573, allocations: 6.133 MB / 0.5456 GB, free: 97.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.573, allocations: 56.91 kB / 0.5456 GB, free: 97.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 4.799e-06/0.573, allocations: 0 / 0.5456 GB, free: 97.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.04022/0.6132, allocations: 18.72 MB / 0.5639 GB, free: 84.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.6133, allocations: 171.5 kB / 0.5641 GB, free: 84.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003332/0.6166, allocations: 3.908 MB / 0.5679 GB, free: 80.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.6167, allocations: 49.7 kB / 0.568 GB, free: 80.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.6178, allocations: 3.288 MB / 0.5712 GB, free: 77.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/0.6182, allocations: 0.7861 MB / 0.5719 GB, free: 76.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/0.6194, allocations: 1.282 MB / 0.5732 GB, free: 75.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.193e-05/0.6195, allocations: 313 kB / 0.5735 GB, free: 74.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0025/0.622, allocations: 2.381 MB / 0.5758 GB, free: 72.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003504/0.6255, allocations: 6.1 MB / 0.5818 GB, free: 64.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006614/0.6321, allocations: 9.146 MB / 0.5907 GB, free: 53.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.44e-05/0.6321, allocations: 40 kB / 0.5907 GB, free: 53.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.0114/0.6435, allocations: 9.229 MB / 0.5997 GB, free: 44.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.912e-05/0.6436, allocations: 62.53 kB / 0.5998 GB, free: 44.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-05/0.6437, allocations: 132 kB / 0.5999 GB, free: 44.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002642/0.6463, allocations: 1.187 MB / 0.6011 GB, free: 43.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00376/0.6501, allocations: 1.439 MB / 0.6025 GB, free: 41.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007201/0.6573, allocations: 7.08 MB / 0.6094 GB, free: 34.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/0.6606, allocations: 351.5 kB / 0.6097 GB, free: 34.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003771/0.6609, allocations: 383.8 kB / 0.6101 GB, free: 33.66 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.002155/0.6631, allocations: 2.17 MB / 0.6122 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/0.6635, allocations: 341.7 kB / 0.6126 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005909/0.6694, allocations: 3.985 MB / 0.6164 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.6694, allocations: 20 kB / 0.6165 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6694, allocations: 4 kB / 0.6165 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.6694, allocations: 11.97 kB / 0.6165 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.6819, allocations: 8.253 MB / 0.6245 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.6819, allocations: 12.08 kB / 0.6246 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.6833, allocations: 323.5 kB / 0.6249 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/0.6857, allocations: 1.023 MB / 0.6259 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/0.6859, allocations: 47.66 kB / 0.6259 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007204/0.6931, allocations: 6.676 MB / 0.6324 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6931, allocations: 11.94 kB / 0.6324 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008172/0.7012, allocations: 6.987 MB / 0.6393 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/0.7017, allocations: 309.6 kB / 0.6396 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003923/0.7021, allocations: 39.94 kB / 0.6396 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.7035, allocations: 119.8 kB / 0.6397 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/0.7038, allocations: 137 kB / 0.6398 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.704, allocations: 59.59 kB / 0.6399 GB, free: 2.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002265/0.7062, allocations: 2.255 MB / 0.6421 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7062, allocations: 480 / 0.6421 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003988/0.7102, allocations: 1.039 MB / 0.6431 GB, free: 15.6 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.0003989/0.7106, allocations: 192.4 kB / 0.6433 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008151/0.7188, allocations: 5.484 MB / 0.6487 GB, free: 9.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7188, allocations: 4.125 kB / 0.6487 GB, free: 9.934 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003427/0.7222, allocations: 1.918 MB / 0.6505 GB, free: 8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.7243, allocations: 424.3 kB / 0.6509 GB, free: 7.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.7396, allocations: 10.18 MB / 0.6609 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00375/0.7434, allocations: 2.837 MB / 0.6636 GB, free: 10.42 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004325/0.7477, allocations: 1.943 MB / 0.6655 GB, free: 8.469 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/0.7484, allocations: 231.4 kB / 0.6658 GB, free: 8.242 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7484, allocations: 0 / 0.6658 GB, free: 8.242 MB / 478.1 MB Notification: Performance of Templates: time 0.07404/0.8225, allocations: 40.8 MB / 0.7056 GB, free: 15.94 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 gbode -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: 6.191613007002161]