Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.001607/0.001607, allocations: 79.73 kB / 21.25 MB, free: 392 kB / 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.001784/0.001784, allocations: 163.1 kB / 24.5 MB, free: 3.449 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.421/1.421, allocations: 177.1 MB / 204.7 MB, free: 9.012 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.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 66.64 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0898/0.09172, allocations: 53.38 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01272/0.1044, allocations: 9.846 MB / 388.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00802/0.1125, allocations: 3.851 MB / 392.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.1135, allocations: 87.62 kB / 392.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005952/0.1195, allocations: 3.084 MB / 395.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004586/0.1241, allocations: 1.942 MB / 397.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.1259, allocations: 0.8266 MB / 398.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006378/0.1323, allocations: 4.402 MB / 403 MB, free: 7.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003729/0.136, allocations: 3.021 MB / 406 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.1384, allocations: 1.647 MB / 407.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.1416, allocations: 2.145 MB / 409.8 MB, free: 492 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006407/0.1422, allocations: 344 kB / 410.1 MB, free: 148 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.1444, allocations: 1.131 MB / 411.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002052/0.1464, allocations: 2.049 MB / 413.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.1486, allocations: 1.685 MB / 415 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008632/0.1572, allocations: 7.428 MB / 422.4 MB, free: 3.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1572, allocations: 0 / 422.4 MB, free: 3.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1572, allocations: 0 / 422.4 MB, free: 3.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001675/0.1574, allocations: 4 kB / 422.4 MB, free: 3.801 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.01107/0.1685, allocations: 5.11 MB / 427.5 MB, free: 14.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1685, allocations: 11.98 kB / 427.5 MB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009216/0.1777, allocations: 2.213 MB / 429.7 MB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006399/0.1841, allocations: 2.728 MB / 432.5 MB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.1844, allocations: 242.2 kB / 432.7 MB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007342/0.1851, allocations: 327.7 kB / 433 MB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01863/0.2037, allocations: 10.48 MB / 443.5 MB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.2038, allocations: 35.69 kB / 443.5 MB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004659/0.2043, allocations: 155.8 kB / 443.7 MB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003589/0.2079, allocations: 2.029 MB / 445.7 MB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/0.2261, allocations: 8.885 MB / 454.6 MB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2239/0.4501, allocations: 38.42 MB / 493 MB, free: 56.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.4613, allocations: 4 MB / 497 MB, free: 56.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003219/0.4646, allocations: 2.291 MB / 499.3 MB, free: 55.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009869/0.4744, allocations: 6.208 MB / 0.4937 GB, free: 52.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.4745, allocations: 54.41 kB / 0.4937 GB, free: 52.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=177): time 5.119e-06/0.4745, allocations: 0 / 0.4937 GB, free: 52.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=198): time 0.04435/0.5188, allocations: 19.09 MB / 0.5124 GB, free: 38.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.5189, allocations: 179.5 kB / 0.5125 GB, free: 38.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004351/0.5232, allocations: 3.894 MB / 0.5163 GB, free: 34.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003222/0.5236, allocations: 61.42 kB / 0.5164 GB, free: 34.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.5248, allocations: 3.279 MB / 0.5196 GB, free: 31.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006751/0.5255, allocations: 0.7962 MB / 0.5204 GB, free: 30.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/0.5271, allocations: 1.285 MB / 0.5216 GB, free: 29.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.394e-05/0.5272, allocations: 308.6 kB / 0.5219 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/0.53, allocations: 2.37 MB / 0.5242 GB, free: 26.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00393/0.5339, allocations: 6.09 MB / 0.5302 GB, free: 18.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007563/0.5415, allocations: 9.139 MB / 0.5391 GB, free: 7.988 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/0.5416, allocations: 36 kB / 0.5391 GB, free: 7.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01421/0.5558, allocations: 9.211 MB / 0.5481 GB, free: 14.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.5559, allocations: 60.75 kB / 0.5482 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/0.5561, allocations: 132.2 kB / 0.5483 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003213/0.5593, allocations: 1.189 MB / 0.5495 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00488/0.5642, allocations: 1.439 MB / 0.5509 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.575, allocations: 7.086 MB / 0.5578 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004372/0.5794, allocations: 343.6 kB / 0.5581 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009895/0.5803, allocations: 380 kB / 0.5585 GB, free: 4.02 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.003918/0.5843, allocations: 2.176 MB / 0.5606 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008102/0.5851, allocations: 346.3 kB / 0.5609 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008083/0.5932, allocations: 3.969 MB / 0.5648 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-05/0.5932, allocations: 20 kB / 0.5648 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.5932, allocations: 8 kB / 0.5648 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-05/0.5932, allocations: 11.95 kB / 0.5649 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/0.6109, allocations: 8.265 MB / 0.5729 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/0.6109, allocations: 8 kB / 0.5729 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.6125, allocations: 319.9 kB / 0.5732 GB, free: 4.832 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002915/0.6154, allocations: 1.026 MB / 0.5742 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/0.6156, allocations: 32 kB / 0.5743 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.6258, allocations: 6.685 MB / 0.5808 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/0.6258, allocations: 9.422 kB / 0.5808 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/0.6375, allocations: 6.957 MB / 0.5876 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009033/0.6384, allocations: 313.6 kB / 0.5879 GB, free: 5.637 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005592/0.639, allocations: 35.98 kB / 0.5879 GB, free: 5.602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/0.6407, allocations: 128.7 kB / 0.5881 GB, free: 5.477 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003446/0.641, allocations: 125 kB / 0.5882 GB, free: 5.355 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/0.6412, allocations: 63.58 kB / 0.5882 GB, free: 5.297 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004019/0.6452, allocations: 2.259 MB / 0.5905 GB, free: 3.051 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6452, allocations: 0 / 0.5905 GB, free: 3.051 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005096/0.6503, allocations: 1.043 MB / 0.5915 GB, free: 2.008 MB / 478.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.0005085/0.6508, allocations: 182.5 kB / 0.5916 GB, free: 1.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009626/0.6605, allocations: 5.468 MB / 0.597 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.6605, allocations: 0 / 0.597 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003821/0.6643, allocations: 1.923 MB / 0.5989 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/0.6673, allocations: 422.3 kB / 0.5993 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/0.6853, allocations: 10.16 MB / 0.6092 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004621/0.6899, allocations: 2.841 MB / 0.612 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004726/0.6946, allocations: 1.947 MB / 0.6139 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009161/0.6956, allocations: 240.4 kB / 0.6141 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of SimCode: time 7.41e-07/0.6956, allocations: 0 / 0.6141 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.07027/0.7658, allocations: 33.61 MB / 0.6469 GB, free: 9.523 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.137720418977551]