Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001979/0.001979, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001966, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 79.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3614, allocations: 62.42 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01413/0.3756, allocations: 12.28 MB / 0.5425 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.3867, allocations: 3.937 MB / 0.5464 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00301/0.3897, allocations: 61.16 kB / 0.5464 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003608/0.3934, allocations: 1.307 MB / 0.5477 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005422/0.3989, allocations: 1.726 MB / 0.5494 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.4004, allocations: 0.4912 MB / 0.5499 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005768/0.4062, allocations: 3.609 MB / 0.5534 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003248/0.4095, allocations: 2 MB / 0.5553 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.4118, allocations: 1.199 MB / 0.5565 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002869/0.4147, allocations: 1.705 MB / 0.5582 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.4157, allocations: 236 kB / 0.5584 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/0.4184, allocations: 0.9439 MB / 0.5593 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00219/0.4206, allocations: 1.578 MB / 0.5609 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003206/0.4238, allocations: 1.875 MB / 0.5627 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008677/0.4325, allocations: 6.181 MB / 0.5687 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4325, allocations: 0 / 0.5687 GB, free: 10.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4326, allocations: 0 / 0.5687 GB, free: 10.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002637/0.4328, allocations: 0 / 0.5687 GB, free: 10.52 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01082/0.4437, allocations: 4.14 MB / 0.5728 GB, free: 6.316 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4437, allocations: 8.031 kB / 0.5728 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001862/0.4456, allocations: 0.7083 MB / 0.5735 GB, free: 5.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.4565, allocations: 3.084 MB / 0.5765 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004912/0.4614, allocations: 2.103 MB / 0.5785 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.4617, allocations: 189 kB / 0.5787 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/0.463, allocations: 259.7 kB / 0.579 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01988/0.4829, allocations: 10.48 MB / 0.5892 GB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000132/0.4831, allocations: 27.8 kB / 0.5892 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009896/0.4841, allocations: 115.8 kB / 0.5893 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004567/0.4887, allocations: 2.549 MB / 0.5918 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02029/0.509, allocations: 9.915 MB / 0.6015 GB, free: 8.363 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05436/0.5634, allocations: 34.27 MB / 0.635 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009956/0.5734, allocations: 5.181 MB / 0.64 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/0.5767, allocations: 2.299 MB / 0.6423 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/0.5785, allocations: 1.88 MB / 0.6441 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/0.5786, allocations: 60.56 kB / 0.6442 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.911e-06/0.5786, allocations: 0 / 0.6442 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03406/0.6127, allocations: 13.99 MB / 0.6578 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.6128, allocations: 81.33 kB / 0.6579 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004771/0.6176, allocations: 2.631 MB / 0.6605 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004102/0.618, allocations: 53.7 kB / 0.6605 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002/0.62, allocations: 2.632 MB / 0.6631 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001192/0.6212, allocations: 0.8517 MB / 0.6639 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002368/0.6236, allocations: 1.036 MB / 0.6649 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6237, allocations: 305.1 kB / 0.6652 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003663/0.6274, allocations: 2.196 MB / 0.6674 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006389/0.6338, allocations: 5.059 MB / 0.6723 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009975/0.6439, allocations: 7.953 MB / 0.6801 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/0.644, allocations: 28 kB / 0.6801 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.0156/0.6596, allocations: 7.871 MB / 0.6878 GB, free: 11.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.6598, allocations: 50.19 kB / 0.6878 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/0.66, allocations: 100 kB / 0.6879 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/0.6623, allocations: 0.7935 MB / 0.6887 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004055/0.6664, allocations: 1.181 MB / 0.6899 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/0.6723, allocations: 4.516 MB / 0.6943 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/0.6758, allocations: 283.8 kB / 0.6945 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009295/0.6768, allocations: 304.1 kB / 0.6948 GB, free: 4.254 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (631): * Single equations (assignments): 624 * Array equations: 6 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004433/0.6812, allocations: 2.024 MB / 0.6968 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000888/0.6821, allocations: 268.5 kB / 0.6971 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008667/0.6908, allocations: 4.721 MB / 0.7017 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.142e-05/0.6909, allocations: 43.98 kB / 0.7017 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/0.6909, allocations: 7.938 kB / 0.7017 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-05/0.691, allocations: 7.969 kB / 0.7017 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01901/0.71, allocations: 10.5 MB / 0.712 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.132e-05/0.7101, allocations: 8 kB / 0.712 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.7117, allocations: 363.4 kB / 0.7123 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001954/0.7137, allocations: 0.6606 MB / 0.713 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002937/0.714, allocations: 43.98 kB / 0.713 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004779/0.7188, allocations: 3.895 MB / 0.7168 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.7188, allocations: 11.94 kB / 0.7168 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.7294, allocations: 7.14 MB / 0.7238 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006681/0.7301, allocations: 313.8 kB / 0.7241 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006488/0.7308, allocations: 43.98 kB / 0.7242 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.7322, allocations: 135.8 kB / 0.7243 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004108/0.7326, allocations: 137 kB / 0.7244 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/0.7329, allocations: 71.97 kB / 0.7245 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002879/0.7358, allocations: 1.615 MB / 0.7261 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.31e-07/0.7358, allocations: 0 / 0.7261 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004293/0.7401, allocations: 0.9101 MB / 0.727 GB, free: 2.855 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2854/1.026, allocations: 7.782 MB / 0.7346 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009066/1.035, allocations: 5.373 MB / 0.7398 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/1.035, allocations: 3.969 kB / 0.7398 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003113/1.038, allocations: 2.026 MB / 0.7418 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/1.041, allocations: 359.5 kB / 0.7421 GB, free: 174 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05132/1.092, allocations: 39.52 MB / 0.7807 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002877/1.095, allocations: 3.167 MB / 0.7838 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003451/1.099, allocations: 1.96 MB / 0.7857 GB, free: 134.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/1.101, allocations: 1.71 MB / 0.7874 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/1.101, allocations: 0 / 0.7874 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08414/1.185, allocations: 55.32 MB / 0.8414 GB, free: 77.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.14/22.33, allocations: 9.594 kB / 0.8414 GB, free: 77.42 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches