Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9241/0.9241, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1373/0.1373, allocations: 32.36 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 406.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.477e-05, allocations: 2.281 kB / 406.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01026/0.01029, allocations: 11.07 MB / 417.9 MB, free: 7.102 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00649/0.01678, allocations: 3.789 MB / 421.7 MB, free: 3.301 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.01799, allocations: 71.75 kB / 421.8 MB, free: 3.23 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.01983, allocations: 1.358 MB / 423.1 MB, free: 1.867 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002868/0.0227, allocations: 1.894 MB / 425 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007852/0.02349, allocations: 0.5261 MB / 425.6 MB, free: 15.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00306/0.02655, allocations: 4.007 MB / 429.6 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.0288, allocations: 2.132 MB / 431.7 MB, free: 9.246 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.03075, allocations: 1.902 MB / 433.6 MB, free: 7.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.03275, allocations: 1.968 MB / 435.6 MB, free: 5.367 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003498/0.0331, allocations: 244 kB / 435.8 MB, free: 5.129 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.03424, allocations: 0.9203 MB / 436.7 MB, free: 4.207 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.03529, allocations: 1.753 MB / 438.5 MB, free: 2.449 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007824/0.03608, allocations: 1.035 MB / 439.5 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00414/0.04022, allocations: 6.369 MB / 445.9 MB, free: 11.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.04022, allocations: 3.938 kB / 445.9 MB, free: 11.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.04022, allocations: 0 / 445.9 MB, free: 11.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001002/0.04032, allocations: 0 / 445.9 MB, free: 11.02 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.004616/0.04494, allocations: 4.307 MB / 450.2 MB, free: 6.648 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.04498, allocations: 8.031 kB / 450.2 MB, free: 6.641 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000542/0.04552, allocations: 0.7327 MB / 450.9 MB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005688/0.05121, allocations: 3.188 MB / 454.1 MB, free: 2.699 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.05348, allocations: 2.073 MB / 456.2 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.154e-05/0.05357, allocations: 193.2 kB / 456.4 MB, free: 412 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003221/0.05389, allocations: 252.2 kB / 456.6 MB, free: 160 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009028/0.06292, allocations: 10.7 MB / 467.3 MB, free: 4.984 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.798e-05/0.06297, allocations: 19.81 kB / 467.4 MB, free: 4.965 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002407/0.06321, allocations: 127.8 kB / 467.5 MB, free: 4.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002319/0.06553, allocations: 2.627 MB / 470.1 MB, free: 2.203 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1761/0.2416, allocations: 9.994 MB / 480.1 MB, free: 91.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02585/0.2675, allocations: 33.71 MB / 0.5018 GB, free: 71.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005632/0.2731, allocations: 4.154 MB / 0.5058 GB, free: 70.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/0.2751, allocations: 2.118 MB / 0.5079 GB, free: 69.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007468/0.2759, allocations: 0.549 MB / 0.5084 GB, free: 69.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.2759, allocations: 56.16 kB / 0.5085 GB, free: 69.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 4.609e-06/0.2759, allocations: 1.375 kB / 0.5085 GB, free: 69.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.01871/0.2946, allocations: 14.49 MB / 0.5226 GB, free: 61.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.2947, allocations: 73.34 kB / 0.5227 GB, free: 60.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.2972, allocations: 3.063 MB / 0.5257 GB, free: 58.44 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-05/0.2973, allocations: 53.7 kB / 0.5257 GB, free: 58.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007811/0.2981, allocations: 2.793 MB / 0.5285 GB, free: 55.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003992/0.2985, allocations: 0.8867 MB / 0.5293 GB, free: 55.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008111/0.2993, allocations: 1.037 MB / 0.5304 GB, free: 54.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.255e-05/0.2993, allocations: 305.1 kB / 0.5306 GB, free: 53.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.301, allocations: 2.21 MB / 0.5328 GB, free: 51.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.3033, allocations: 5.13 MB / 0.5378 GB, free: 45.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004315/0.3076, allocations: 8.043 MB / 0.5457 GB, free: 35.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.499e-05/0.3076, allocations: 32 kB / 0.5457 GB, free: 35.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.006392/0.314, allocations: 7.939 MB / 0.5534 GB, free: 27.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.314, allocations: 48 kB / 0.5535 GB, free: 27.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-05/0.3141, allocations: 100 kB / 0.5536 GB, free: 27.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.3152, allocations: 0.8014 MB / 0.5544 GB, free: 26.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.317, allocations: 1.193 MB / 0.5555 GB, free: 25.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/0.3204, allocations: 4.4 MB / 0.5598 GB, free: 21.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.3223, allocations: 335.5 kB / 0.5602 GB, free: 20.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/0.3225, allocations: 300 kB / 0.5604 GB, free: 20.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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 (640): * Single equations (assignments): 633 * 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.001933/0.3245, allocations: 2.052 MB / 0.5624 GB, free: 18.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.3247, allocations: 282.1 kB / 0.5627 GB, free: 18.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004063/0.3287, allocations: 4.725 MB / 0.5673 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/0.3288, allocations: 40 kB / 0.5674 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3288, allocations: 0 / 0.5674 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.3288, allocations: 15.95 kB / 0.5674 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008733/0.3375, allocations: 10.32 MB / 0.5775 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.3375, allocations: 8 kB / 0.5775 GB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/0.3383, allocations: 363.4 kB / 0.5778 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009625/0.3392, allocations: 0.65 MB / 0.5785 GB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.3393, allocations: 47.36 kB / 0.5785 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.3421, allocations: 3.793 MB / 0.5822 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.3422, allocations: 11.94 kB / 0.5822 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00653/0.3487, allocations: 7.133 MB / 0.5892 GB, free: 6.668 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008628/0.3495, allocations: 0.6229 MB / 0.5898 GB, free: 6.043 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.3497, allocations: 39.94 kB / 0.5898 GB, free: 6.004 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007285/0.3505, allocations: 179.7 kB / 0.59 GB, free: 5.828 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.3507, allocations: 137.3 kB / 0.5901 GB, free: 5.695 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.893e-05/0.3508, allocations: 71.42 kB / 0.5902 GB, free: 5.629 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001587/0.3524, allocations: 1.801 MB / 0.592 GB, free: 3.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3524, allocations: 0 / 0.592 GB, free: 3.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002526/0.3549, allocations: 1.039 MB / 0.593 GB, free: 2.781 MB / 458.7 MB 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.006776/0.3617, allocations: 7.81 MB / 0.6006 GB, free: 10.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005395/0.3671, allocations: 5.17 MB / 0.6056 GB, free: 5.699 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.3671, allocations: 3.938 kB / 0.6056 GB, free: 5.695 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.3687, allocations: 1.883 MB / 0.6075 GB, free: 3.805 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.37, allocations: 359.2 kB / 0.6078 GB, free: 3.465 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03839/0.4084, allocations: 40.86 MB / 0.6477 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002226/0.4106, allocations: 2.693 MB / 0.6504 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00249/0.4131, allocations: 1.973 MB / 0.6523 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1491/0.5622, allocations: 1.762 MB / 0.654 GB, free: 161 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/0.5622, allocations: 0 / 0.654 GB, free: 161 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06332/0.6255, allocations: 56.9 MB / 0.7096 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.397/10.02, allocations: 4.656 kB / 0.7096 GB, free: 138.8 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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: 12.279800620861351]