Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001856/0.001856, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002192/0.002192, allocations: 208.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2108/0.2108, allocations: 44.94 MB / 358.8 MB, free: 6.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 63.91 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3033, allocations: 65.47 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01312/0.3164, allocations: 10.72 MB / 0.5674 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008114/0.3245, allocations: 3.754 MB / 0.5711 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.3262, allocations: 67.75 kB / 0.5712 GB, free: 8.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.3291, allocations: 1.304 MB / 0.5724 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004345/0.3335, allocations: 1.771 MB / 0.5742 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.3347, allocations: 499 kB / 0.5747 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004838/0.3396, allocations: 3.602 MB / 0.5782 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002389/0.342, allocations: 1.83 MB / 0.58 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.3437, allocations: 1.211 MB / 0.5811 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/0.3464, allocations: 1.814 MB / 0.5829 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000581/0.347, allocations: 236 kB / 0.5831 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.3488, allocations: 0.8386 MB / 0.584 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001606/0.3504, allocations: 1.612 MB / 0.5855 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.3521, allocations: 1.338 MB / 0.5868 GB, free: 8.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007555/0.3597, allocations: 6.239 MB / 0.5929 GB, free: 2.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3597, allocations: 4 kB / 0.5929 GB, free: 2.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3597, allocations: 0 / 0.5929 GB, free: 2.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002176/0.3599, allocations: 4 kB / 0.5929 GB, free: 2.523 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.008545/0.3684, allocations: 4.178 MB / 0.597 GB, free: 14.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.3685, allocations: 8.031 kB / 0.597 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001245/0.3697, allocations: 0.7082 MB / 0.5977 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.3807, allocations: 3.114 MB / 0.6008 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005543/0.3862, allocations: 2.058 MB / 0.6028 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.3864, allocations: 185 kB / 0.6029 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008213/0.3872, allocations: 259.6 kB / 0.6032 GB, free: 7.914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/0.4052, allocations: 10.48 MB / 0.6134 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.646e-05/0.4053, allocations: 27.81 kB / 0.6135 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004121/0.4057, allocations: 115.8 kB / 0.6136 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004714/0.4105, allocations: 2.553 MB / 0.6161 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01963/0.4301, allocations: 9.903 MB / 0.6257 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05281/0.4829, allocations: 32.66 MB / 0.6576 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009404/0.4923, allocations: 4.034 MB / 0.6616 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003182/0.4955, allocations: 2.113 MB / 0.6636 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.4967, allocations: 0.5556 MB / 0.6642 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.4968, allocations: 56.56 kB / 0.6642 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 6.132e-06/0.4968, allocations: 0 / 0.6642 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03402/0.5308, allocations: 13.95 MB / 0.6778 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.5309, allocations: 73.41 kB / 0.6779 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004055/0.5349, allocations: 2.814 MB / 0.6807 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004414/0.5353, allocations: 53.7 kB / 0.6807 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002147/0.5375, allocations: 2.741 MB / 0.6834 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00117/0.5387, allocations: 0.8913 MB / 0.6843 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00152/0.5402, allocations: 1.037 MB / 0.6853 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5403, allocations: 309.1 kB / 0.6856 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003447/0.5438, allocations: 2.196 MB / 0.6877 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005949/0.5497, allocations: 5.063 MB / 0.6927 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/0.5603, allocations: 7.957 MB / 0.7004 GB, free: 116 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.507e-05/0.5604, allocations: 28 kB / 0.7005 GB, free: 88 kB / 0.5294 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01463/0.575, allocations: 7.865 MB / 0.7081 GB, free: 8.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.662e-05/0.5751, allocations: 48 kB / 0.7082 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/0.5752, allocations: 96 kB / 0.7083 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/0.5776, allocations: 0.8011 MB / 0.7091 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003922/0.5815, allocations: 1.178 MB / 0.7102 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006139/0.5876, allocations: 4.385 MB / 0.7145 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/0.5908, allocations: 291.8 kB / 0.7148 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007978/0.5916, allocations: 300 kB / 0.715 GB, free: 1.016 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.003552/0.5952, allocations: 2.016 MB / 0.717 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005202/0.5957, allocations: 274.2 kB / 0.7173 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008398/0.6041, allocations: 4.717 MB / 0.7219 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.89e-05/0.6042, allocations: 59.89 kB / 0.7219 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.6042, allocations: 7.938 kB / 0.722 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/0.6042, allocations: 7.969 kB / 0.722 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2583/0.8625, allocations: 10.14 MB / 0.7319 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.928e-05/0.8626, allocations: 10.69 kB / 0.7319 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/0.8647, allocations: 360.4 kB / 0.7322 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002427/0.8671, allocations: 0.6555 MB / 0.7329 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003955/0.8675, allocations: 41.88 kB / 0.7329 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004438/0.8719, allocations: 3.774 MB / 0.7366 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/0.8719, allocations: 14.11 kB / 0.7366 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008975/0.8809, allocations: 7.139 MB / 0.7436 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006715/0.8816, allocations: 245 kB / 0.7438 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006305/0.8822, allocations: 42.06 kB / 0.7438 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/0.8837, allocations: 145.7 kB / 0.744 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003715/0.8841, allocations: 138.8 kB / 0.7441 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/0.8843, allocations: 61.03 kB / 0.7442 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002545/0.8868, allocations: 1.624 MB / 0.7458 GB, free: 151 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8868, allocations: 0.8438 kB / 0.7458 GB, free: 151 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003983/0.8908, allocations: 0.9057 MB / 0.7466 GB, free: 150.9 MB / 0.5606 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.009384/0.9002, allocations: 7.797 MB / 0.7543 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006945/0.9071, allocations: 5.146 MB / 0.7593 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.9071, allocations: 0 / 0.7593 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002234/0.9094, allocations: 1.874 MB / 0.7611 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.9117, allocations: 368.3 kB / 0.7615 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04787/0.9596, allocations: 39.77 MB / 0.8003 GB, free: 95.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002807/0.9624, allocations: 2.628 MB / 0.8029 GB, free: 92.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003533/0.9659, allocations: 1.953 MB / 0.8048 GB, free: 90.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002043/0.968, allocations: 1.706 MB / 0.8064 GB, free: 89.19 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/0.968, allocations: 0 / 0.8064 GB, free: 89.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0864/1.054, allocations: 54.65 MB / 0.8598 GB, free: 35.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/16.22, allocations: 9.984 kB / 0.8598 GB, free: 35.16 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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: 19.398132556583732]