Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001775/0.001775, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001945/0.001945, allocations: 209.9 kB / 23.73 MB, free: 4.41 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.572/1.572, 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.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.2294/0.2294, allocations: 44.93 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.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",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.002006/0.002006, allocations: 67.88 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3289, allocations: 65.47 MB / 0.557 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0142/0.3431, allocations: 11.78 MB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009808/0.3529, allocations: 3.986 MB / 0.5724 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003271/0.3562, allocations: 83.69 kB / 0.5725 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004127/0.3603, allocations: 1.783 MB / 0.5742 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004937/0.3653, allocations: 1.872 MB / 0.576 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.3667, allocations: 0.542 MB / 0.5765 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00504/0.3717, allocations: 3.905 MB / 0.5804 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00291/0.3746, allocations: 2.27 MB / 0.5826 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.3767, allocations: 1.39 MB / 0.5839 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.3795, allocations: 2.036 MB / 0.5859 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005755/0.38, allocations: 292 kB / 0.5862 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.3817, allocations: 0.8893 MB / 0.5871 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.3833, allocations: 1.788 MB / 0.5888 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.385, allocations: 1.517 MB / 0.5903 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007373/0.3924, allocations: 6.944 MB / 0.5971 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.3924, allocations: 7.938 kB / 0.5971 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3924, allocations: 0 / 0.5971 GB, free: 14.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000155/0.3925, allocations: 0 / 0.5971 GB, free: 14.41 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.008364/0.4009, allocations: 4.577 MB / 0.6016 GB, free: 9.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.401, allocations: 8.031 kB / 0.6016 GB, free: 9.762 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001064/0.402, allocations: 0.7697 MB / 0.6023 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.4125, allocations: 3.153 MB / 0.6054 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006273/0.4188, allocations: 2.306 MB / 0.6076 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/0.419, allocations: 217.6 kB / 0.6079 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/0.42, allocations: 291.8 kB / 0.6081 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01765/0.4377, allocations: 11.11 MB / 0.619 GB, free: 7.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.462e-05/0.4378, allocations: 27.77 kB / 0.619 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003919/0.4382, allocations: 131.8 kB / 0.6191 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004277/0.4425, allocations: 2.62 MB / 0.6217 GB, free: 4.617 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01996/0.4624, allocations: 10.35 MB / 0.6318 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05904/0.5215, allocations: 34.64 MB / 0.6656 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008767/0.5302, allocations: 3.477 MB / 0.669 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0034/0.5336, allocations: 2.218 MB / 0.6712 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009751/0.5346, allocations: 449.2 kB / 0.6716 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.57e-05/0.5347, allocations: 52.56 kB / 0.6717 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.49e-06/0.5347, allocations: 3.938 kB / 0.6717 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04273/0.5774, allocations: 17.49 MB / 0.6887 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.5775, allocations: 73.41 kB / 0.6888 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004822/0.5823, allocations: 2.913 MB / 0.6917 GB, free: 12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004455/0.5827, allocations: 61.61 kB / 0.6917 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002348/0.5851, allocations: 2.882 MB / 0.6945 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001331/0.5864, allocations: 0.961 MB / 0.6955 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002168/0.5886, allocations: 1.073 MB / 0.6965 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5887, allocations: 309.1 kB / 0.6968 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003659/0.5924, allocations: 2.302 MB / 0.6991 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006147/0.5985, allocations: 5.214 MB / 0.7042 GB, free: 13.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.6093, allocations: 8.257 MB / 0.7122 GB, free: 4.047 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000124/0.6094, allocations: 31.98 kB / 0.7122 GB, free: 4.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01588/0.6253, allocations: 8.271 MB / 0.7203 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.6254, allocations: 51.98 kB / 0.7204 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001992/0.6256, allocations: 100 kB / 0.7205 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002871/0.6285, allocations: 0.9449 MB / 0.7214 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00422/0.6327, allocations: 1.216 MB / 0.7226 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007109/0.6398, allocations: 5.002 MB / 0.7275 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/0.6433, allocations: 303.7 kB / 0.7278 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007444/0.6441, allocations: 308 kB / 0.728 GB, free: 3.707 MB / 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.00368/0.6477, allocations: 2.143 MB / 0.7301 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000573/0.6483, allocations: 298 kB / 0.7304 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2793/0.9276, allocations: 5.118 MB / 0.7354 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.866e-05/0.9276, allocations: 50.02 kB / 0.7355 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.9277, allocations: 3.906 kB / 0.7355 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.9277, allocations: 9.047 kB / 0.7355 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.9441, allocations: 11.41 MB / 0.7466 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.9441, allocations: 7.844 kB / 0.7466 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.9455, allocations: 401.7 kB / 0.747 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/0.9476, allocations: 0.7689 MB / 0.7478 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/0.9477, allocations: 51.8 kB / 0.7478 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004313/0.9521, allocations: 4.255 MB / 0.752 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/0.9521, allocations: 19.88 kB / 0.752 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008595/0.9607, allocations: 7.623 MB / 0.7594 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008508/0.9615, allocations: 272.5 kB / 0.7597 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004608/0.962, allocations: 49.27 kB / 0.7597 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.9632, allocations: 147.8 kB / 0.7599 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.9635, allocations: 160.8 kB / 0.76 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.9637, allocations: 71.98 kB / 0.7601 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00199/0.9656, allocations: 1.689 MB / 0.7618 GB, free: 139 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9656, allocations: 0 / 0.7618 GB, free: 139 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003767/0.9694, allocations: 0.9634 MB / 0.7627 GB, free: 138 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.008858/0.9783, allocations: 8.287 MB / 0.7708 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006795/0.9851, allocations: 5.423 MB / 0.7761 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.332e-05/0.9851, allocations: 4 kB / 0.7761 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002247/0.9873, allocations: 2.005 MB / 0.778 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.9895, allocations: 398.7 kB / 0.7784 GB, free: 122 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05101/1.04, allocations: 42.37 MB / 0.8198 GB, free: 75.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003094/1.044, allocations: 2.832 MB / 0.8226 GB, free: 72.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003388/1.047, allocations: 1.982 MB / 0.8245 GB, free: 70.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002003/1.049, allocations: 1.835 MB / 0.8263 GB, free: 68.62 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/1.049, allocations: 0 / 0.8263 GB, free: 68.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09484/1.144, allocations: 60.04 MB / 0.8849 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/16.41, allocations: 0 / 0.8849 GB, free: 9.219 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.6822855360806]