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.001718/0.001718, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001548/0.001548, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.499/1.499, allocations: 230.6 MB / 254.1 MB, free: 15.12 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.2401/0.2401, allocations: 44.91 MB / 355.1 MB, free: 12.33 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.001983/0.001983, allocations: 63.89 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1211, allocations: 65.41 MB / 0.5518 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01402/0.1351, allocations: 12.34 MB / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008381/0.1435, allocations: 3.964 MB / 0.5677 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.1453, allocations: 67.75 kB / 0.5677 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003026/0.1484, allocations: 1.335 MB / 0.569 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.1527, allocations: 1.767 MB / 0.5708 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.154, allocations: 491 kB / 0.5712 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005234/0.1592, allocations: 3.61 MB / 0.5748 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/0.162, allocations: 1.771 MB / 0.5765 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.1641, allocations: 1.218 MB / 0.5777 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.167, allocations: 1.888 MB / 0.5795 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007864/0.1678, allocations: 236 kB / 0.5798 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.17, allocations: 0.9672 MB / 0.5807 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001942/0.1719, allocations: 1.616 MB / 0.5823 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002685/0.1746, allocations: 1.878 MB / 0.5841 GB, free: 8.855 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008328/0.183, allocations: 6.204 MB / 0.5902 GB, free: 2.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.183, allocations: 0 / 0.5902 GB, free: 2.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.183, allocations: 4 kB / 0.5902 GB, free: 2.621 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002019/0.1832, allocations: 0 / 0.5902 GB, free: 2.621 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.2632/0.4464, allocations: 4.251 MB / 0.5943 GB, free: 36.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.65e-05/0.4464, allocations: 10.03 kB / 0.5943 GB, free: 36.76 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002117/0.4486, allocations: 0.7072 MB / 0.595 GB, free: 36.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.4608, allocations: 3.112 MB / 0.5981 GB, free: 36.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005057/0.4659, allocations: 2.1 MB / 0.6001 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.4661, allocations: 187.2 kB / 0.6003 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/0.4671, allocations: 251.4 kB / 0.6005 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01912/0.4862, allocations: 10.49 MB / 0.6108 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.4863, allocations: 26.98 kB / 0.6108 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004404/0.4868, allocations: 119.6 kB / 0.6109 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004281/0.491, allocations: 2.553 MB / 0.6134 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01739/0.5084, allocations: 9.926 MB / 0.6231 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05123/0.5597, allocations: 34.32 MB / 0.6566 GB, free: 3.453 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/0.5709, allocations: 4.966 MB / 0.6615 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003677/0.5746, allocations: 2.119 MB / 0.6635 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002058/0.5767, allocations: 1.872 MB / 0.6654 GB, free: 9.934 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.234e-05/0.5767, allocations: 52.56 kB / 0.6654 GB, free: 9.871 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 6.993e-06/0.5767, allocations: 0 / 0.6654 GB, free: 9.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03845/0.6152, allocations: 14.06 MB / 0.6791 GB, free: 11.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/0.6153, allocations: 69.41 kB / 0.6792 GB, free: 11.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005302/0.6206, allocations: 2.644 MB / 0.6818 GB, free: 9.059 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004845/0.621, allocations: 57.7 kB / 0.6818 GB, free: 8.996 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002542/0.6236, allocations: 2.745 MB / 0.6845 GB, free: 6.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00152/0.6251, allocations: 0.8835 MB / 0.6854 GB, free: 5.336 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002841/0.6279, allocations: 1.045 MB / 0.6864 GB, free: 4.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6281, allocations: 307.6 kB / 0.6867 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004024/0.6321, allocations: 2.196 MB / 0.6888 GB, free: 1.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007497/0.6396, allocations: 5.055 MB / 0.6938 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/0.6517, allocations: 7.961 MB / 0.7016 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001249/0.6518, allocations: 28 kB / 0.7016 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.0176/0.6694, allocations: 7.869 MB / 0.7093 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.6696, allocations: 53.86 kB / 0.7093 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002127/0.6698, allocations: 100 kB / 0.7094 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/0.6724, allocations: 0.7928 MB / 0.7102 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004489/0.6769, allocations: 1.174 MB / 0.7113 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006757/0.6837, allocations: 4.524 MB / 0.7158 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/0.6873, allocations: 302 kB / 0.716 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/0.6883, allocations: 300 kB / 0.7163 GB, free: 2.684 MB / 0.5137 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.004387/0.6927, allocations: 2.016 MB / 0.7183 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008457/0.6936, allocations: 274.1 kB / 0.7186 GB, free: 396 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009589/0.7032, allocations: 4.717 MB / 0.7232 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-05/0.7032, allocations: 47.98 kB / 0.7232 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/0.7033, allocations: 0 / 0.7232 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.197e-05/0.7033, allocations: 7.969 kB / 0.7232 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02221/0.7255, allocations: 10.51 MB / 0.7335 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.072e-05/0.7255, allocations: 4 kB / 0.7335 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/0.7273, allocations: 371.5 kB / 0.7338 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002207/0.7295, allocations: 0.6483 MB / 0.7345 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003865/0.7299, allocations: 47.98 kB / 0.7345 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005706/0.7356, allocations: 3.91 MB / 0.7383 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.7356, allocations: 8 kB / 0.7383 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/0.7486, allocations: 7.149 MB / 0.7453 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008826/0.7494, allocations: 327.1 kB / 0.7456 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008087/0.7502, allocations: 40 kB / 0.7457 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/0.7521, allocations: 135.8 kB / 0.7458 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006424/0.7528, allocations: 133 kB / 0.7459 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003689/0.7531, allocations: 67.98 kB / 0.746 GB, free: 3.816 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003509/0.7566, allocations: 1.619 MB / 0.7476 GB, free: 2.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.7566, allocations: 7.938 kB / 0.7476 GB, free: 2.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005796/0.7624, allocations: 0.9062 MB / 0.7485 GB, free: 1.273 MB / 0.545 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.01481/0.7772, allocations: 7.8 MB / 0.7561 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009772/0.787, allocations: 5.141 MB / 0.7611 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.787, allocations: 0 / 0.7611 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00347/0.7905, allocations: 1.879 MB / 0.7629 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.7934, allocations: 364.6 kB / 0.7633 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07311/0.8665, allocations: 39.67 MB / 0.802 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005998/0.8725, allocations: 3.167 MB / 0.8051 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005154/0.8777, allocations: 1.953 MB / 0.807 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003597/0.8813, allocations: 1.714 MB / 0.8087 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of SimCode: time 2.024e-06/0.8813, allocations: 0 / 0.8087 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3894/1.271, allocations: 54.83 MB / 0.8622 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.53/22.8, allocations: 9.703 kB / 0.8623 GB, free: 222.6 MB / 0.6387 GB " [Timeout remaining time 637] (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: 25.997766095679253]