Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009723/0.0009727, allocations: 194.5 kB / 16.09 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007365/0.0007364, allocations: 101.1 kB / 295.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3019/0.3019, allocations: 44.83 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002576/0.0002576, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2881, allocations: 62.96 MB / 0.516 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.05031/0.3385, allocations: 65.68 MB / 0.5801 GB, free: 6.043 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03688/0.3754, allocations: 13.74 MB / 0.5935 GB, free: 9.711 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02071/0.3962, allocations: 315.2 kB / 0.5938 GB, free: 9.402 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01235/0.4086, allocations: 3.471 MB / 0.5972 GB, free: 6.055 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03092/0.4396, allocations: 10.23 MB / 0.6072 GB, free: 11.79 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004691/0.4443, allocations: 0.8309 MB / 0.608 GB, free: 10.96 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.07568/0.52, allocations: 62.11 MB / 0.6687 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008409/0.5285, allocations: 5.903 MB / 0.6744 GB, free: 6.766 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.5321, allocations: 1.6 MB / 0.676 GB, free: 5.16 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0043/0.5365, allocations: 2.461 MB / 0.6784 GB, free: 2.691 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.5376, allocations: 171.9 kB / 0.6785 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003445/0.5411, allocations: 1.275 MB / 0.6798 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2527/0.7938, allocations: 2.191 MB / 0.6819 GB, free: 65.87 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004266/0.7981, allocations: 2.383 MB / 0.6843 GB, free: 65.84 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008533/0.8067, allocations: 6.946 MB / 0.691 GB, free: 65.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.8067, allocations: 2.812 kB / 0.691 GB, free: 65.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.8067, allocations: 2.719 kB / 0.691 GB, free: 65.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003984/0.8071, allocations: 0 / 0.691 GB, free: 65.43 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01271/0.8198, allocations: 5.228 MB / 0.6962 GB, free: 63.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.8199, allocations: 10.34 kB / 0.6962 GB, free: 63.12 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002278/0.8222, allocations: 0.8423 MB / 0.697 GB, free: 63.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0363/0.8585, allocations: 6.165 MB / 0.703 GB, free: 62.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00958/0.8681, allocations: 4.1 MB / 0.707 GB, free: 61.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.8684, allocations: 278.8 kB / 0.7073 GB, free: 61.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/0.87, allocations: 388 kB / 0.7076 GB, free: 61.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/0.8892, allocations: 11.84 MB / 0.7192 GB, free: 58.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001493/0.8894, allocations: 56.91 kB / 0.7193 GB, free: 58.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005214/0.8899, allocations: 184.8 kB / 0.7194 GB, free: 58.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003265/0.8932, allocations: 2.269 MB / 0.7217 GB, free: 57.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/0.9098, allocations: 9.64 MB / 0.7311 GB, free: 54.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04448/0.9543, allocations: 46.25 MB / 0.7762 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00856/0.9629, allocations: 3.809 MB / 0.78 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002167/0.9651, allocations: 2.041 MB / 0.782 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009308/0.9744, allocations: 6.262 MB / 0.7881 GB, free: 6.312 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.9745, allocations: 45.22 kB / 0.7881 GB, free: 6.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=154): time 4.418e-06/0.9745, allocations: 0 / 0.7881 GB, free: 6.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.03563/1.01, allocations: 14.81 MB / 0.8026 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/1.01, allocations: 198.4 kB / 0.8028 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007677/1.018, allocations: 5.647 MB / 0.8083 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003714/1.018, allocations: 53.36 kB / 0.8083 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002713/1.021, allocations: 3.82 MB / 0.8121 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008612/1.022, allocations: 0.6668 MB / 0.8127 GB, free: 500 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/1.022, allocations: 132 kB / 0.8128 GB, free: 368 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003704/1.023, allocations: 0.5898 MB / 0.8134 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002984/1.026, allocations: 2.086 MB / 0.8155 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005851/1.032, allocations: 6.353 MB / 0.8217 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/1.042, allocations: 9.215 MB / 0.8307 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/1.042, allocations: 44 kB / 0.8307 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01559/1.057, allocations: 8.632 MB / 0.8391 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/1.057, allocations: 72 kB / 0.8392 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001757/1.058, allocations: 155.9 kB / 0.8393 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/1.059, allocations: 0.7094 MB / 0.84 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004637/1.064, allocations: 1.524 MB / 0.8415 GB, free: 464 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007727/1.072, allocations: 6.317 MB / 0.8477 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005559/1.077, allocations: 352.1 kB / 0.848 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/1.079, allocations: 416.1 kB / 0.8484 GB, free: 9.207 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.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 (810): * Single equations (assignments): 803 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00611/1.085, allocations: 2.519 MB / 0.8509 GB, free: 6.812 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.086, allocations: 465.9 kB / 0.8513 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005957/1.092, allocations: 2.692 MB / 0.854 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/1.092, allocations: 18.73 kB / 0.854 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/1.092, allocations: 12 kB / 0.854 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/1.092, allocations: 3.984 kB / 0.854 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/1.109, allocations: 7.571 MB / 0.8614 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.109, allocations: 0 / 0.8614 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/1.11, allocations: 300.6 kB / 0.8617 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/1.112, allocations: 491.6 kB / 0.8621 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/1.112, allocations: 28 kB / 0.8622 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006292/1.118, allocations: 5.683 MB / 0.8677 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.118, allocations: 7.938 kB / 0.8677 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007206/1.126, allocations: 4.951 MB / 0.8726 GB, free: 348 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/1.127, allocations: 0.5302 MB / 0.8731 GB, free: 15.78 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/1.128, allocations: 32 kB / 0.8731 GB, free: 15.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/1.131, allocations: 71.91 kB / 0.8732 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/1.131, allocations: 100.8 kB / 0.8733 GB, free: 15.58 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/1.131, allocations: 47.98 kB / 0.8733 GB, free: 15.54 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007031/1.138, allocations: 3.61 MB / 0.8768 GB, free: 11.95 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.61e-07/1.138, allocations: 0 / 0.8768 GB, free: 11.95 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007276/1.145, allocations: 1.124 MB / 0.8779 GB, free: 10.83 MB / 0.573 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008007/1.154, allocations: 5.601 MB / 0.8834 GB, free: 5.188 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.008071/1.162, allocations: 5.156 MB / 0.8884 GB, free: 460 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.162, allocations: 3.844 kB / 0.8885 GB, free: 460 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002044/1.164, allocations: 1.479 MB / 0.8899 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006942/1.171, allocations: 0.6134 MB / 0.8905 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3136/1.484, allocations: 45.16 MB / 0.9346 GB, free: 213.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005192/1.49, allocations: 3.855 MB / 0.9384 GB, free: 212.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00277/1.492, allocations: 2.419 MB / 0.9407 GB, free: 210.5 MB / 0.5886 GB Notification: Performance of SimCode: time 8.92e-07/1.492, allocations: 5.797 kB / 0.9407 GB, free: 210.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.274/9.767, allocations: 134.4 MB / 1.072 GB, free: 88.44 MB / 0.5886 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches