Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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 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 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.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 115.1 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001842/0.001842, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.4 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 76.31 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1408, allocations: 62.43 MB / 479.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.2971/0.4379, allocations: 64.73 MB / 0.5316 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03258/0.4706, allocations: 12.91 MB / 0.5442 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0194/0.49, allocations: 283.6 kB / 0.5444 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008452/0.4985, allocations: 3.582 MB / 0.5479 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007948/0.5065, allocations: 2.038 MB / 0.5499 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.5099, allocations: 0.9455 MB / 0.5509 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01139/0.5214, allocations: 6.452 MB / 0.5572 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007914/0.5293, allocations: 4.799 MB / 0.5618 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004243/0.5336, allocations: 1.994 MB / 0.5638 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004791/0.5384, allocations: 2.925 MB / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001456/0.5398, allocations: 408 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/0.5441, allocations: 1.459 MB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003815/0.5479, allocations: 2.459 MB / 0.5709 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005957/0.5539, allocations: 2.8 MB / 0.5736 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.5677, allocations: 8.559 MB / 0.582 GB, free: 14.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.5678, allocations: 0 / 0.582 GB, free: 14.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5678, allocations: 0 / 0.582 GB, free: 14.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000397/0.5682, allocations: 4 kB / 0.582 GB, free: 14.34 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01814/0.5864, allocations: 6.195 MB / 0.588 GB, free: 8.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.5864, allocations: 12.03 kB / 0.588 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002421/0.5889, allocations: 0.8228 MB / 0.5888 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03912/0.628, allocations: 6.016 MB / 0.5947 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009932/0.638, allocations: 4.071 MB / 0.5987 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/0.6383, allocations: 275.5 kB / 0.5989 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/0.6398, allocations: 395.5 kB / 0.5993 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02365/0.6634, allocations: 11.48 MB / 0.6105 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002979/0.6637, allocations: 55.53 kB / 0.6106 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001423/0.6652, allocations: 179.9 kB / 0.6107 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003786/0.669, allocations: 2.143 MB / 0.6128 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/0.6894, allocations: 9.375 MB / 0.622 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05967/0.7491, allocations: 45.46 MB / 0.6664 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.7596, allocations: 3.788 MB / 0.6701 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.7624, allocations: 2.01 MB / 0.672 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.7728, allocations: 5.64 MB / 0.6776 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.7729, allocations: 51.06 kB / 0.6776 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 6.622e-06/0.7729, allocations: 4 kB / 0.6776 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.04415/0.8171, allocations: 15.57 MB / 0.6928 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.8172, allocations: 222.2 kB / 0.693 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007528/0.8248, allocations: 5.623 MB / 0.6985 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003029/0.8251, allocations: 53.7 kB / 0.6986 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0025/0.8276, allocations: 3.768 MB / 0.7022 GB, free: 292 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000765/0.8284, allocations: 0.6562 MB / 0.7029 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/0.8299, allocations: 1.333 MB / 0.7042 GB, free: 14.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.83, allocations: 305.1 kB / 0.7045 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002902/0.833, allocations: 2.07 MB / 0.7065 GB, free: 11.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00607/0.839, allocations: 6.322 MB / 0.7127 GB, free: 3.457 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2552/1.094, allocations: 9.125 MB / 0.7216 GB, free: 185.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001665/1.094, allocations: 47.12 kB / 0.7216 GB, free: 185.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01688/1.111, allocations: 8.598 MB / 0.73 GB, free: 183 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/1.112, allocations: 69.22 kB / 0.7301 GB, free: 183 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000236/1.112, allocations: 150.3 kB / 0.7302 GB, free: 183 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/1.114, allocations: 0.7233 MB / 0.7309 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00532/1.119, allocations: 1.508 MB / 0.7324 GB, free: 182.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007547/1.127, allocations: 6.971 MB / 0.7392 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/1.132, allocations: 334.5 kB / 0.7395 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/1.133, allocations: 421.9 kB / 0.7399 GB, free: 178 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 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (798): * Single equations (assignments): 791 * 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,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004391/1.137, allocations: 2.457 MB / 0.7423 GB, free: 176.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009524/1.138, allocations: 455.4 kB / 0.7428 GB, free: 176.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004436/1.143, allocations: 2.664 MB / 0.7454 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.343e-05/1.143, allocations: 19.5 kB / 0.7454 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.143, allocations: 7.281 kB / 0.7454 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.143, allocations: 10.89 kB / 0.7454 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/1.154, allocations: 7.474 MB / 0.7527 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.154, allocations: 10.06 kB / 0.7527 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/1.155, allocations: 249.8 kB / 0.753 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/1.156, allocations: 0.5006 MB / 0.7535 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/1.157, allocations: 27.56 kB / 0.7535 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00534/1.162, allocations: 6.285 MB / 0.7596 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.162, allocations: 7.656 kB / 0.7596 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005502/1.167, allocations: 4.953 MB / 0.7645 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.169, allocations: 0.5107 MB / 0.765 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005003/1.169, allocations: 38.92 kB / 0.765 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.171, allocations: 67.92 kB / 0.7651 GB, free: 163.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/1.171, allocations: 103 kB / 0.7652 GB, free: 163.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-05/1.171, allocations: 49.19 kB / 0.7652 GB, free: 163.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004215/1.175, allocations: 3.61 MB / 0.7687 GB, free: 160.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.175, allocations: 4 kB / 0.7687 GB, free: 160.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005477/1.181, allocations: 1.082 MB / 0.7698 GB, free: 159 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00571/1.186, allocations: 5.591 MB / 0.7753 GB, free: 153.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007699/1.194, allocations: 5.535 MB / 0.7807 GB, free: 147.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/1.194, allocations: 0 / 0.7807 GB, free: 147.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/1.196, allocations: 1.497 MB / 0.7821 GB, free: 146.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005281/1.201, allocations: 0.6239 MB / 0.7827 GB, free: 145.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08443/1.286, allocations: 67.45 MB / 0.8486 GB, free: 68.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003436/1.289, allocations: 3.772 MB / 0.8523 GB, free: 65.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004516/1.294, allocations: 2.117 MB / 0.8544 GB, free: 62.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002697/1.296, allocations: 2.303 MB / 0.8566 GB, free: 60.69 MB / 0.545 GB Notification: Performance of SimCode: time 2.114e-06/1.296, allocations: 0 / 0.8566 GB, free: 60.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3905/1.687, allocations: 88.55 MB / 0.9431 GB, free: 173.9 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/1.687, allocations: 214.8 kB / 0.9433 GB, free: 173.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.667/6.354, allocations: 0 / 0.9433 GB, free: 173.6 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches