Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001721/0.001721, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.00205/0.00205, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2316/0.2316, allocations: 46.92 MB / 360.9 MB, free: 4.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 63.89 kB / 0.4962 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3779, allocations: 66.04 MB / 0.5607 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01633/0.3942, allocations: 12.35 MB / 0.5727 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.4047, allocations: 3.991 MB / 0.5766 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002679/0.4073, allocations: 67.75 kB / 0.5767 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004161/0.4115, allocations: 1.339 MB / 0.578 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005781/0.4173, allocations: 1.779 MB / 0.5797 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.4192, allocations: 495 kB / 0.5802 GB, free: 384 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006845/0.4261, allocations: 3.614 MB / 0.5837 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00378/0.4298, allocations: 1.826 MB / 0.5855 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/0.4326, allocations: 1.214 MB / 0.5867 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003489/0.4361, allocations: 1.888 MB / 0.5885 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.4372, allocations: 236 kB / 0.5888 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/0.4401, allocations: 0.9712 MB / 0.5897 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00232/0.4424, allocations: 1.616 MB / 0.5913 GB, free: 4.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003522/0.446, allocations: 1.878 MB / 0.5931 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009096/0.4551, allocations: 6.216 MB / 0.5992 GB, free: 12.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.4551, allocations: 4 kB / 0.5992 GB, free: 12.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4551, allocations: 0 / 0.5992 GB, free: 12.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002322/0.4553, allocations: 0 / 0.5992 GB, free: 12.82 MB / 446.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.01005/0.4654, allocations: 4.178 MB / 0.6033 GB, free: 8.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.4654, allocations: 8.031 kB / 0.6033 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001789/0.4672, allocations: 0.7044 MB / 0.604 GB, free: 7.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.4782, allocations: 3.114 MB / 0.607 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005192/0.4834, allocations: 2.035 MB / 0.609 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/0.4836, allocations: 189 kB / 0.6092 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/0.485, allocations: 255.7 kB / 0.6094 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02157/0.5066, allocations: 10.48 MB / 0.6197 GB, free: 7.316 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/0.5067, allocations: 27.81 kB / 0.6197 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001058/0.5078, allocations: 119.8 kB / 0.6198 GB, free: 7.172 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004817/0.5126, allocations: 2.553 MB / 0.6223 GB, free: 4.617 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02158/0.5342, allocations: 9.919 MB / 0.632 GB, free: 10.69 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06012/0.5943, allocations: 34.2 MB / 0.6654 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.6045, allocations: 4.06 MB / 0.6693 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003561/0.6081, allocations: 2.115 MB / 0.6714 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/0.6095, allocations: 0.5556 MB / 0.6719 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.34e-05/0.6096, allocations: 56.5 kB / 0.672 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 7.324e-06/0.6096, allocations: 0 / 0.672 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03951/0.6491, allocations: 13.89 MB / 0.6856 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.6492, allocations: 73.39 kB / 0.6856 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00437/0.6535, allocations: 2.64 MB / 0.6882 GB, free: 188 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003684/0.6539, allocations: 53.69 kB / 0.6883 GB, free: 128 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002293/0.6562, allocations: 2.745 MB / 0.691 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001265/0.6575, allocations: 0.8835 MB / 0.6918 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002331/0.6598, allocations: 1.041 MB / 0.6928 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6599, allocations: 309.1 kB / 0.6931 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003855/0.6638, allocations: 2.2 MB / 0.6953 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006917/0.6707, allocations: 5.059 MB / 0.7002 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/0.682, allocations: 7.961 MB / 0.708 GB, free: 9.059 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/0.6821, allocations: 31.94 kB / 0.708 GB, free: 9.027 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01653/0.6986, allocations: 7.873 MB / 0.7157 GB, free: 1.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.6988, allocations: 48 kB / 0.7158 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001898/0.699, allocations: 100 kB / 0.7158 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/0.7016, allocations: 0.797 MB / 0.7166 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004599/0.7062, allocations: 1.181 MB / 0.7178 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007038/0.7132, allocations: 4.408 MB / 0.7221 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003619/0.7169, allocations: 295.8 kB / 0.7224 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/0.7179, allocations: 296 kB / 0.7226 GB, free: 9.926 MB / 0.5606 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.004587/0.7225, allocations: 2.016 MB / 0.7246 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007818/0.7233, allocations: 274.1 kB / 0.7249 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.7339, allocations: 4.717 MB / 0.7295 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/0.734, allocations: 51.98 kB / 0.7295 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/0.734, allocations: 3.938 kB / 0.7295 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.025e-05/0.7341, allocations: 7.969 kB / 0.7295 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2923/1.026, allocations: 10.47 MB / 0.7398 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.378e-05/1.026, allocations: 10.34 kB / 0.7398 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/1.028, allocations: 367.1 kB / 0.7401 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/1.03, allocations: 0.652 MB / 0.7408 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004453/1.03, allocations: 49.34 kB / 0.7408 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004273/1.035, allocations: 3.801 MB / 0.7445 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.035, allocations: 15.56 kB / 0.7445 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/1.045, allocations: 7.143 MB / 0.7515 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007528/1.046, allocations: 246 kB / 0.7518 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008175/1.047, allocations: 40 kB / 0.7518 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/1.048, allocations: 141.7 kB / 0.7519 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006116/1.049, allocations: 141 kB / 0.7521 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003414/1.049, allocations: 67.64 kB / 0.7521 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002882/1.052, allocations: 1.617 MB / 0.7537 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/1.052, allocations: 288 / 0.7537 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005243/1.057, allocations: 0.9056 MB / 0.7546 GB, free: 144.4 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.01136/1.069, allocations: 7.805 MB / 0.7622 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008214/1.077, allocations: 5.14 MB / 0.7672 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.077, allocations: 0 / 0.7672 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00311/1.08, allocations: 1.873 MB / 0.7691 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/1.083, allocations: 370.3 kB / 0.7694 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05792/1.141, allocations: 39.77 MB / 0.8082 GB, free: 85.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004682/1.146, allocations: 3.179 MB / 0.8114 GB, free: 82.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00416/1.15, allocations: 1.957 MB / 0.8133 GB, free: 80.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002533/1.153, allocations: 1.714 MB / 0.8149 GB, free: 79.11 MB / 0.5606 GB Notification: Performance of SimCode: time 1.483e-06/1.153, allocations: 0 / 0.8149 GB, free: 79.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/1.257, allocations: 59.18 MB / 0.8727 GB, free: 20.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.89/25.15, allocations: 13.17 kB / 0.8727 GB, free: 20.29 MB / 0.5606 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 28.35183157795109]