Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.001778/0.001778, 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.002599/0.002599, allocations: 211.3 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2361/0.2361, allocations: 46.96 MB / 360.9 MB, free: 4.043 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.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 68.12 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3715, allocations: 66.03 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01564/0.3872, allocations: 11.78 MB / 0.5721 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009535/0.3967, allocations: 3.993 MB / 0.576 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.399, allocations: 79.69 kB / 0.5761 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004026/0.403, allocations: 1.775 MB / 0.5778 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005045/0.4081, allocations: 1.884 MB / 0.5796 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.4097, allocations: 0.542 MB / 0.5802 GB, free: 108 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005558/0.4152, allocations: 3.891 MB / 0.584 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003436/0.4187, allocations: 2.274 MB / 0.5862 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/0.4212, allocations: 1.39 MB / 0.5876 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003432/0.4247, allocations: 2.04 MB / 0.5895 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008901/0.4256, allocations: 292 kB / 0.5898 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.4277, allocations: 0.8932 MB / 0.5907 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002142/0.4299, allocations: 1.788 MB / 0.5924 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002602/0.4325, allocations: 1.513 MB / 0.5939 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009702/0.4422, allocations: 6.94 MB / 0.6007 GB, free: 10.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4422, allocations: 0 / 0.6007 GB, free: 10.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.759e-06/0.4422, allocations: 4 kB / 0.6007 GB, free: 10.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002449/0.4424, allocations: 0 / 0.6007 GB, free: 10.97 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01213/0.4546, allocations: 4.585 MB / 0.6052 GB, free: 6.324 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.4546, allocations: 8.031 kB / 0.6052 GB, free: 6.316 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001879/0.4565, allocations: 0.7736 MB / 0.6059 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/0.4682, allocations: 3.153 MB / 0.609 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007154/0.4754, allocations: 2.298 MB / 0.6113 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/0.4756, allocations: 221.6 kB / 0.6115 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/0.4771, allocations: 287.8 kB / 0.6118 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02391/0.5011, allocations: 11.11 MB / 0.6226 GB, free: 3.961 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/0.5012, allocations: 35.69 kB / 0.6226 GB, free: 3.926 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005815/0.5018, allocations: 139.8 kB / 0.6228 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005041/0.5068, allocations: 2.613 MB / 0.6253 GB, free: 1.172 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02422/0.531, allocations: 10.34 MB / 0.6354 GB, free: 6.809 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06335/0.5944, allocations: 34.65 MB / 0.6693 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009593/0.604, allocations: 3.473 MB / 0.6726 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003785/0.6078, allocations: 2.218 MB / 0.6748 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000996/0.6087, allocations: 449.2 kB / 0.6752 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.6088, allocations: 52.56 kB / 0.6753 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.911e-06/0.6088, allocations: 0 / 0.6753 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04616/0.655, allocations: 17.48 MB / 0.6924 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/0.655, allocations: 73.41 kB / 0.6924 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004725/0.6598, allocations: 2.921 MB / 0.6953 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004876/0.6603, allocations: 61.7 kB / 0.6953 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002769/0.663, allocations: 2.878 MB / 0.6982 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/0.6645, allocations: 0.9649 MB / 0.6991 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001793/0.6663, allocations: 1.069 MB / 0.7001 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6664, allocations: 305.1 kB / 0.7004 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003969/0.6704, allocations: 2.306 MB / 0.7027 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006993/0.6774, allocations: 5.214 MB / 0.7078 GB, free: 10.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/0.6895, allocations: 8.257 MB / 0.7158 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001498/0.6897, allocations: 28 kB / 0.7159 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01835/0.708, allocations: 8.275 MB / 0.7239 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.493e-05/0.7081, allocations: 48 kB / 0.724 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001622/0.7083, allocations: 100.8 kB / 0.7241 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003022/0.7113, allocations: 0.9449 MB / 0.725 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005044/0.7164, allocations: 1.22 MB / 0.7262 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00808/0.7244, allocations: 5.005 MB / 0.7311 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004289/0.7287, allocations: 299.8 kB / 0.7314 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/0.7298, allocations: 308 kB / 0.7317 GB, free: 272 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (653): * Single equations (assignments): 646 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.3393/1.069, allocations: 2.148 MB / 0.7338 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008473/1.07, allocations: 292.8 kB / 0.734 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008409/1.078, allocations: 5.122 MB / 0.739 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-05/1.078, allocations: 46.88 kB / 0.7391 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/1.078, allocations: 4.906 kB / 0.7391 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/1.078, allocations: 7.828 kB / 0.7391 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/1.096, allocations: 11.42 MB / 0.7503 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.096, allocations: 8 kB / 0.7503 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/1.097, allocations: 399.2 kB / 0.7506 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002141/1.099, allocations: 0.7712 MB / 0.7514 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/1.1, allocations: 55.38 kB / 0.7515 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/1.104, allocations: 4.24 MB / 0.7556 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.104, allocations: 22.78 kB / 0.7556 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.115, allocations: 7.627 MB / 0.7631 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/1.116, allocations: 262 kB / 0.7633 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006151/1.117, allocations: 55.92 kB / 0.7634 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.118, allocations: 143.8 kB / 0.7635 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004897/1.119, allocations: 168.3 kB / 0.7637 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002351/1.119, allocations: 68 kB / 0.7637 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002745/1.122, allocations: 1.689 MB / 0.7654 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.122, allocations: 3.969 kB / 0.7654 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00451/1.126, allocations: 0.9614 MB / 0.7663 GB, free: 131.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * 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 {(2,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.009441/1.136, allocations: 8.286 MB / 0.7744 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007402/1.143, allocations: 5.425 MB / 0.7797 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.05e-05/1.143, allocations: 4 kB / 0.7797 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/1.146, allocations: 2.001 MB / 0.7817 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/1.148, allocations: 399.7 kB / 0.782 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05273/1.201, allocations: 42.37 MB / 0.8234 GB, free: 68.33 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003131/1.204, allocations: 2.832 MB / 0.8262 GB, free: 65.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00372/1.208, allocations: 1.978 MB / 0.8281 GB, free: 63.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/1.21, allocations: 1.831 MB / 0.8299 GB, free: 61.64 MB / 0.5606 GB Notification: Performance of SimCode: time 1.323e-06/1.21, allocations: 8 kB / 0.8299 GB, free: 61.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/1.313, allocations: 60.01 MB / 0.8885 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.8, allocations: 4.062 kB / 0.8885 GB, free: 2.246 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_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_1_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.989149091299623]