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.001354/0.001354, 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.001861/0.001861, allocations: 209.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.378/1.378, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2055/0.2055, allocations: 44.92 MB / 358.8 MB, free: 6.055 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.002004/0.002004, allocations: 63.91 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2868, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01295/0.2998, allocations: 10.72 MB / 0.5674 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007527/0.3073, allocations: 3.75 MB / 0.5711 GB, free: 9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.3084, allocations: 71.75 kB / 0.5712 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.3108, allocations: 1.296 MB / 0.5724 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003479/0.3143, allocations: 1.79 MB / 0.5742 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3153, allocations: 491 kB / 0.5747 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003919/0.3193, allocations: 3.606 MB / 0.5782 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.3213, allocations: 1.822 MB / 0.58 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.3228, allocations: 1.214 MB / 0.5811 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002229/0.325, allocations: 1.814 MB / 0.5829 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004397/0.3254, allocations: 236 kB / 0.5831 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.3269, allocations: 0.8425 MB / 0.584 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.3283, allocations: 1.608 MB / 0.5855 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.3297, allocations: 1.342 MB / 0.5868 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006545/0.3363, allocations: 6.235 MB / 0.5929 GB, free: 2.539 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3363, allocations: 0 / 0.5929 GB, free: 2.539 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3363, allocations: 0 / 0.5929 GB, free: 2.539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001439/0.3364, allocations: 0 / 0.5929 GB, free: 2.539 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.007633/0.3441, allocations: 4.178 MB / 0.597 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3441, allocations: 12.03 kB / 0.597 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009738/0.3451, allocations: 0.7121 MB / 0.5977 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.3555, allocations: 3.114 MB / 0.6008 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004471/0.36, allocations: 2.046 MB / 0.6028 GB, free: 8.371 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.3602, allocations: 197 kB / 0.6029 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006347/0.3608, allocations: 259.6 kB / 0.6032 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.3766, allocations: 10.47 MB / 0.6134 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.816e-05/0.3767, allocations: 23.81 kB / 0.6134 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003439/0.377, allocations: 115.8 kB / 0.6136 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004279/0.3813, allocations: 2.561 MB / 0.6161 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0185/0.3998, allocations: 9.899 MB / 0.6257 GB, free: 412 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04946/0.4492, allocations: 32.67 MB / 0.6576 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009338/0.4586, allocations: 4.038 MB / 0.6616 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003265/0.4619, allocations: 2.117 MB / 0.6636 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.4631, allocations: 0.5517 MB / 0.6642 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.12e-05/0.4631, allocations: 56.55 kB / 0.6642 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.49e-06/0.4631, allocations: 0 / 0.6642 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.0321/0.4952, allocations: 13.95 MB / 0.6778 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.4953, allocations: 77.34 kB / 0.6779 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003796/0.4991, allocations: 2.802 MB / 0.6807 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004083/0.4995, allocations: 61.69 kB / 0.6807 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002586/0.5021, allocations: 2.737 MB / 0.6834 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001446/0.5035, allocations: 0.8874 MB / 0.6843 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/0.5052, allocations: 1.045 MB / 0.6853 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5053, allocations: 301.1 kB / 0.6856 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00348/0.5088, allocations: 2.2 MB / 0.6877 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006206/0.515, allocations: 5.063 MB / 0.6927 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/0.5253, allocations: 7.949 MB / 0.7004 GB, free: 136 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-05/0.5253, allocations: 28 kB / 0.7004 GB, free: 108 kB / 0.5294 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01375/0.5391, allocations: 7.869 MB / 0.7081 GB, free: 8.227 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.642e-05/0.5392, allocations: 48 kB / 0.7082 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/0.5393, allocations: 104.8 kB / 0.7083 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.5416, allocations: 0.7966 MB / 0.7091 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003766/0.5453, allocations: 1.174 MB / 0.7102 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006006/0.5513, allocations: 4.392 MB / 0.7145 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/0.5545, allocations: 295.7 kB / 0.7148 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006421/0.5551, allocations: 300 kB / 0.7151 GB, free: 1.02 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.003524/0.5587, allocations: 2.009 MB / 0.717 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/0.5592, allocations: 270.3 kB / 0.7173 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008197/0.5674, allocations: 4.733 MB / 0.7219 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.737e-05/0.5675, allocations: 47.97 kB / 0.7219 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.5675, allocations: 7.938 kB / 0.722 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.5675, allocations: 7.969 kB / 0.722 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2498/0.8173, allocations: 10.14 MB / 0.7319 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.344e-05/0.8173, allocations: 13.56 kB / 0.7319 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/0.8192, allocations: 360.6 kB / 0.7322 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002399/0.8216, allocations: 0.6548 MB / 0.7329 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000361/0.822, allocations: 41.31 kB / 0.7329 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004171/0.8262, allocations: 3.773 MB / 0.7366 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.8262, allocations: 11.98 kB / 0.7366 GB, free: 154 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008353/0.8345, allocations: 7.135 MB / 0.7436 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006331/0.8352, allocations: 249.5 kB / 0.7438 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/0.8354, allocations: 45.72 kB / 0.7438 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.8365, allocations: 149.9 kB / 0.744 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.8368, allocations: 140.1 kB / 0.7441 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.8369, allocations: 59.25 kB / 0.7442 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002057/0.839, allocations: 1.622 MB / 0.7458 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.839, allocations: 0 / 0.7458 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003016/0.842, allocations: 0.911 MB / 0.7466 GB, free: 150.7 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.007946/0.8499, allocations: 7.785 MB / 0.7543 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00567/0.8556, allocations: 5.144 MB / 0.7593 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.8556, allocations: 6 kB / 0.7593 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.8574, allocations: 1.876 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.001717/0.8592, allocations: 367.4 kB / 0.7615 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04447/0.9036, allocations: 39.77 MB / 0.8003 GB, free: 95.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/0.9064, allocations: 2.636 MB / 0.8029 GB, free: 92.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003375/0.9097, allocations: 1.953 MB / 0.8048 GB, free: 90.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/0.9116, allocations: 1.706 MB / 0.8064 GB, free: 89.22 MB / 0.5606 GB Notification: Performance of SimCode: time 9.61e-07/0.9116, allocations: 0 / 0.8064 GB, free: 89.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08258/0.9942, allocations: 54.66 MB / 0.8598 GB, free: 35.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.97, allocations: 12.55 kB / 0.8598 GB, free: 35.19 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.csv","/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: 18.982723745983094]