Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.001263/0.001264, allocations: 119.5 kB / 18.45 MB, free: 4.613 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.001476/0.001476, allocations: 201.8 kB / 21.4 MB, free: 1.668 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.429/1.429, allocations: 227.4 MB / 251.6 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.17 MB / 351.1 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 85.56 kB / 490.2 MB, free: 28.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1207, allocations: 62.45 MB / 0.5397 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01494/0.1357, allocations: 12.64 MB / 0.552 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009216/0.1449, allocations: 4.493 MB / 0.5564 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.1468, allocations: 83.75 kB / 0.5565 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00685/0.1537, allocations: 3.715 MB / 0.5601 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005554/0.1593, allocations: 2.173 MB / 0.5623 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.1616, allocations: 0.9982 MB / 0.5632 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009072/0.1707, allocations: 6.039 MB / 0.5691 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006221/0.1769, allocations: 4.549 MB / 0.5736 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/0.1804, allocations: 1.951 MB / 0.5755 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003869/0.1843, allocations: 2.605 MB / 0.578 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008685/0.1852, allocations: 412 kB / 0.5784 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.188, allocations: 1.436 MB / 0.5798 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003011/0.1911, allocations: 2.42 MB / 0.5822 GB, free: 8.652 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003727/0.1948, allocations: 2.699 MB / 0.5848 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.2058, allocations: 8.634 MB / 0.5932 GB, free: 13.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2058, allocations: 3.938 kB / 0.5933 GB, free: 13.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2058, allocations: 0 / 0.5933 GB, free: 13.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002654/0.2061, allocations: 0 / 0.5933 GB, free: 13.27 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01632/0.2224, allocations: 6.163 MB / 0.5993 GB, free: 7.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.2225, allocations: 8.031 kB / 0.5993 GB, free: 7.012 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/0.2347, allocations: 2.568 MB / 0.6018 GB, free: 4.438 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/0.2451, allocations: 3.755 MB / 0.6055 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003403/0.2455, allocations: 279.5 kB / 0.6057 GB, free: 364 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3145/0.56, allocations: 383.1 kB / 0.6061 GB, free: 55.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02507/0.5851, allocations: 11.59 MB / 0.6174 GB, free: 50.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001647/0.5853, allocations: 59.44 kB / 0.6175 GB, free: 50.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004923/0.5858, allocations: 178.4 kB / 0.6176 GB, free: 50.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004114/0.5899, allocations: 2.147 MB / 0.6197 GB, free: 49.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0226/0.6125, allocations: 9.623 MB / 0.6291 GB, free: 46.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05017/0.6628, allocations: 45.71 MB / 0.6738 GB, free: 3.492 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.673, allocations: 3.93 MB / 0.6776 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003662/0.6767, allocations: 2.163 MB / 0.6797 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0141/0.6909, allocations: 6.533 MB / 0.6861 GB, free: 6.797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.652e-05/0.691, allocations: 55.5 kB / 0.6861 GB, free: 6.734 MB / 478.1 MB Notification: Performance of pre-optimization done (n=154): time 3.877e-06/0.691, allocations: 0 / 0.6861 GB, free: 6.734 MB / 478.1 MB Notification: Performance of matching and sorting (n=166): time 0.04944/0.7404, allocations: 16.75 MB / 0.7025 GB, free: 6.129 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.7406, allocations: 200.9 kB / 0.7027 GB, free: 5.891 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009718/0.7503, allocations: 5.615 MB / 0.7082 GB, free: 372 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000465/0.7508, allocations: 51.81 kB / 0.7082 GB, free: 316 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003754/0.7546, allocations: 3.833 MB / 0.712 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001071/0.7557, allocations: 0.6979 MB / 0.7127 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002207/0.7579, allocations: 1.428 MB / 0.714 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.7581, allocations: 305.1 kB / 0.7143 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003768/0.7619, allocations: 2.309 MB / 0.7166 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007858/0.7697, allocations: 6.583 MB / 0.723 GB, free: 15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01376/0.7835, allocations: 9.555 MB / 0.7324 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001297/0.7837, allocations: 44 kB / 0.7324 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.02193/0.8056, allocations: 9.657 MB / 0.7418 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.8058, allocations: 68 kB / 0.7419 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002133/0.806, allocations: 152.1 kB / 0.742 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003475/0.8095, allocations: 1.213 MB / 0.7432 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005617/0.8151, allocations: 1.571 MB / 0.7448 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.8271, allocations: 8.337 MB / 0.7529 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006176/0.8333, allocations: 371.6 kB / 0.7532 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/0.8345, allocations: 424 kB / 0.7537 GB, free: 13.22 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (842): * Single equations (assignments): 835 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004844/0.8393, allocations: 2.459 MB / 0.7561 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/0.8404, allocations: 473.5 kB / 0.7565 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007178/0.8476, allocations: 3.432 MB / 0.7599 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.178e-05/0.8476, allocations: 19.98 kB / 0.7599 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.8476, allocations: 12 kB / 0.7599 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.8477, allocations: 7.969 kB / 0.7599 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.864, allocations: 8.158 MB / 0.7679 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.864, allocations: 4 kB / 0.7679 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.8655, allocations: 303.4 kB / 0.7682 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002837/0.8683, allocations: 0.985 MB / 0.7691 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.8685, allocations: 28 kB / 0.7691 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00999/0.8785, allocations: 7.688 MB / 0.7767 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.8785, allocations: 4 kB / 0.7767 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.8886, allocations: 5.904 MB / 0.7824 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/0.8904, allocations: 0.5407 MB / 0.7829 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005318/0.8909, allocations: 31.98 kB / 0.783 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/0.8924, allocations: 91.98 kB / 0.7831 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/0.8928, allocations: 104.7 kB / 0.7832 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.8929, allocations: 48 kB / 0.7832 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006153/0.8991, allocations: 3.584 MB / 0.7867 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8991, allocations: 0 / 0.7867 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006082/0.9052, allocations: 1.144 MB / 0.7878 GB, free: 9.734 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (126): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005004/0.9057, allocations: 170.5 kB / 0.788 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009632/0.9153, allocations: 5.591 MB / 0.7935 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.9154, allocations: 0.5625 kB / 0.7935 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.9179, allocations: 1.627 MB / 0.795 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/0.9217, allocations: 0.5963 MB / 0.7956 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/0.9415, allocations: 10.91 MB / 0.8063 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004836/0.9464, allocations: 3.76 MB / 0.8099 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005034/0.9515, allocations: 2.12 MB / 0.812 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008975/0.9524, allocations: 295.4 kB / 0.8123 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of SimCode: time 1.132e-06/0.9524, allocations: 0 / 0.8123 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of Templates: time 0.391/1.343, allocations: 41.43 MB / 0.8528 GB, free: 205.2 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.551843345165253]