Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 215.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.419/1.419, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 59.89 kB / 359.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2522, allocations: 50.54 MB / 410.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01371/0.2659, allocations: 11.21 MB / 421.4 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008663/0.2746, allocations: 4.053 MB / 425.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.2767, allocations: 67.81 kB / 425.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006301/0.283, allocations: 3.205 MB / 428.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00538/0.2884, allocations: 1.929 MB / 430.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.2909, allocations: 0.8266 MB / 431.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007856/0.2988, allocations: 4.401 MB / 435.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00492/0.3037, allocations: 3.342 MB / 439.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/0.3067, allocations: 1.616 MB / 440.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003259/0.3099, allocations: 2.107 MB / 443 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007156/0.3106, allocations: 348 kB / 443.3 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.3129, allocations: 1.244 MB / 444.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.315, allocations: 2.041 MB / 446.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002413/0.3174, allocations: 2.276 MB / 448.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008063/0.3255, allocations: 7.397 MB / 456.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3255, allocations: 3.938 kB / 456.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3255, allocations: 0 / 456.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001611/0.3256, allocations: 0 / 456.3 MB, free: 3.191 MB / 366.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.01059/0.3362, allocations: 5.193 MB / 461.5 MB, free: 13.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3363, allocations: 12.03 kB / 461.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008863/0.3451, allocations: 2.154 MB / 463.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006457/0.3516, allocations: 2.785 MB / 466.4 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.3518, allocations: 242.2 kB / 466.7 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/0.3529, allocations: 311.9 kB / 467 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/0.3729, allocations: 10.45 MB / 477.4 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/0.3731, allocations: 39.67 kB / 477.4 MB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004442/0.3735, allocations: 155.9 kB / 477.6 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003622/0.3771, allocations: 2.029 MB / 479.6 MB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01822/0.3953, allocations: 8.909 MB / 488.5 MB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05615/0.4515, allocations: 40.88 MB / 0.517 GB, free: 8.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/0.464, allocations: 4.322 MB / 0.5212 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003377/0.4674, allocations: 2.286 MB / 0.5235 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/0.48, allocations: 7.366 MB / 0.5307 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/0.48, allocations: 59.44 kB / 0.5307 GB, free: 9.688 MB / 462.1 MB Notification: Performance of pre-optimization done (n=177): time 4.018e-06/0.48, allocations: 0 / 0.5307 GB, free: 9.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=198): time 0.2674/0.7475, allocations: 18.86 MB / 0.5491 GB, free: 121.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.7475, allocations: 180.9 kB / 0.5493 GB, free: 120.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004811/0.7524, allocations: 4.568 MB / 0.5538 GB, free: 119.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002837/0.7526, allocations: 57.45 kB / 0.5538 GB, free: 119.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001779/0.7544, allocations: 3.245 MB / 0.557 GB, free: 117.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007363/0.7552, allocations: 0.7937 MB / 0.5578 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.7565, allocations: 1.284 MB / 0.559 GB, free: 115.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.141e-05/0.7565, allocations: 306.8 kB / 0.5593 GB, free: 115.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002827/0.7594, allocations: 2.382 MB / 0.5616 GB, free: 114.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003935/0.7633, allocations: 6.075 MB / 0.5676 GB, free: 107.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007672/0.771, allocations: 9.154 MB / 0.5765 GB, free: 97.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.887e-05/0.7711, allocations: 36 kB / 0.5765 GB, free: 97.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01315/0.7842, allocations: 9.28 MB / 0.5856 GB, free: 88.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/0.7843, allocations: 63.98 kB / 0.5857 GB, free: 88.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.73e-05/0.7844, allocations: 131.9 kB / 0.5858 GB, free: 87.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00257/0.7869, allocations: 1.188 MB / 0.587 GB, free: 86.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00408/0.791, allocations: 1.435 MB / 0.5884 GB, free: 85.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007441/0.7985, allocations: 7.293 MB / 0.5955 GB, free: 77.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004466/0.8029, allocations: 359.6 kB / 0.5958 GB, free: 77.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006302/0.8036, allocations: 376 kB / 0.5962 GB, free: 77.2 MB / 462.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.002674/0.8062, allocations: 2.164 MB / 0.5983 GB, free: 75.03 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006328/0.8069, allocations: 409.2 kB / 0.5987 GB, free: 74.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006016/0.8129, allocations: 4.042 MB / 0.6026 GB, free: 70.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.439e-05/0.8129, allocations: 27.61 kB / 0.6027 GB, free: 70.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.8129, allocations: 13.22 kB / 0.6027 GB, free: 70.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.8129, allocations: 11.91 kB / 0.6027 GB, free: 70.53 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/0.8258, allocations: 9.41 MB / 0.6119 GB, free: 61.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.8258, allocations: 4 kB / 0.6119 GB, free: 61.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.8272, allocations: 320.1 kB / 0.6122 GB, free: 60.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/0.8295, allocations: 1.026 MB / 0.6132 GB, free: 59.69 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.8297, allocations: 39.98 kB / 0.6132 GB, free: 59.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006947/0.8366, allocations: 6.873 MB / 0.6199 GB, free: 52.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.8366, allocations: 12 kB / 0.6199 GB, free: 52.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008048/0.8447, allocations: 7.054 MB / 0.6268 GB, free: 45.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.8457, allocations: 478.2 kB / 0.6273 GB, free: 44.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/0.8461, allocations: 39.98 kB / 0.6273 GB, free: 44.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/0.8476, allocations: 131.8 kB / 0.6274 GB, free: 44.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/0.8479, allocations: 123.1 kB / 0.6276 GB, free: 44.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.848, allocations: 56 kB / 0.6276 GB, free: 44.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003248/0.8513, allocations: 2.92 MB / 0.6305 GB, free: 41.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8513, allocations: 4 kB / 0.6305 GB, free: 41.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004416/0.8557, allocations: 1.059 MB / 0.6315 GB, free: 40.66 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.000385/0.8561, allocations: 174.8 kB / 0.6317 GB, free: 40.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006577/0.8627, allocations: 5.485 MB / 0.637 GB, free: 35.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.8627, allocations: 0 / 0.637 GB, free: 35.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002674/0.8653, allocations: 1.939 MB / 0.6389 GB, free: 33.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/0.868, allocations: 483.9 kB / 0.6394 GB, free: 32.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.8806, allocations: 10.21 MB / 0.6494 GB, free: 22.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002535/0.8831, allocations: 3.355 MB / 0.6526 GB, free: 18.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003681/0.8868, allocations: 2.029 MB / 0.6546 GB, free: 16.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007274/0.8875, allocations: 263.4 kB / 0.6549 GB, free: 16.61 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.8875, allocations: 4 kB / 0.6549 GB, free: 16.6 MB / 462.1 MB Notification: Performance of Templates: time 0.07151/0.959, allocations: 39.18 MB / 0.6931 GB, free: 9.672 MB / 494.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches