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.00137/0.00137, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001482/0.001482, allocations: 213.6 kB / 23.73 MB, free: 4.16 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: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.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.2304/0.2304, allocations: 46.95 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002641, allocations: 83.84 kB / 0.4962 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3567, allocations: 66.08 MB / 0.5607 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01589/0.3726, allocations: 11.07 MB / 0.5715 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.3827, allocations: 4.306 MB / 0.5757 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/0.3849, allocations: 99.5 kB / 0.5758 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007457/0.3923, allocations: 3.606 MB / 0.5793 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006411/0.3987, allocations: 2.241 MB / 0.5815 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.4012, allocations: 1.002 MB / 0.5825 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009078/0.4102, allocations: 6.05 MB / 0.5884 GB, free: 7.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004586/0.4148, allocations: 3.482 MB / 0.5918 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003369/0.4182, allocations: 1.986 MB / 0.5937 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004381/0.4226, allocations: 2.659 MB / 0.5963 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000898/0.4235, allocations: 408 kB / 0.5967 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.4262, allocations: 1.334 MB / 0.598 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002707/0.4289, allocations: 2.501 MB / 0.6005 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002623/0.4316, allocations: 2.07 MB / 0.6025 GB, free: 9.043 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.4425, allocations: 8.813 MB / 0.6111 GB, free: 200 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4425, allocations: 0 / 0.6111 GB, free: 200 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4425, allocations: 8 kB / 0.6111 GB, free: 192 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002478/0.4427, allocations: 0 / 0.6111 GB, free: 192 kB / 446.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.01631/0.459, allocations: 6.26 MB / 0.6172 GB, free: 9.855 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.4591, allocations: 8.031 kB / 0.6172 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001702/0.4608, allocations: 0.8227 MB / 0.618 GB, free: 9.016 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03763/0.4984, allocations: 6.051 MB / 0.6239 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/0.5094, allocations: 4.087 MB / 0.6279 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/0.5097, allocations: 291.2 kB / 0.6282 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/0.5109, allocations: 375.8 kB / 0.6286 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/0.534, allocations: 11.51 MB / 0.6398 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/0.5342, allocations: 63.47 kB / 0.6399 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005589/0.5348, allocations: 187.8 kB / 0.6401 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004017/0.5388, allocations: 2.139 MB / 0.6421 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02039/0.5592, allocations: 9.328 MB / 0.6513 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06001/0.6192, allocations: 43.51 MB / 0.6937 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.6293, allocations: 3.2 MB / 0.6969 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/0.6323, allocations: 1.88 MB / 0.6987 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01137/0.6436, allocations: 5.499 MB / 0.7041 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.543e-05/0.6437, allocations: 47.56 kB / 0.7041 GB, free: 14.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 8.115e-06/0.6437, allocations: 0 / 0.7041 GB, free: 14.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.04195/0.6857, allocations: 14.84 MB / 0.7186 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.6858, allocations: 204.9 kB / 0.7188 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00913/0.695, allocations: 5.875 MB / 0.7245 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003747/0.6953, allocations: 57.61 kB / 0.7246 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003504/0.6988, allocations: 3.87 MB / 0.7284 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/0.6999, allocations: 0.698 MB / 0.7291 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001928/0.7018, allocations: 1.342 MB / 0.7304 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.7021, allocations: 301.4 kB / 0.7307 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003383/0.7054, allocations: 2.101 MB / 0.7327 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.329/1.034, allocations: 6.391 MB / 0.739 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009383/1.044, allocations: 9.189 MB / 0.7479 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002045/1.044, allocations: 42.03 kB / 0.748 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01555/1.06, allocations: 8.659 MB / 0.7564 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.06, allocations: 71.56 kB / 0.7565 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/1.06, allocations: 151.8 kB / 0.7566 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/1.061, allocations: 0.7119 MB / 0.7573 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/1.065, allocations: 1.506 MB / 0.7588 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005816/1.071, allocations: 6.56 MB / 0.7652 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005892/1.077, allocations: 346.8 kB / 0.7655 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000881/1.078, allocations: 415.6 kB / 0.7659 GB, free: 129.6 MB / 0.5606 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 (804): * Single equations (assignments): 797 * 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.003748/1.082, allocations: 2.448 MB / 0.7683 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008677/1.083, allocations: 483.9 kB / 0.7688 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/1.086, allocations: 2.689 MB / 0.7714 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/1.086, allocations: 20 kB / 0.7714 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/1.086, allocations: 4 kB / 0.7714 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/1.087, allocations: 8.062 kB / 0.7714 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/1.098, allocations: 7.061 MB / 0.7783 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.098, allocations: 4 kB / 0.7783 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/1.1, allocations: 299.5 kB / 0.7786 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/1.101, allocations: 496.6 kB / 0.7791 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/1.101, allocations: 27.83 kB / 0.7791 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005149/1.106, allocations: 5.944 MB / 0.7849 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.106, allocations: 5.125 kB / 0.7849 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005565/1.112, allocations: 4.987 MB / 0.7898 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/1.113, allocations: 479.4 kB / 0.7903 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006676/1.114, allocations: 28 kB / 0.7903 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.115, allocations: 71.91 kB / 0.7904 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/1.115, allocations: 108.7 kB / 0.7905 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.73e-05/1.116, allocations: 44 kB / 0.7905 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004954/1.121, allocations: 3.605 MB / 0.794 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/1.121, allocations: 0 / 0.794 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006006/1.127, allocations: 1.092 MB / 0.7951 GB, free: 101.1 MB / 0.5606 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.005832/1.132, allocations: 5.633 MB / 0.8006 GB, free: 95.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007253/1.14, allocations: 4.988 MB / 0.8055 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.14, allocations: 4.125 kB / 0.8055 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/1.141, allocations: 1.401 MB / 0.8068 GB, free: 89.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/1.145, allocations: 0.6331 MB / 0.8075 GB, free: 88.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.076/1.221, allocations: 54.09 MB / 0.8603 GB, free: 27.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003642/1.224, allocations: 3.246 MB / 0.8634 GB, free: 24.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004336/1.229, allocations: 2.13 MB / 0.8655 GB, free: 22.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003097/1.232, allocations: 2.315 MB / 0.8678 GB, free: 19.89 MB / 0.5606 GB Notification: Performance of SimCode: time 1.613e-06/1.232, allocations: 0 / 0.8678 GB, free: 19.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1803/1.412, allocations: 86.08 MB / 0.9518 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.23/19.64, allocations: 7.625 kB / 0.9519 GB, free: 14.58 MB / 0.6387 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/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: 23.6546479142271]